mpd: add build option for the cdio-paranoia plugin, disable for now

The plugin does not build against current versions of libcdio because
of backwards-incompatible changes in the library as documented in
https://github.com/MusicPlayerDaemon/MPD/issues/173 .
This commit is contained in:
Helmut Pozimski 2018-01-04 11:33:39 +01:00 committed by Jürgen Buchmüller
parent fa2961c5b9
commit 6583ef1aab

View file

@ -1,13 +1,13 @@
# Template file for 'mpd'
pkgname=mpd
version=0.20.14
revision=1
revision=2
build_style=gnu-configure
configure_args="--enable-opus --enable-mikmod --enable-neighbor-plugins
--enable-soundcloud --enable-pipe-output --disable-twolame-encoder
--disable-sidplay --enable-bzip2 --enable-zzip $(vopt_enable jack)
$(vopt_enable lame lame-encoder) $(vopt_enable mpcdec mpc)
$(vopt_enable pulseaudio pulse) $(vopt_enable wavpack)
$(vopt_enable pulseaudio pulse) $(vopt_enable wavpack) $(vopt_enable cdio cdio-paranoia)
$(vopt_enable libao ao) $(vopt_enable sndio sndio) --disable-systemd-daemon"
hostmakedepends="pkg-config"
makedepends="
@ -15,7 +15,7 @@ makedepends="
sqlite-devel libmms-devel avahi-glib-libs-devel libid3tag-devel boost-devel
yajl-devel libogg-devel libflac-devel libsoup-devel bzip2-devel icu-devel
libmikmod-devel libsndfile-devel alsa-lib-devel mpg123-devel libsamplerate-devel
libcdio-paranoia-devel zziplib-devel libmpdclient-devel opus-devel samba-devel
$(vopt_if cdio libcdio-paranoia-devel) zziplib-devel libmpdclient-devel opus-devel samba-devel
libnfs-devel libupnp1.8-devel $(vopt_if jack jack-devel) $(vopt_if lame lame-devel)
$(vopt_if mpcdec libmpcdec-devel) $(vopt_if pulseaudio pulseaudio-devel)
$(vopt_if wavpack wavpack-devel) $(vopt_if libao libao-devel)
@ -31,7 +31,8 @@ distfiles="http://www.musicpd.org/download/mpd/${version%.*}/mpd-${version}.tar.
checksum=7d59afa1e7aabe5f7ad2d66eb274b0d54568b4110a783dfe8e74bd0f94e3f781
# Package build options
build_options="jack lame mpcdec pulseaudio libao wavpack sndio"
build_options="jack lame mpcdec pulseaudio libao wavpack sndio cdio"
desc_option_cdio="Enable libcdio_paranoia input plugin"
build_options_default="pulseaudio libao sndio"
pre_configure() {