aboutsummaryrefslogtreecommitdiffstats
path: root/common/recipes-sato
diff options
context:
space:
mode:
Diffstat (limited to 'common/recipes-sato')
-rw-r--r--common/recipes-sato/packagegroups/packagegroup-core-x11-sato.bbappend11
1 files changed, 2 insertions, 9 deletions
diff --git a/common/recipes-sato/packagegroups/packagegroup-core-x11-sato.bbappend b/common/recipes-sato/packagegroups/packagegroup-core-x11-sato.bbappend
index 3602803c..5ebf186c 100644
--- a/common/recipes-sato/packagegroups/packagegroup-core-x11-sato.bbappend
+++ b/common/recipes-sato/packagegroups/packagegroup-core-x11-sato.bbappend
@@ -1,9 +1,2 @@
-python __anonymous () {
- 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", ""))
-}
+RDEPENDS_${PN}-apps_remove := "${@base_contains("DISTRO", "mel-lite", "gaku", "", d)}"
+