diff options
author | Mark Hatle <mark.hatle@windriver.com> | 2017-09-05 17:28:35 -0500 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-09-13 11:13:19 +0200 |
commit | f441696b676db76f7c97379ed05f9029597dcd78 (patch) | |
tree | 7c65956d7b228e2fbaf7436755c118eaba0866c9 /meta-multimedia | |
parent | 36ed830bc2a857bc0ca4be48e3ac47a28e937748 (diff) | |
download | meta-openembedded-f441696b676db76f7c97379ed05f9029597dcd78.tar.gz |
recipes-multimedia: Add LICENSE_FLAGS
Multiple recipes require libmap, mpg123 or ffmpeg 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>
Diffstat (limited to 'meta-multimedia')
5 files changed, 15 insertions, 1 deletions
diff --git a/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-plugins-gl_0.10.3.bb b/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-plugins-gl_0.10.3.bb index bb69bfe9f..f3eaf3094 100644 --- a/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-plugins-gl_0.10.3.bb +++ b/meta-multimedia/recipes-multimedia/gstreamer-0.10/gst-plugins-gl_0.10.3.bb | |||
@@ -14,7 +14,9 @@ DEPENDS += "gst-plugins-base virtual/libgles2 virtual/egl jpeg libpng glew" | |||
14 | 14 | ||
15 | PR = "r4" | 15 | PR = "r4" |
16 | 16 | ||
17 | inherit gettext | 17 | inherit gettext distro_features_check |
18 | |||
19 | REQUIRED_DISTRO_FEATURES = "opengl" | ||
18 | 20 | ||
19 | # This package doesn't have a configure switch for EGL or GL, so forcibly tell | 21 | # This package doesn't have a configure switch for EGL or GL, so forcibly tell |
20 | # configure that it can't find gl.h so it always uses EGL. If/when we have some | 22 | # configure that it can't find gl.h so it always uses EGL. If/when we have some |
diff --git a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.21.bb b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.21.bb index c16f3be77..77ab5ebce 100644 --- a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.21.bb +++ b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.19.21.bb | |||
@@ -39,6 +39,9 @@ DEPENDS += " \ | |||
39 | libupnp \ | 39 | libupnp \ |
40 | " | 40 | " |
41 | 41 | ||
42 | # While this item does not require it, it depends on mpg123 which does | ||
43 | LICENSE_FLAGS = "commercial" | ||
44 | |||
42 | SRC_URI = " \ | 45 | SRC_URI = " \ |
43 | http://www.musicpd.org/download/${BPN}/0.19/${BP}.tar.xz \ | 46 | http://www.musicpd.org/download/${BPN}/0.19/${BP}.tar.xz \ |
44 | file://mpd.conf.in \ | 47 | file://mpd.conf.in \ |
diff --git a/meta-multimedia/recipes-multimedia/sox/sox_14.4.0.bb b/meta-multimedia/recipes-multimedia/sox/sox_14.4.0.bb index e115f1c18..3eb1856e0 100644 --- a/meta-multimedia/recipes-multimedia/sox/sox_14.4.0.bb +++ b/meta-multimedia/recipes-multimedia/sox/sox_14.4.0.bb | |||
@@ -6,6 +6,9 @@ SECTION = "audio" | |||
6 | 6 | ||
7 | DEPENDS = "libpng ffmpeg libsndfile1 libvorbis" | 7 | DEPENDS = "libpng ffmpeg libsndfile1 libvorbis" |
8 | 8 | ||
9 | # While this item does not require it, it depends on ffmpeg which does | ||
10 | LICENSE_FLAGS = "commercial" | ||
11 | |||
9 | PR = "r2" | 12 | PR = "r2" |
10 | 13 | ||
11 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio', d)} \ | 14 | PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'alsa pulseaudio', d)} \ |
diff --git a/meta-multimedia/recipes-multimedia/streamripper/streamripper_1.64.6.bb b/meta-multimedia/recipes-multimedia/streamripper/streamripper_1.64.6.bb index 94355b64d..722815ab6 100644 --- a/meta-multimedia/recipes-multimedia/streamripper/streamripper_1.64.6.bb +++ b/meta-multimedia/recipes-multimedia/streamripper/streamripper_1.64.6.bb | |||
@@ -6,6 +6,9 @@ LICENSE = "GPLv2" | |||
6 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" | 6 | LIC_FILES_CHKSUM = "file://COPYING;md5=8ca43cbc842c2336e835926c2166c28b" |
7 | DEPENDS = "glib-2.0 libmad libogg libvorbis" | 7 | DEPENDS = "glib-2.0 libmad libogg libvorbis" |
8 | 8 | ||
9 | # While this item does not require it, it depends on libmad which does | ||
10 | LICENSE_FLAGS = "commercial" | ||
11 | |||
9 | SRC_URI = "\ | 12 | SRC_URI = "\ |
10 | ${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \ | 13 | ${SOURCEFORGE_MIRROR}/${BPN}/${BP}.tar.gz \ |
11 | file://0001-build-these-are-foreign-automake-projects.patch \ | 14 | file://0001-build-these-are-foreign-automake-projects.patch \ |
diff --git a/meta-multimedia/recipes-multimedia/vlc/vlc.inc b/meta-multimedia/recipes-multimedia/vlc/vlc.inc index 087baab87..acb3ccd1d 100644 --- a/meta-multimedia/recipes-multimedia/vlc/vlc.inc +++ b/meta-multimedia/recipes-multimedia/vlc/vlc.inc | |||
@@ -13,6 +13,9 @@ DEPENDS = "libfribidi libtool libgcrypt libgcrypt-native \ | |||
13 | libmtp libopus orc libsamplerate0 libusb1 schroedinger taglib \ | 13 | libmtp libopus orc libsamplerate0 libusb1 schroedinger taglib \ |
14 | tiff" | 14 | tiff" |
15 | 15 | ||
16 | # While this item does not require it, it depends on ffmpeg which does | ||
17 | LICENSE_FLAGS = "commercial" | ||
18 | |||
16 | SRC_URI = "http://download.videolan.org/pub/videolan/${BPN}/${PV}/${BP}.tar.xz" | 19 | SRC_URI = "http://download.videolan.org/pub/videolan/${BPN}/${PV}/${BP}.tar.xz" |
17 | 20 | ||
18 | inherit autotools gettext pkgconfig distro_features_check | 21 | inherit autotools gettext pkgconfig distro_features_check |