mpd: add sndio support
This commit is contained in:
parent
c2cb2d6fd0
commit
4749ab68f5
|
@ -1,14 +1,14 @@
|
||||||
# Template file for 'mpd'
|
# Template file for 'mpd'
|
||||||
pkgname=mpd
|
pkgname=mpd
|
||||||
version=0.20.13
|
version=0.20.13
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-configure
|
build_style=gnu-configure
|
||||||
configure_args="--enable-opus --enable-mikmod --enable-neighbor-plugins
|
configure_args="--enable-opus --enable-mikmod --enable-neighbor-plugins
|
||||||
--enable-soundcloud --enable-pipe-output --disable-twolame-encoder
|
--enable-soundcloud --enable-pipe-output --disable-twolame-encoder
|
||||||
--disable-sidplay --enable-bzip2 --enable-zzip $(vopt_enable jack)
|
--disable-sidplay --enable-bzip2 --enable-zzip $(vopt_enable jack)
|
||||||
$(vopt_enable lame lame-encoder) $(vopt_enable mpcdec mpc)
|
$(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 libao ao) --disable-systemd-daemon"
|
$(vopt_enable libao ao) $(vopt_enable sndio sndio) --disable-systemd-daemon"
|
||||||
hostmakedepends="pkg-config"
|
hostmakedepends="pkg-config"
|
||||||
makedepends="
|
makedepends="
|
||||||
ffmpeg-devel libmodplug-devel libmad-devel libcurl-devel faad2-devel
|
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
|
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)
|
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 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"
|
conf_files="/etc/mpd.conf"
|
||||||
system_accounts="mpd"
|
system_accounts="mpd"
|
||||||
mpd_homedir="/var/lib/mpd"
|
mpd_homedir="/var/lib/mpd"
|
||||||
|
@ -30,8 +31,8 @@ distfiles="http://www.musicpd.org/download/mpd/${version%.*}/mpd-${version}.tar.
|
||||||
checksum=46c1c534d80a52de00263e8ef43a6011ff9d765232443749539ef26b1b48ff40
|
checksum=46c1c534d80a52de00263e8ef43a6011ff9d765232443749539ef26b1b48ff40
|
||||||
|
|
||||||
# Package build options
|
# Package build options
|
||||||
build_options="jack lame mpcdec pulseaudio libao wavpack"
|
build_options="jack lame mpcdec pulseaudio libao wavpack sndio"
|
||||||
build_options_default="pulseaudio libao"
|
build_options_default="pulseaudio libao sndio"
|
||||||
|
|
||||||
pre_configure() {
|
pre_configure() {
|
||||||
sed -i '/^doc_DATA =/s,doc/mpdconf.example,,' Makefile.in
|
sed -i '/^doc_DATA =/s,doc/mpdconf.example,,' Makefile.in
|
||||||
|
|
Loading…
Reference in New Issue