diff options
-rw-r--r-- | recipes-lxde/lxinput/lxinput_0.3.5.bb | 10 |
1 files changed, 9 insertions, 1 deletions
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 |