From 78707547c431702363e36f7a7237b2e50eac1835 Mon Sep 17 00:00:00 2001 From: Rasmus Thomsen Date: Sun, 10 Mar 2019 15:30:30 +0100 Subject: [PATCH] evince: enable gir --- srcpkgs/evince/template | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/srcpkgs/evince/template b/srcpkgs/evince/template index 82f2c6b5ec2..a5db1fd62b9 100644 --- a/srcpkgs/evince/template +++ b/srcpkgs/evince/template @@ -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"