summaryrefslogtreecommitdiffstats
path: root/meta/recipes-sato
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2015-09-28 11:53:35 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-10-01 07:43:32 +0100
commit5bfcd13c074a69cfb1cf9108cbccee472bad4409 (patch)
treedd7184e90b27bd4f5c36e390a1bcddaf3252e2cf /meta/recipes-sato
parent5b629a962d05aa1ae9d017058d078476d3675850 (diff)
downloadpoky-5bfcd13c074a69cfb1cf9108cbccee472bad4409.tar.gz
classes/meta: Add DISTRO_FEATURES check for gtk+/gtk3+
If you currently do a DISTRO_FEATURES_remove = "x11" with OE-Core, you see failures due to dependency problems. The work in resolving this was partially completed a while back. This adds in the markup mainly for gtk/gtk3+ recipes and means "bitbake world" will work successfully. Rather than code the gtk/gtk+ specific distro features into each recipe, a shared variable is used. (From OE-Core rev: ef967c70182eeccb59c7511d838a7ecb0b2315c1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-sato')
-rw-r--r--meta/recipes-sato/gtk-engines/gtk-sato-engine.inc3
-rw-r--r--meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb4
2 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-sato/gtk-engines/gtk-sato-engine.inc b/meta/recipes-sato/gtk-engines/gtk-sato-engine.inc
index 4e37ff2047..fa6b2b2e75 100644
--- a/meta/recipes-sato/gtk-engines/gtk-sato-engine.inc
+++ b/meta/recipes-sato/gtk-engines/gtk-sato-engine.inc
@@ -8,6 +8,9 @@ SECTION = "x11/base"
8DEPENDS = "gtk+" 8DEPENDS = "gtk+"
9RDEPENDS_gtk-theme-sato = "gtk-sato-engine" 9RDEPENDS_gtk-theme-sato = "gtk-sato-engine"
10 10
11inherit distro_features_check
12ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"
13
11PACKAGES += "gtk-theme-sato" 14PACKAGES += "gtk-theme-sato"
12FILES_${PN} = "${libdir}/gtk-2.0/*/engines/*.so " 15FILES_${PN} = "${libdir}/gtk-2.0/*/engines/*.so "
13FILES_${PN}-dev = "${libdir}/gtk-2.0/*/engines/*.la" 16FILES_${PN}-dev = "${libdir}/gtk-2.0/*/engines/*.la"
diff --git a/meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb b/meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb
index 91fd150e3b..c8cbd57a6e 100644
--- a/meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb
+++ b/meta/recipes-sato/matchbox-terminal/matchbox-terminal_git.bb
@@ -15,4 +15,6 @@ SRC_URI = "git://git.yoctoproject.org/${BPN}"
15 15
16S = "${WORKDIR}/git" 16S = "${WORKDIR}/git"
17 17
18inherit autotools pkgconfig 18inherit autotools pkgconfig distro_features_check
19
20ANY_OF_DISTRO_FEATURES = "${GTK2DISTROFEATURES}"