From f922d30f9d4c62d84a83072b5c2ef0b064c9c27d Mon Sep 17 00:00:00 2001 From: Mark Hatle Date: Wed, 6 Sep 2017 10:05:11 -0500 Subject: 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 --- .../recipes-multimedia/packagegroups/packagegroup-xfce-multimedia.bb | 4 ++++ .../recipes-multimedia/xfce4-mpc-plugin/xfce4-mpc-plugin_0.5.0.bb | 3 +++ meta-xfce/recipes-multimedia/xfmpc/xfmpc_0.2.3.bb | 3 +++ 3 files changed, 10 insertions(+) (limited to 'meta-xfce') 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" -- cgit 1.2.3-korg