appstream-glib: removed b_ndebug=true

This commit is contained in:
Tim Biermann 2021-01-23 18:15:40 +00:00
parent e693f9c54a
commit 6e38e60238
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 8 additions and 8 deletions

View File

@ -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

View File

@ -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