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>
This commit is contained in:
Mark Hatle 2017-09-06 10:05:11 -05:00 committed by Martin Jansa
parent f441696b67
commit f922d30f9d
3 changed files with 10 additions and 0 deletions

View File

@ -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 \

View File

@ -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"

View File

@ -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"