summaryrefslogtreecommitdiff
path: root/meta/recipes-gnome/libnotify
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2015-05-10 19:17:07 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-05-14 11:41:11 +0100
commit1722ce23075a00e111145cad6daa2ef87ba391fe (patch)
tree68aba0e232beca1f632d13b3ee798b48af9298c8 /meta/recipes-gnome/libnotify
parent777080af697d35b3f983465d6a094f4171e57e56 (diff)
downloadopenembedded-core-1722ce23075a00e111145cad6daa2ef87ba391fe.tar.gz
openembedded-core-1722ce23075a00e111145cad6daa2ef87ba391fe.tar.bz2
openembedded-core-1722ce23075a00e111145cad6daa2ef87ba391fe.zip
libowl/settings-daemon/libnotify: add x11 to REQUIRED_DISTRO_FEATURES
The libowl, settings-daemon and libnotify requires gdk/gdkx.h which is provided by gtk when x11 in DISTRO_FEATURES, so add x11 to REQUIRED_DISTRO_FEATURES. The leafpad, settings-daemon and oh-puzzles requires libowl or settings-daemon, so add xx to REQUIRED_DISTRO_FEATURES for them too. The leafpad can't be built without libowl, so depends in directly rather than use DEPENDS_append_poky. Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Diffstat (limited to 'meta/recipes-gnome/libnotify')
-rw-r--r--meta/recipes-gnome/libnotify/libnotify_0.6.0.bb6
1 files changed, 5 insertions, 1 deletions
diff --git a/meta/recipes-gnome/libnotify/libnotify_0.6.0.bb b/meta/recipes-gnome/libnotify/libnotify_0.6.0.bb
index 1d92b6482f..e6ee89bd01 100644
--- a/meta/recipes-gnome/libnotify/libnotify_0.6.0.bb
+++ b/meta/recipes-gnome/libnotify/libnotify_0.6.0.bb
@@ -7,7 +7,11 @@ PR = "r1"
DEPENDS = "dbus gtk+ dbus-glib"
-inherit gnomebase
+inherit gnomebase distro_features_check
+
+# Requires gdk/gdkx.h which is provided by gtk when x11 in DISTRO_FEATURES
+REQUIRED_DISTRO_FEATURES = "x11"
+
SRC_URI[archive.md5sum] = "732c9d2cd5eb6a9069264a319d330516"
SRC_URI[archive.sha256sum] = "73b16a79bb2fed62dcf146b11c4405776cb96a09dce66379ca541da7dbd64210"