gdk-pixbuf: enable gir
This commit is contained in:
parent
31f816eb84
commit
c824a3abcc
1 changed files with 9 additions and 5 deletions
|
@ -1,12 +1,12 @@
|
|||
# Template file for 'gdk-pixbuf'
|
||||
pkgname=gdk-pixbuf
|
||||
version=2.38.0
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=meson
|
||||
build_helper="gir"
|
||||
configure_args="-Dgir=$(vopt_if gir true false) -Djasper=false
|
||||
-Dpng=true -Dx11=true -Dinstalled_tests=false"
|
||||
hostmakedepends="gettext-devel glib-devel pkg-config
|
||||
$(vopt_if gir 'gobject-introspection') libxslt docbook-xsl"
|
||||
hostmakedepends="gettext-devel glib-devel pkg-config libxslt docbook-xsl"
|
||||
makedepends="libX11-devel libglib-devel libpng-devel tiff-devel
|
||||
shared-mime-info"
|
||||
short_desc="Image loading library for The GTK+ toolkit (v2)"
|
||||
|
@ -22,10 +22,14 @@ build_options="gir"
|
|||
# Disable gir for cross builds.
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
hostmakedepends+=" gdk-pixbuf-devel"
|
||||
else
|
||||
build_options_default="gir"
|
||||
fi
|
||||
|
||||
case "$XBPS_TARGET_MACHINE" in
|
||||
x86_64-musl) build_options_default+=" gir" ;;
|
||||
*-musl) ;;
|
||||
*) build_options_default+=" gir" ;;
|
||||
esac
|
||||
|
||||
pre_configure() {
|
||||
if [ "$CROSS_BUILD" ]; then
|
||||
touch gdk-pixbuf/loaders.cache
|
||||
|
|
Loading…
Reference in a new issue