aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Hatle <mark.hatle@windriver.com>2017-09-06 10:05:11 -0500
committerMark Hatle <mark.hatle@windriver.com>2017-09-06 15:06:43 -0500
commit7518eaae19c957186020e42ceb191b390e9ff791 (patch)
treef607ae5eb48beda013884195ca5381313df69602
parentfdc579867d20bc7f4c809783d59e74d0dbf16440 (diff)
downloadmeta-openembedded-contrib-7518eaae19c957186020e42ceb191b390e9ff791.tar.gz
meta-openembedded-contrib-7518eaae19c957186020e42ceb191b390e9ff791.tar.bz2
meta-openembedded-contrib-7518eaae19c957186020e42ceb191b390e9ff791.zip
recipes-multimedia: Add LICENSE_FLAGS
Multiple recipes require other recipes which all are defined to have a LICENSE_FLAGS = "commercial". Set these referring packages to the same license flag so they are only enabled when their dependency is also enabled. Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
-rw-r--r--meta-xfce/recipes-multimedia/packagegroups/packagegroup-xfce-multimedia.bb4
-rw-r--r--meta-xfce/recipes-multimedia/xfce4-mpc-plugin/xfce4-mpc-plugin_0.5.0.bb3
-rw-r--r--meta-xfce/recipes-multimedia/xfmpc/xfmpc_0.2.3.bb3
3 files changed, 10 insertions, 0 deletions
diff --git a/meta-xfce/recipes-multimedia/packagegroups/packagegroup-xfce-multimedia.bb b/meta-xfce/recipes-multimedia/packagegroups/packagegroup-xfce-multimedia.bb
index 72a96f3c27..d3e31fe425 100644
--- a/meta-xfce/recipes-multimedia/packagegroups/packagegroup-xfce-multimedia.bb
+++ b/meta-xfce/recipes-multimedia/packagegroups/packagegroup-xfce-multimedia.bb
@@ -4,6 +4,10 @@ LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=4d92cd373abda3937c2bc47fbc49d
inherit packagegroup
+# While this item does not require it, it depends on xfmpc and xfc4-mpc-plugin
+# that wants mpd which does
+LICENSE_FLAGS = "commercial"
+
RDEPENDS_${PN} = " \
parole \
xfmpc \
diff --git a/meta-xfce/recipes-multimedia/xfce4-mpc-plugin/xfce4-mpc-plugin_0.5.0.bb b/meta-xfce/recipes-multimedia/xfce4-mpc-plugin/xfce4-mpc-plugin_0.5.0.bb
index f709e4da95..9f501f796d 100644
--- a/meta-xfce/recipes-multimedia/xfce4-mpc-plugin/xfce4-mpc-plugin_0.5.0.bb
+++ b/meta-xfce/recipes-multimedia/xfce4-mpc-plugin/xfce4-mpc-plugin_0.5.0.bb
@@ -8,6 +8,9 @@ inherit xfce-panel-plugin
DEPENDS += "libmpd"
+# While this item does not require it, it depends on mpd which does
+LICENSE_FLAGS = "commercial"
+
# for now we recommend our own mpd-server
RRECOMMENDS_${PN} = "mpd"
diff --git a/meta-xfce/recipes-multimedia/xfmpc/xfmpc_0.2.3.bb b/meta-xfce/recipes-multimedia/xfmpc/xfmpc_0.2.3.bb
index 3d902a17bf..869435d68a 100644
--- a/meta-xfce/recipes-multimedia/xfmpc/xfmpc_0.2.3.bb
+++ b/meta-xfce/recipes-multimedia/xfmpc/xfmpc_0.2.3.bb
@@ -4,6 +4,9 @@ LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=94d55d512a9ba36caa9b7df079bae19f"
DEPENDS = "gtk+ libxfce4util libxfce4ui libmpd vala-native"
+# While this item does not require it, it depends on mpd which does
+LICENSE_FLAGS = "commercial"
+
# for now we recommend our own mpd-server
RRECOMMENDS_${PN} = "mpd"