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