[arch-commits] Commit in gtkmm3/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu May 27 17:39:13 UTC 2021
Date: Thursday, May 27, 2021 @ 17:39:12
Author: heftig
Revision: 416592
3.24.5-2
Modified:
gtkmm3/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-27 17:31:37 UTC (rev 416591)
+++ PKGBUILD 2021-05-27 17:39:12 UTC (rev 416592)
@@ -4,13 +4,14 @@
pkgbase=gtkmm3
pkgname=(gtkmm3 gtkmm3-docs)
pkgver=3.24.5
-pkgrel=1
+pkgrel=2
pkgdesc="C++ bindings for GTK+ 3"
url="https://www.gtkmm.org/"
arch=(x86_64)
license=(LGPL)
depends=(gtk3 pangomm atkmm)
-makedepends=(git mm-common glibmm-docs cairomm-docs pangomm-docs atkmm-docs meson)
+makedepends=(git meson mm-common glibmm-docs cairomm-docs pangomm-docs
+ atkmm-docs)
checkdepends=(xorg-server-xvfb)
options=(!emptydirs)
_commit=46ba619fae503e361d088991f5eb8cf0b2c343fc # tags/3.24.5^0
@@ -32,15 +33,19 @@
}
check() {
- xvfb-run -s '-nolisten local' \
- meson test -C build --print-errorlogs
+ xvfb-run -s '-nolisten local' meson test -C build --print-errorlogs
}
package_gtkmm3() {
+ depends+=(libsigc-2.0.so libglibmm-2.4.so libcairomm-1.0.so libpangomm-1.4.so
+ libatkmm-1.6.so)
+ provides=(libgtkmm-3.0.so)
+
meson install -C build --destdir "$pkgdir"
+ # Split -docs
mkdir -p docs/usr/share
- mv "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
+ mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
}
package_gtkmm3-docs() {
@@ -48,5 +53,5 @@
depends=()
options=(!strip)
- mv docs/* "$pkgdir"
+ mv -t "$pkgdir" docs/*
}
More information about the arch-commits
mailing list