mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-08 03:49:57 +00:00
mpd: make lots of plugins optional
The new options are enabled by default to avoid breaking existing configurations. Signed-off-by: Max Kellermann <max.kellermann@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -6,37 +6,15 @@ HOMEPAGE ="http://www.musicpd.org"
|
|||||||
inherit autotools useradd systemd pkgconfig
|
inherit autotools useradd systemd pkgconfig
|
||||||
|
|
||||||
DEPENDS += " \
|
DEPENDS += " \
|
||||||
alsa-lib \
|
|
||||||
libsamplerate0 \
|
|
||||||
libsndfile1 \
|
|
||||||
libvorbis \
|
|
||||||
libogg \
|
|
||||||
faad2 \
|
|
||||||
ffmpeg \
|
|
||||||
curl \
|
curl \
|
||||||
sqlite \
|
sqlite \
|
||||||
bzip2 \
|
|
||||||
${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio', d)} \
|
${@bb.utils.filter('DISTRO_FEATURES', 'pulseaudio', d)} \
|
||||||
tcp-wrappers \
|
tcp-wrappers \
|
||||||
openal-soft \
|
|
||||||
yajl \
|
yajl \
|
||||||
jack \
|
|
||||||
faad2 \
|
|
||||||
flac \
|
|
||||||
libao \
|
|
||||||
fluidsynth \
|
|
||||||
libcdio \
|
|
||||||
wavpack \
|
|
||||||
libopus \
|
|
||||||
mpg123 \
|
|
||||||
libmms \
|
|
||||||
libmodplug \
|
|
||||||
boost \
|
boost \
|
||||||
icu \
|
icu \
|
||||||
dbus \
|
dbus \
|
||||||
expat \
|
expat \
|
||||||
zlib \
|
|
||||||
libupnp \
|
|
||||||
"
|
"
|
||||||
|
|
||||||
# While this item does not require it, it depends on mpg123 which does
|
# While this item does not require it, it depends on mpg123 which does
|
||||||
@@ -52,12 +30,34 @@ SRC_URI[sha256sum] = "8322764dc265c20f05c8c8fdfdd578b0722e74626bef56fcd8eebfb01a
|
|||||||
EXTRA_OECONF = "enable_bzip2=yes"
|
EXTRA_OECONF = "enable_bzip2=yes"
|
||||||
EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}"
|
EXTRA_OECONF += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '--with-systemdsystemunitdir=${systemd_unitdir}/system/', '--without-systemdsystemunitdir', d)}"
|
||||||
|
|
||||||
|
PACKAGECONFIG ??= "aac alsa ao bzip2 ffmpeg flac fluidsynth iso9660 jack libsamplerate mms mpg123 modplug sndfile upnp openal opus vorbis wavpack zlib"
|
||||||
|
|
||||||
|
PACKAGECONFIG[aac] = "--enable-aac,--disable-aac,faad2"
|
||||||
|
PACKAGECONFIG[alsa] = "--enable-alsa,--disable-alsa,alsa-lib"
|
||||||
|
PACKAGECONFIG[ao] = "--enable-ao,--disable-ao,libao"
|
||||||
PACKAGECONFIG[audiofile] = "--enable-audiofile,--disable-audiofile,audiofile"
|
PACKAGECONFIG[audiofile] = "--enable-audiofile,--disable-audiofile,audiofile"
|
||||||
|
PACKAGECONFIG[bzip2] = "--enable-bzip2,--disable-bzip2,bzip2"
|
||||||
PACKAGECONFIG[cdioparanoia] = "--enable-cdio-paranoia,--disable-cdio-paranoia,libcdio-paranoia"
|
PACKAGECONFIG[cdioparanoia] = "--enable-cdio-paranoia,--disable-cdio-paranoia,libcdio-paranoia"
|
||||||
|
PACKAGECONFIG[ffmpeg] = "--enable-ffmpeg,--disable-ffmpeg,ffmpeg"
|
||||||
|
PACKAGECONFIG[flac] = "--enable-flac,--disable-flac,flac"
|
||||||
|
PACKAGECONFIG[fluidsynth] = "--enable-fluidsynth,--disable-fluidsynth,fluidsynth"
|
||||||
PACKAGECONFIG[id3tag] = "--enable-id3,--disable-id3,libid3tag"
|
PACKAGECONFIG[id3tag] = "--enable-id3,--disable-id3,libid3tag"
|
||||||
|
PACKAGECONFIG[iso9660] = "--enable-iso9660,--disable-iso9660,libcdio"
|
||||||
|
PACKAGECONFIG[jack] = "--enable-jack,--disable-jack,jack"
|
||||||
PACKAGECONFIG[lame] = "--enable-lame-encoder,--disable-lame-encoder,lame"
|
PACKAGECONFIG[lame] = "--enable-lame-encoder,--disable-lame-encoder,lame"
|
||||||
|
PACKAGECONFIG[libsamplerate] = "--enable-lsr,--disable-lsr,libsamplerate0"
|
||||||
PACKAGECONFIG[mad] = "--enable-mad,--disable-mad,libmad"
|
PACKAGECONFIG[mad] = "--enable-mad,--disable-mad,libmad"
|
||||||
|
PACKAGECONFIG[mms] = "--enable-mms,--disable-mms,libmms"
|
||||||
|
PACKAGECONFIG[mpg123] = "--enable-mpg123,--disable-mpg123,mpg123"
|
||||||
|
PACKAGECONFIG[modplug] = "--enable-modplug,--disable-modplug,libmodplug"
|
||||||
PACKAGECONFIG[smb] = "--enable-smbclient,--disable-smbclient,samba"
|
PACKAGECONFIG[smb] = "--enable-smbclient,--disable-smbclient,samba"
|
||||||
|
PACKAGECONFIG[sndfile] = "--enable-sndfile,--disable-sndfile,libsndfile1"
|
||||||
|
PACKAGECONFIG[upnp] = "--enable-upnp,--disable-upnp,libupnp"
|
||||||
|
PACKAGECONFIG[openal] = "--enable-openal,--disable-openal,openal-soft"
|
||||||
|
PACKAGECONFIG[opus] = "--enable-opus,--disable-opus,libopus libogg"
|
||||||
|
PACKAGECONFIG[vorbis] = "--enable-vorbis,--disable-vorbis,libvorbis libogg"
|
||||||
|
PACKAGECONFIG[wavpack] = "--enable-wavpack,--disable-wavpack,wavpack"
|
||||||
|
PACKAGECONFIG[zlib] = "--enable-zlib,--disable-zlib,zlib"
|
||||||
|
|
||||||
do_configure_prepend() {
|
do_configure_prepend() {
|
||||||
sed -i -e 's|libsystemd-daemon|libsystemd|' ${S}/configure.ac
|
sed -i -e 's|libsystemd-daemon|libsystemd|' ${S}/configure.ac
|
||||||
|
|||||||
Reference in New Issue
Block a user