[arch-commits] Commit in gtkmm-4.0/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu May 27 17:41:31 UTC 2021
Date: Thursday, May 27, 2021 @ 17:41:31
Author: heftig
Revision: 416595
archrelease: copy trunk to extra-x86_64
Added:
gtkmm-4.0/repos/extra-x86_64/PKGBUILD
(from rev 416593, gtkmm-4.0/trunk/PKGBUILD)
Deleted:
gtkmm-4.0/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 110 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 57 insertions(+), 53 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-27 17:41:30 UTC (rev 416594)
+++ PKGBUILD 2021-05-27 17:41:31 UTC (rev 416595)
@@ -1,53 +0,0 @@
-# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
-# Contributor: Ionut Biru <ibiru at archlinux.org>
-
-pkgbase=gtkmm-4.0
-pkgname=(gtkmm-4.0 gtkmm-4.0-docs)
-pkgver=4.2.0
-pkgrel=1
-pkgdesc="C++ bindings for GTK 4"
-url="https://www.gtkmm.org/"
-arch=(x86_64)
-license=(LGPL)
-depends=(gtk4 pangomm-2.48 atkmm-2.36)
-makedepends=(git mm-common glibmm-2.68-docs cairomm-1.16-docs pangomm-2.48-docs
- atkmm-2.36-docs meson)
-checkdepends=(xorg-server-xvfb)
-options=(!emptydirs)
-_commit=e0e280baf48b9899b1870a3308ea8fb31c83ebb5 # tags/4.2.0^0
-source=("git+https://gitlab.gnome.org/GNOME/gtkmm.git#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
- cd gtkmm
- git describe --tags | sed 's/-/+/g'
-}
-
-prepare() {
- cd gtkmm
-}
-
-build() {
- arch-meson gtkmm build -D maintainer-mode=true
- meson compile -C build
-}
-
-check() {
- xvfb-run -s '-nolisten local' \
- meson test -C build --print-errorlogs
-}
-
-package_gtkmm-4.0() {
- meson install -C build --destdir "$pkgdir"
-
- mkdir -p docs/usr/share
- mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
-}
-
-package_gtkmm-4.0-docs() {
- pkgdesc+=" (documentation)"
- depends=()
- options=(!strip)
-
- mv docs/* "$pkgdir"
-}
Copied: gtkmm-4.0/repos/extra-x86_64/PKGBUILD (from rev 416593, gtkmm-4.0/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-27 17:41:31 UTC (rev 416595)
@@ -0,0 +1,57 @@
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgbase=gtkmm-4.0
+pkgname=(gtkmm-4.0 gtkmm-4.0-docs)
+pkgver=4.2.0
+pkgrel=2
+pkgdesc="C++ bindings for GTK 4"
+url="https://www.gtkmm.org/"
+arch=(x86_64)
+license=(LGPL)
+depends=(gtk4 pangomm-2.48)
+makedepends=(git meson mm-common glibmm-2.68-docs cairomm-1.16-docs
+ pangomm-2.48-docs meson)
+checkdepends=(xorg-server-xvfb)
+options=(!emptydirs)
+_commit=e0e280baf48b9899b1870a3308ea8fb31c83ebb5 # tags/4.2.0^0
+source=("git+https://gitlab.gnome.org/GNOME/gtkmm.git#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd gtkmm
+ git describe --tags | sed 's/-/+/g'
+}
+
+prepare() {
+ cd gtkmm
+}
+
+build() {
+ arch-meson gtkmm build -D maintainer-mode=true
+ meson compile -C build
+}
+
+check() {
+ xvfb-run -s '-nolisten local' meson test -C build --print-errorlogs
+}
+
+package_gtkmm-4.0() {
+ depends+=(libsigc-3.0.so libglibmm-2.68.so libcairomm-1.16.so
+ libpangomm-2.48.so)
+ provides=(libgtkmm-4.0.so)
+
+ meson install -C build --destdir "$pkgdir"
+
+ # Split -docs
+ mkdir -p docs/usr/share
+ mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
+}
+
+package_gtkmm-4.0-docs() {
+ pkgdesc+=" (documentation)"
+ depends=()
+ options=(!strip)
+
+ mv -t "$pkgdir" docs/*
+}
More information about the arch-commits
mailing list