aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-sato
diff options
context:
space:
mode:
authorDrew Moseley <drew_moseley@mentor.com>2014-06-18 14:54:41 -0400
committerDrew Moseley <drew_moseley@mentor.com>2014-06-26 22:39:57 -0400
commitc8ac9b3b93d0a8a7d6142e3f307aec4dd8719faf (patch)
tree48b0313d3fefda1a58abc483e8889aa125abc1c5 /common/recipes-sato
parent3547bd83816b11224dca42d7145310b2159b8de0 (diff)
downloadmeta-amd-c8ac9b3b93d0a8a7d6142e3f307aec4dd8719faf.tar.gz
meta-amd-c8ac9b3b93d0a8a7d6142e3f307aec4dd8719faf.tar.bz2
meta-amd-c8ac9b3b93d0a8a7d6142e3f307aec4dd8719faf.zip
core-image-sato: Remove gaku conditionally.
Remove the gaku app when DISTRO=mel-lite to avoid the gstreamer dependency since gstreamer is unsupported in MEL Lite. Signed-off-by: Drew Moseley <drew_moseley@mentor.com>
Diffstat (limited to 'common/recipes-sato')
-rw-r--r--common/recipes-sato/packagegroups/packagegroup-core-x11-sato.bbappend12
1 files changed, 7 insertions, 5 deletions
diff --git a/common/recipes-sato/packagegroups/packagegroup-core-x11-sato.bbappend b/common/recipes-sato/packagegroups/packagegroup-core-x11-sato.bbappend
index c40f51d3..3602803c 100644
--- a/common/recipes-sato/packagegroups/packagegroup-core-x11-sato.bbappend
+++ b/common/recipes-sato/packagegroups/packagegroup-core-x11-sato.bbappend
@@ -1,7 +1,9 @@
-# Remove gaku from the apps as it depends
-# on gstreamer which is currently unsupported
python __anonymous () {
- rdepvar = "RDEPENDS_%s-apps" % (d.getVar("PN", True))
- rdep = d.getVar(rdepvar, True)
- d.setVar(rdepvar, rdep.replace("gaku", ""))
+ if d.getVar("DISTRO", True) == "mel-lite":
+ # Remove gaku from the apps as it depends
+ # on gstreamer which is currently unsupported
+ # in MEL Lite.
+ rdepvar = "RDEPENDS_%s-apps" % (d.getVar("PN", True))
+ rdep = d.getVar(rdepvar, True)
+ d.setVar(rdepvar, rdep.replace("gaku", ""))
}