gtk+: enable gir for all architectures

Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
Jürgen Buchmüller 2019-04-28 01:25:43 +02:00
parent e46f7a69e7
commit f56403cb4f
No known key found for this signature in database
GPG key ID: DE55AD8DBEBB4EE8

View file

@ -1,7 +1,7 @@
# Template file for 'gtk+'
pkgname=gtk+
version=2.24.32
revision=2
revision=3
build_style=gnu-configure
build_helper="gir"
configure_args="--enable-man $(vopt_enable cups) --with-xinput $(vopt_enable gir introspection)"
@ -22,13 +22,7 @@ checksum=b6c8a93ddda5eabe3bfee1eb39636c9a03d2a56c7b62828b359bf197943c582e
CFLAGS="-UGDK_PIXBUF_DISABLE_DEPRECATED"
# Package build options
build_options="gir cups"
build_options_default="cups"
case "$XBPS_TARGET_MACHINE" in
i686-musl|x86_64-musl) build_options_default+=" gir" ;;
*-musl) ;;
*) build_options_default+=" gir" ;;
esac
build_options_default="gir cups"
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" automake libtool gtk-doc glib-devel gdk-pixbuf-devel gtk-update-icon-cache"