mpd: add sndio support

This commit is contained in:
lemmi 2017-12-19 05:57:18 +01:00
parent c2cb2d6fd0
commit 4749ab68f5
1 changed files with 6 additions and 5 deletions

View File

@ -1,14 +1,14 @@
# Template file for 'mpd'
pkgname=mpd
version=0.20.13
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 libao ao) --disable-systemd-daemon"
$(vopt_enable libao ao) $(vopt_enable sndio sndio) --disable-systemd-daemon"
hostmakedepends="pkg-config"
makedepends="
ffmpeg-devel libmodplug-devel libmad-devel libcurl-devel faad2-devel
@ -18,7 +18,8 @@ makedepends="
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)"
$(vopt_if wavpack wavpack-devel) $(vopt_if libao libao-devel)
$(vopt_if sndio sndio-devel)"
conf_files="/etc/mpd.conf"
system_accounts="mpd"
mpd_homedir="/var/lib/mpd"
@ -30,8 +31,8 @@ distfiles="http://www.musicpd.org/download/mpd/${version%.*}/mpd-${version}.tar.
checksum=46c1c534d80a52de00263e8ef43a6011ff9d765232443749539ef26b1b48ff40
# Package build options
build_options="jack lame mpcdec pulseaudio libao wavpack"
build_options_default="pulseaudio libao"
build_options="jack lame mpcdec pulseaudio libao wavpack sndio"
build_options_default="pulseaudio libao sndio"
pre_configure() {
sed -i '/^doc_DATA =/s,doc/mpdconf.example,,' Makefile.in