[crux-commits] ports/contrib (refs/remotes/origin/3.6): appstream-glib: removed b_ndebug=true

crux at crux.nu crux at crux.nu
Sat Apr 10 19:06:01 UTC 2021


commit 6e38e6023880ffd18912ca67c3b5fa542e669ec9
Author: Tim Biermann <tbier at posteo.de>
Date:   Sat Jan 23 18:15:40 2021 +0000

    appstream-glib: removed b_ndebug=true

diff --git a/appstream-glib/.signature b/appstream-glib/.signature
index 74d9c56dd..675386d16 100644
--- a/appstream-glib/.signature
+++ b/appstream-glib/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3z2/rdup4WVvgyLFZ58ALUU0RN714RRQwwXuraMJ1UDrHThYl3Ut0uP0QTXNXuF4+0U5UfHJnPhAni8xJeE3rgc=
-SHA256 (Pkgfile) = 1423708c125ceedd62a3d1f3fcfc25b446c5cf5227140d3a94b58fe8538f046b
+RWSagIOpLGJF3+ggVBvKzq5VhjDRGRHhycPaRfs52TtyH2Z/NCQmD/3XBy2FrKoWpAbpf22vHUbnQpPbvA0nM4vZyC5rCVEmewY=
+SHA256 (Pkgfile) = cba23c480f26b8cd2a1bddfa75ab7cd3b6a736952b163eadcf2fa65334e7ed03
 SHA256 (.footprint) = 7ff0e10838a5c518492d14ef9e24a24ba1be196a3de208f547d798b1e1fc76f9
 SHA256 (appstream-glib-0.7.18.tar.xz) = ca1ed22e3bde3912cb903aaa7de085d55771da454f1c0573fd9608e1de9c4002
diff --git a/appstream-glib/Pkgfile b/appstream-glib/Pkgfile
index 0b08c12fb..e7893ff71 100644
--- a/appstream-glib/Pkgfile
+++ b/appstream-glib/Pkgfile
@@ -10,13 +10,13 @@ release=1
 source=(https://people.freedesktop.org/~hughsient/appstream-glib/releases/$name-$version.tar.xz)
 
 build() {
-  [[ -f /usr/lib/libstemmer.so ]] && PKGMK_APPSTREAM_GLIB=' -Dstemmer=true' || PKGMK_APPSTREAM_GLIB=' -Dstemmer=false'
+  [[ -f /usr/lib/libstemmer.so ]] && PKGMK_APPSTREAM_GLIB+=' -D stemmer=true' || PKGMK_APPSTREAM_GLIB+=' -D stemmer=false'
+  [[ -e /usr/share/xml/docbook ]] && PKGMK_APPSTREAM_GLIB+=' -D man=true' || PKGMK_APPSTREAM_GLIB+=' -D man=false'
   meson setup $name-$version build $PKGMK_APPSTREAM_GLIB \
-    -Dprefix=/usr \
-    -Dbuildtype=plain \
-    -Db_ndebug=true \
-    -Drpm=false \
-    -Dgtk-doc=false
+    -D prefix=/usr \
+    -D buildtype=plain \
+    -D rpm=false \
+    -D gtk-doc=false
   meson compile -C build
   DESTDIR=$PKG meson install -C build
   rm -fr $PKG/usr/share/locale


More information about the crux-commits mailing list