[arch-commits] Commit in gtkmm-4.0/trunk (PKGBUILD)

Jan Steffens heftig at archlinux.org
Thu May 27 17:41:18 UTC 2021


    Date: Thursday, May 27, 2021 @ 17:41:17
  Author: heftig
Revision: 416593

4.2.0-2

Modified:
  gtkmm-4.0/trunk/PKGBUILD

----------+
 PKGBUILD |   20 ++++++++++++--------
 1 file changed, 12 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-27 17:39:12 UTC (rev 416592)
+++ PKGBUILD	2021-05-27 17:41:17 UTC (rev 416593)
@@ -4,14 +4,14 @@
 pkgbase=gtkmm-4.0
 pkgname=(gtkmm-4.0 gtkmm-4.0-docs)
 pkgver=4.2.0
-pkgrel=1
+pkgrel=2
 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)
+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
@@ -33,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_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 "$pkgdir"/usr/share/{devhelp,doc} docs/usr/share
+  mv -t docs/usr/share "$pkgdir"/usr/share/{devhelp,doc}
 }
 
 package_gtkmm-4.0-docs() {
@@ -49,5 +53,5 @@
   depends=()
   options=(!strip)
 
-  mv docs/* "$pkgdir"
+  mv -t "$pkgdir" docs/*
 }



More information about the arch-commits mailing list