pango: enable gir

This commit is contained in:
maxice8 2019-02-03 00:37:15 -02:00 committed by maxice8
parent c824a3abcc
commit d42494625c

View file

@ -1,11 +1,11 @@
# Template file for 'pango'
pkgname=pango
version=1.42.4
revision=1
configure_args="$(vopt_enable gir introspection) --disable-gtk-doc"
revision=2
build_style=gnu-configure # switch to meson when possible
hostmakedepends="glib-devel help2man pkg-config
$(vopt_if gir 'gobject-introspection')"
build_helper="gir"
configure_args="$(vopt_enable gir introspection) --disable-gtk-doc"
hostmakedepends="glib-devel help2man pkg-config"
makedepends="fribidi-devel harfbuzz-devel libXft-devel libthai-devel"
short_desc="Library for layout and rendering of text"
maintainer="Juan RP <xtraeme@voidlinux.org>"
@ -16,10 +16,12 @@ checksum=1d2b74cd63e8bd41961f2f8d952355aa0f9be6002b52c8aa7699d9f5da597c9d
# Package build options
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
case "$XBPS_TARGET_MACHINE" in
x86_64-musl) build_options_default+=" gir" ;;
*-musl) ;;
*) build_options_default+=" gir" ;;
esac
post_install() {
rm -rf -- "${DESTDIR}"/usr/share/installed-tests
@ -52,6 +54,6 @@ pango-devel_package() {
vmove "usr/share/gir-*"
fi
vmove usr/share/gtk-doc
vmove usr/lib/*.so
vmove "usr/lib/*.so"
}
}