From b9528f1501bebabd010c4f7265612a4939480105 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Fri, 1 Dec 2017 00:09:11 +0000 Subject: [PATCH] libwnck2: fix configure_args with ~gir --- srcpkgs/libwnck2/template | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/srcpkgs/libwnck2/template b/srcpkgs/libwnck2/template index 42934498673..203892197cf 100644 --- a/srcpkgs/libwnck2/template +++ b/srcpkgs/libwnck2/template @@ -4,7 +4,8 @@ version=2.30.7 revision=5 wrksrc="${pkgname/2/}-${version}" build_style=gnu-configure -hostmakedepends="pkg-config intltool gdk-pixbuf-devel" +configure_args="$(vopt_enable gir introspection)" +hostmakedepends="pkg-config intltool gdk-pixbuf-devel $(vopt_if gir gobject-introspection)" makedepends="startup-notification-devel libXres-devel gtk+-devel" short_desc="Library for layout and rendering of text (GTK+2)" maintainer="Juan RP " @@ -21,13 +22,6 @@ if [ -z "$CROSS_BUILD" ]; then build_options_default="gir" fi -if [ "$build_option_gir" ]; then - configure_args+=" --enable-introspection" - hostmakedepends+=" gobject-introspection" -else - configure_args+=" --disable-introspection" -fi - post_install() { rm -rf ${DESTDIR}/usr/bin }