diff options
Diffstat (limited to 'meta-multimedia')
-rw-r--r-- | meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.22.bb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.22.bb b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.22.bb index 818b9271f..b214672c6 100644 --- a/meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.22.bb +++ b/meta-multimedia/recipes-multimedia/musicpd/mpd_0.20.22.bb | |||
@@ -1,6 +1,9 @@ | |||
1 | SUMMARY = "Music Player Daemon" | 1 | SUMMARY = "Music Player Daemon" |
2 | LICENSE = "GPLv2" | 2 | LICENSE = "GPLv2" |
3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" | 3 | LIC_FILES_CHKSUM = "file://COPYING;md5=751419260aa954499f7abaabaa882bbe" |
4 | |||
5 | LICENSE_FLAGS = "${@bb.utils.contains_any('PACKAGECONFIG', ['ffmpeg', 'aac'], 'commercial', '', d)}" | ||
6 | |||
4 | HOMEPAGE ="http://www.musicpd.org" | 7 | HOMEPAGE ="http://www.musicpd.org" |
5 | 8 | ||
6 | inherit autotools useradd systemd pkgconfig | 9 | inherit autotools useradd systemd pkgconfig |
@@ -27,8 +30,7 @@ S = "${WORKDIR}/git" | |||
27 | 30 | ||
28 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" | 31 | EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}" |
29 | 32 | ||
30 | 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" | 33 | 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" |
31 | PACKAGECONFIG_append = " ${@bb.utils.contains('LICENSE_FLAGS', 'commercial', 'aac', '', d)}" | ||
32 | 34 | ||
33 | PACKAGECONFIG[aac] = "--enable-aac,--disable-aac,faad2" | 35 | PACKAGECONFIG[aac] = "--enable-aac,--disable-aac,faad2" |
34 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" | 36 | PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib" |