glade3: enable gir

This commit is contained in:
maxice8 2019-02-04 15:05:11 -02:00 committed by maxice8
parent a8d6ee5ce0
commit ff9ff93579
1 changed files with 11 additions and 11 deletions

View File

@ -1,30 +1,30 @@
# Template file for 'glade3'
pkgname=glade3
version=3.22.1
revision=1
revision=2
wrksrc="glade-${version}"
build_style=gnu-configure
build_helper="gir"
configure_args="--disable-static $(vopt_enable gir introspection)"
hostmakedepends="glib-devel gnome-doc-utils intltool itstool pkg-config"
makedepends="gtk+3-devel python-gobject-devel
$(vopt_if gir 'gobject-introspection')"
makedepends="gtk+3-devel python-gobject-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="An User Interface Designer for GTK+3"
homepage="http://glade.gnome.org/"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
short_desc="User Interface Designer for GTK+3"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="http://glade.gnome.org/"
distfiles="${GNOME_SITE}/glade/${version%.*}/glade-${version}.tar.xz"
checksum=dff89a2ef2eaf000ff2a46979978d03cb9202cb04668e01d0ea5c5bb5547e39a
nocross="gobject-introspection"
lib32disabled=yes
# 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
do_check() {
# Require running xserver