From 0078472d9a1fed972d39d7e5f0ef447479cfc94d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Mon, 29 Apr 2019 15:38:08 +0200 Subject: [PATCH] libkeybinder2: always enable gir --- srcpkgs/libkeybinder2/template | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/srcpkgs/libkeybinder2/template b/srcpkgs/libkeybinder2/template index 493ebbe09ab..2e70ad09387 100644 --- a/srcpkgs/libkeybinder2/template +++ b/srcpkgs/libkeybinder2/template @@ -1,10 +1,10 @@ # Template file for 'libkeybinder2' pkgname=libkeybinder2 version=0.3.1 -revision=2 +revision=3 wrksrc="keybinder-${version}" build_style=gnu-configure -build_options="gir" +build_helper="gir" configure_args="$(vopt_enable gir introspection)" hostmakedepends="automake libtool pkg-config intltool gnome-common gtk-doc pygtk-devel" makedepends="pygtk-devel $(vopt_if gir gobject-introspection)" @@ -15,10 +15,8 @@ license="GPL-2.0-only" distfiles="https://github.com/engla/keybinder/archive/v${version}.tar.gz" checksum=6073bb5f626f75c4a6f25291b32673af02d47e735b56f9d471150d678ac0b5fa -# Disable gir for cross builds. -if [ -z "$CROSS_BUILD" ]; then - build_options_default="gir" -fi +build_options="gir" +build_options_default="gir" do_configure() { NOCONFIGURE=1 ./autogen.sh