evince: enable gir

This commit is contained in:
Rasmus Thomsen 2019-03-10 15:30:30 +01:00 committed by maxice8
parent 779583218d
commit 78707547c4
1 changed files with 7 additions and 4 deletions

View File

@ -1,7 +1,8 @@
# Template file for 'evince'
pkgname=evince
version=3.30.2
revision=2
revision=3
build_helper="gir"
build_style=gnu-configure
configure_args="$(vopt_enable gir introspection) --disable-schemas-compile
--enable-comics --disable-static --enable-xps --disable-t1lib
@ -21,9 +22,11 @@ distfiles="${GNOME_SITE}/${pkgname}/${version%.*}/${pkgname}-${version}.tar.xz"
checksum=a95bbdeb452c9cc910bba751e7c782ce60ffe7972c461bccbe8bbcdb8ca5f24c
build_options="gir"
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
case "$XBPS_TARGET_MACHINE" in
i686-musl|x86_64-musl) build_options_default+=" gir" ;;
*-musl) ;;
*) build_options_default+=" gir" ;;
esac
libevince_package() {
short_desc+=" - runtime libraries"