# Description: a cross-distribution effort for enhancing the way we interact with the software repositories provided by (Linux) distributions by standardizing software component metadata # URL: https://www.freedesktop.org/wiki/Distributions/AppStream/ # Maintainer: Tim Biermann, tbier at posteo dot de # Depends on: docbook-xsl librsvg libsoup libxmlb libyaml vala # Optional: qt5 name=appstream version=0.15.5 release=1 source=(https://www.freedesktop.org/software/appstream/releases/AppStream-$version.tar.xz) build() { prt-get isinst qt5 && PKGMK_APPSTREAM+=' -D qt=true' meson setup AppStream-$version build $PKGMK_APPSTREAM \ --prefix=/usr \ --libexecdir=lib/$name \ --buildtype=plain \ --wrap-mode nodownload \ -D b_lto=true \ -D b_pie=true \ -D vapi=true \ -D compose=true \ -D docs=false \ -D apidocs=false \ -D install-docs=false meson compile -C build DESTDIR=$PKG meson install -C build rm -r $PKG/usr/share/{locale,installed-tests} }