diff options
author | Robert Yang <liezhi.yang@windriver.com> | 2015-05-10 19:17:07 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-05-14 11:43:58 +0100 |
commit | 41719e1bfbc969ac0493b1ee81bf24973f5f7d44 (patch) | |
tree | 3144974557147599ccb7b98098ea1fcbee216d95 /meta/recipes-sato/puzzles | |
parent | f744f0b18c22daf8bdab837ba8096760b1ce00b8 (diff) | |
download | poky-41719e1bfbc969ac0493b1ee81bf24973f5f7d44.tar.gz |
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.
(From OE-Core rev: 1722ce23075a00e111145cad6daa2ef87ba391fe)
Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato/puzzles')
-rw-r--r-- | meta/recipes-sato/puzzles/oh-puzzles_git.bb | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/meta/recipes-sato/puzzles/oh-puzzles_git.bb b/meta/recipes-sato/puzzles/oh-puzzles_git.bb index bd762e9315..36cd2cc7a2 100644 --- a/meta/recipes-sato/puzzles/oh-puzzles_git.bb +++ b/meta/recipes-sato/puzzles/oh-puzzles_git.bb | |||
@@ -9,7 +9,12 @@ LIC_FILES_CHKSUM = "file://LICENCE;md5=f56ec6772dd1c7c367067bbea8ea1675 \ | |||
9 | 9 | ||
10 | SECTION = "x11" | 10 | SECTION = "x11" |
11 | DEPENDS = "gtk+ gconf intltool-native librsvg" | 11 | DEPENDS = "gtk+ gconf intltool-native librsvg" |
12 | DEPENDS_append_poky = " libowl" | 12 | |
13 | # libowl requires x11 in DISTRO_FEATURES | ||
14 | DEPENDS_append_poky = " ${@bb.utils.contains('DISTRO_FEATURES', 'x11', 'libowl', '', d)}" | ||
15 | |||
16 | # Requires gdk/gdkx.h which is provided by gtk when x11 in DISTRO_FEATURES | ||
17 | REQUIRED_DISTRO_FEATURES = "x11" | ||
13 | 18 | ||
14 | SRCREV = "92f1a20e4b72eed7a35b00984d9793b51dc2fb3b" | 19 | SRCREV = "92f1a20e4b72eed7a35b00984d9793b51dc2fb3b" |
15 | PV = "0.2+git${SRCPV}" | 20 | PV = "0.2+git${SRCPV}" |
@@ -20,7 +25,7 @@ SRC_URI_append_poky = " file://oh-puzzles-owl-menu.patch;striplevel=0 " | |||
20 | 25 | ||
21 | S = "${WORKDIR}/git" | 26 | S = "${WORKDIR}/git" |
22 | 27 | ||
23 | inherit autotools pkgconfig | 28 | inherit autotools pkgconfig distro_features_check |
24 | 29 | ||
25 | bindir = "/usr/games" | 30 | bindir = "/usr/games" |
26 | 31 | ||