appstream-glib: moved docbook-xsl and snowball to optional dependencies

This commit is contained in:
Tim Biermann 2020-09-08 11:57:11 +00:00
parent 86ee2b9e6e
commit 32ef8b66ca
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 9 additions and 11 deletions

View File

@ -69,8 +69,3 @@ drwxr-xr-x root/root usr/share/installed-tests/
drwxr-xr-x root/root usr/share/installed-tests/appstream-glib/
-rw-r--r-- root/root usr/share/installed-tests/appstream-glib/appdata-validate.test
-rw-r--r-- root/root usr/share/installed-tests/appstream-glib/destdir-check.test
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/appstream-builder.1.gz
-rw-r--r-- root/root usr/share/man/man1/appstream-compose.1.gz
-rw-r--r-- root/root usr/share/man/man1/appstream-util.1.gz

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3/d20LP2dwdPX66ISoSwuguj+oy3v+U0sQNUfwfnB9g0E6gargOa9IYbUbnVMXSfXXTEMcmcTyYV1rT8CtaGxAQ=
SHA256 (Pkgfile) = e12585cafda76d65be49cbb7f56bb9a703f515f38c3113a12729c23d5096327e
SHA256 (.footprint) = 64c339a05fe9386d2291d0d81e1d89086946d8375b1acc42915cfc33d84ef5fd
RWSagIOpLGJF35lDi85tbRzAPuojqoLviiexuv0jzDiu/621p9igeT6xXEH+phP4LmhY0B1MSLUR0qpn5NLOHzgGRBlKDNa1bwY=
SHA256 (Pkgfile) = c38fdab02d07d7c84ed52eff4350760f5b356fd8c9d62a5e62eacb93c1474865
SHA256 (.footprint) = 7ff0e10838a5c518492d14ef9e24a24ba1be196a3de208f547d798b1e1fc76f9
SHA256 (appstream-glib-0.7.18.tar.xz) = ca1ed22e3bde3912cb903aaa7de085d55771da454f1c0573fd9608e1de9c4002

View File

@ -1,7 +1,8 @@
# 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: docbook-xsl gtk3 json-glib keyutils krb5 libsoup libyaml snowball
# Depends on: gtk3 json-glib keyutils krb5 libsoup libyaml
# Optional: docbook-xsl snowball
name=appstream-glib
version=0.7.18
@ -9,9 +10,11 @@ release=1
source=(https://people.freedesktop.org/~hughsient/appstream-glib/releases/$name-$version.tar.xz)
build() {
meson $name-$version build \
[[ -f /usr/lib/libstemmer.so ]] && PKGMK_APPSTREAM_GLIB=' -Dstemmer=true' || PKGMK_APPSTREAM_GLIB=' -Dstemmer=false'
meson $name-$version build $PKGMK_APPSTREAM_GLIB \
-Dprefix=/usr \
-Drpm=false
-Drpm=false \
-Dgtk-doc=false
ninja -C build
DESTDIR=$PKG ninja -C build install
rm -fr $PKG/usr/share/locale