From ab3847f66e4a68b856bb84b7e4a03bfb5d257753 Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Sun, 19 Jun 2016 12:26:08 +0200 Subject: lxappearance: add gtk3 packageconfig and enable it Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- recipes-lxde/lxappearance/lxappearance_0.6.2.bb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/recipes-lxde/lxappearance/lxappearance_0.6.2.bb b/recipes-lxde/lxappearance/lxappearance_0.6.2.bb index 1688574..bea70cd 100644 --- a/recipes-lxde/lxappearance/lxappearance_0.6.2.bb +++ b/recipes-lxde/lxappearance/lxappearance_0.6.2.bb @@ -5,12 +5,20 @@ SECTION = "x11" LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263" -DEPENDS = "gtk+ intltool-native" +DEPENDS = "intltool-native" SRC_URI = "${SOURCEFORGE_MIRROR}/lxde/${P}.tar.xz" SRC_URI[md5sum] = "21ee79c7686a80efddaa1b7928f51e21" SRC_URI[sha256sum] = "4462136e01f991d4c546f23a8cf59a4092f88ecdff587597959f8062e2ea201f" +PACKAGECONFIG ?= "gtk3" +PACKAGECONFIG[gtk3] = "--enable-gtk3,,gtk+3" +python __anonymous () { + depends = d.getVar("DEPENDS", d, 1) + if 'gtk3' not in d.getVar('PACKAGECONFIG', True): + d.setVar("DEPENDS", "%s gtk+" % depends) +} + inherit autotools gettext pkgconfig fakeroot do_fixup_ownership () { -- cgit v1.2.3