vte290: always enable gir

This commit is contained in:
Jürgen Buchmüller 2019-04-29 13:47:56 +02:00
parent 729e13e5d5
commit 6887076e64

View file

@ -1,19 +1,20 @@
# Template build file for 'vte290'.
# Template file for 'vte290'
pkgname=vte290
version=0.36.5
revision=2
revision=3
wrksrc=vte-${version}
build_style=gnu-configure
build_helper="gir"
configure_args="--with-gtk=3.0 --disable-gnome-pty-helper --disable-static
$(vopt_if gir '--enable-introspection --enable-vala' '--disable-introspection --disable-vala')"
$(vopt_enable gir introspection) $(vopt_enable gir vala)"
hostmakedepends="glib-devel intltool pkg-config
$(vopt_if gir 'gobject-introspection vala-devel')"
makedepends="gtk+3-devel ncurses-devel vte"
depends="vte"
short_desc="Terminal widget with improved accessibility and I18N support"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="LGPL-2.1-or-later"
homepage="http://www.gnome.org"
license="LGPL-2.1"
distfiles="${GNOME_SITE}/vte/${version%.*}/vte-${version}.tar.xz"
checksum=c2c2ce9640f08b07667f1037862fe991081495446b735c0afb98f45e35b64edf
@ -21,10 +22,7 @@ checksum=c2c2ce9640f08b07667f1037862fe991081495446b735c0afb98f45e35b64edf
CFLAGS="-D_GNU_SOURCE"
# Package build options
build_options="gir"
# Disable gir for cross builds.
if [ -z "$CROSS_BUILD" ]; then
build_options_default="gir"
fi
build_options_default="gir"
post_install() {
# Rename conflicting file