appstream-glib: moved krb5 to optional deps
This commit is contained in:
parent
d21cdf69fc
commit
d07366c582
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF3+ggVBvKzq5VhjDRGRHhycPaRfs52TtyH2Z/NCQmD/3XBy2FrKoWpAbpf22vHUbnQpPbvA0nM4vZyC5rCVEmewY=
|
||||
SHA256 (Pkgfile) = cba23c480f26b8cd2a1bddfa75ab7cd3b6a736952b163eadcf2fa65334e7ed03
|
||||
RWSagIOpLGJF35nUo6ZCfa/XVGbBdND2WCs5987pA/sTXo3meS6HwbAS9SOPFF8N353EwjsY4opsGCsFddFagbVBCYAYiorN1As=
|
||||
SHA256 (Pkgfile) = 56d3b9450877f66079d8d7211e2aeabc46686348d694fc3163210eda4a9dfd77
|
||||
SHA256 (.footprint) = 7ff0e10838a5c518492d14ef9e24a24ba1be196a3de208f547d798b1e1fc76f9
|
||||
SHA256 (appstream-glib-0.7.18.tar.xz) = ca1ed22e3bde3912cb903aaa7de085d55771da454f1c0573fd9608e1de9c4002
|
||||
|
@ -1,20 +1,25 @@
|
||||
# Description: Objects and methods for reading and writing AppStream metadata
|
||||
# URL: https://people.freedesktop.org/~hughsient/appstream-glib/
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: gtk3 json-glib keyutils krb5 libsoup libyaml
|
||||
# Optional: docbook-xsl snowball
|
||||
# Depends on: gtk3 json-glib keyutils libsoup libyaml
|
||||
# Optional: docbook-xsl krb5 snowball
|
||||
|
||||
name=appstream-glib
|
||||
version=0.7.18
|
||||
release=1
|
||||
release=2
|
||||
source=(https://people.freedesktop.org/~hughsient/appstream-glib/releases/$name-$version.tar.xz)
|
||||
|
||||
build() {
|
||||
[[ -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'
|
||||
prt-get isinst snowball && PKGMK_APPSTREAM_GLIB+=' -D stemmer=true' || PKGMK_APPSTREAM_GLIB+=' -D stemmer=false'
|
||||
prt-get isinst docbook-xsl && PKGMK_APPSTREAM_GLIB+=' -D man=true' || PKGMK_APPSTREAM_GLIB+=' -D man=false'
|
||||
|
||||
meson setup $name-$version build $PKGMK_APPSTREAM_GLIB \
|
||||
-D prefix=/usr \
|
||||
-D buildtype=plain \
|
||||
--wrap-mode nodownload \
|
||||
--auto-features disabled \
|
||||
-D b_lto=true \
|
||||
-D b_pie=true \
|
||||
-D rpm=false \
|
||||
-D gtk-doc=false
|
||||
meson compile -C build
|
||||
|
Loading…
Reference in New Issue
Block a user