From 1c59f3095576f4b1c198a56c34a080be28b4fd3c Mon Sep 17 00:00:00 2001 From: Max Krummenacher Date: Sun, 19 Jun 2016 09:58:24 +0200 Subject: lxinput: add gtk3 packageconfig and enable it Signed-off-by: Max Krummenacher Acked-by: Marcel Ziswiler --- recipes-lxde/lxinput/lxinput_0.3.5.bb | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/recipes-lxde/lxinput/lxinput_0.3.5.bb b/recipes-lxde/lxinput/lxinput_0.3.5.bb index 31017ac..6441b3c 100644 --- a/recipes-lxde/lxinput/lxinput_0.3.5.bb +++ b/recipes-lxde/lxinput/lxinput_0.3.5.bb @@ -5,10 +5,18 @@ SECTION = "x11" LICENSE = "GPLv3" LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504" -DEPENDS = "virtual/libintl intltool-native glib-2.0 gtk+" +DEPENDS = "virtual/libintl intltool-native glib-2.0" SRC_URI = "${SOURCEFORGE_MIRROR}/lxde/${P}.tar.xz" SRC_URI[md5sum] = "69680debaef053d540ae3a5f4b237150" SRC_URI[sha256sum] = "4e8f778a65a4afe2365b47e7899358aa4fab535343aa62c72a3cdc4cac1f6e88" +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-brokensep gettext pkgconfig -- cgit v1.2.3