bamf: enable gir/vala for all architectures

This commit is contained in:
Jürgen Buchmüller 2019-04-28 03:12:28 +02:00
parent 6c862867f8
commit a14931a02f
1 changed files with 2 additions and 7 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'bamf'
pkgname=bamf
version=0.5.4
revision=3
revision=4
build_style=gnu-configure
build_helper="gir"
hostmakedepends="glib-devel gtk-doc pkg-config python-lxml libxslt-python libxml2-python
@ -17,12 +17,7 @@ checksum=5bb87a5bf46ab1fc9a229a851c0ee4f610d943716a7c83d318f6a8f50d76beb3
CFLAGS="-Wno-cpp -Wno-deprecated-declarations"
build_options="gir vala"
case "$XBPS_TARGET_MACHINE" in
i686-musl|x86_64-musl) build_options_default+=" gir vala" ;;
*-musl) ;;
*) build_options_default+=" gir vala" ;;
esac
build_options_default="gir vala"
pre_configure() {
sed -i configure -e 's;if !($PYTHON -c "import libxslt, libxml2" 2> /dev/null);if false;'