aboutsummaryrefslogtreecommitdiffstats
path: root/meta-multimedia
diff options
context:
space:
mode:
authorArmin Kuster <akuster808@gmail.com>2018-10-01 08:05:28 -0700
committerKhem Raj <raj.khem@gmail.com>2018-10-01 10:16:15 -0700
commitf5d271fd545c5b78d4a8fbc81e54df454fa0d5e4 (patch)
tree0b95bcb3f9b0925385b007c069889b63f43caba2 /meta-multimedia
parentd273070293cf646fb399167dccc1a1b18dc41cb6 (diff)
downloadmeta-openembedded-contrib-f5d271fd545c5b78d4a8fbc81e54df454fa0d5e4.tar.gz
meta-openembedded-contrib-f5d271fd545c5b78d4a8fbc81e54df454fa0d5e4.tar.bz2
meta-openembedded-contrib-f5d271fd545c5b78d4a8fbc81e54df454fa0d5e4.zip
mpd: enable aac PACKAGECONFIG only with commercial LICENSE_FLAGS
ERROR: Nothing PROVIDES 'faad2' (but /home/akuster/oss/maint/meta-openembedded/meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.21.bb DEPENDS on or otherwise requires it) enable aac only if LICENSE_FLAGS is commercial Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-multimedia')
-rw-r--r--meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.21.bb3
1 files changed, 2 insertions, 1 deletions
diff --git a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.21.bb b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.21.bb
index 9123673fbf..d4edd5b310 100644
--- a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.21.bb
+++ b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.21.bb
@@ -26,7 +26,8 @@ S = "${WORKDIR}/git"
EXTRA_OECONF = "enable_bzip2=yes"
EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}"
-PACKAGECONFIG ??= "aac alsa ao bzip2 daemon ffmpeg fifo flac fluidsynth iso9660 jack libsamplerate libwrap httpd mms mpg123 modplug sndfile upnp openal opus oss recorder vorbis wavpack zlib"
+PACKAGECONFIG ??= "alsa ao bzip2 daemon ffmpeg fifo flac fluidsynth iso9660 jack libsamplerate libwrap httpd mms mpg123 modplug sndfile upnp openal opus oss recorder vorbis wavpack zlib"
+PACKAGECONFIG += "${@bb.utils.contains('LICENSE_FLAGS', 'commercial', 'aac', '', d)}"
PACKAGECONFIG[aac] = "--enable-aac,--disable-aac,faad2"
PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"