From 022cab5b90bcc4957df584cef2ae1fa733318fbb Mon Sep 17 00:00:00 2001 From: SolitudeSF Date: Mon, 18 Dec 2017 20:44:18 +0200 Subject: [PATCH] lxappearance: add build option for GTK3 version and dbus Closes: #10093 [via git-merge-pr] --- srcpkgs/lxappearance/template | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/srcpkgs/lxappearance/template b/srcpkgs/lxappearance/template index 1ccb80da101..5e6dffc33a4 100644 --- a/srcpkgs/lxappearance/template +++ b/srcpkgs/lxappearance/template @@ -3,9 +3,11 @@ pkgname=lxappearance version=0.6.3 revision=1 build_style=gnu-configure -configure_args="--enable-dbus" +build_options="gtk3 dbus" +build_options_default="dbus" +configure_args="$(vopt_enable dbus) $(vopt_enable gtk3)" hostmakedepends="pkg-config intltool" -makedepends="gtk+-devel dbus-glib-devel" +makedepends="$(vopt_if gtk3 gtk+3-devel gtk+-devel) $(vopt_if dbus dbus-glib-devel)" depends="desktop-file-utils" short_desc="LXDE Theme Switcher" homepage="http://lxde.org/"