mpd: update to 0.18.14
This commit is contained in:
parent
280f37ed20
commit
2681ea670b
|
@ -1,18 +1,22 @@
|
|||
# Template file for 'mpd'
|
||||
pkgname=mpd
|
||||
version=0.18.13
|
||||
version=0.18.14
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
configure_args="
|
||||
--enable-soundcloud --enable-pipe-output --disable-twolame-encoder
|
||||
--disable-sidplay --enable-bzip2 --enable-zzip"
|
||||
--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)"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="
|
||||
ffmpeg-devel>=2.1 libmodplug-devel libmad-devel libcurl-devel faad2-devel
|
||||
sqlite-devel libmms-devel avahi-glib-libs-devel libid3tag-devel
|
||||
yajl-devel>=2.0.4 libogg-devel libflac-devel libsoup-devel bzip2-devel
|
||||
libmikmod-devel libsndfile-devel alsa-lib-devel mpg123-devel libsamplerate-devel
|
||||
libcdio-devel zziplib-devel libmpdclient-devel"
|
||||
libcdio-devel zziplib-devel libmpdclient-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)"
|
||||
conf_files="/etc/mpd.conf"
|
||||
system_accounts="mpd"
|
||||
mpd_homedir="/var/lib/mpd"
|
||||
|
@ -22,40 +26,12 @@ maintainer="Juan RP <xtraeme@gmail.com>"
|
|||
license="GPL-2"
|
||||
homepage="http://www.musicpd.org/"
|
||||
distfiles="http://www.musicpd.org/download/mpd/${version%.*}/mpd-${version}.tar.xz"
|
||||
checksum=9f8e5bbbce768173ed78521fdaa14cb415d5d5b2cec3fa3815646caf132b2aaa
|
||||
checksum=8a33225f8abeb312f794ded01aaaa14e61ddcaf3723d298e266892343dae285d
|
||||
|
||||
# Package build options
|
||||
build_options="jack lame mpcdec pulseaudio systemd wavpack"
|
||||
build_options_default="pulseaudio"
|
||||
|
||||
if [ "$build_option_jack" ]; then
|
||||
configure_args+=" --enable-jack"
|
||||
makedepends+=" jack-devel"
|
||||
else
|
||||
configure_args+=" --disable-jack"
|
||||
fi
|
||||
|
||||
if [ "$build_option_lame" ]; then
|
||||
configure_args+=" --enable-lame-encoder"
|
||||
makedepends+=" lame-devel"
|
||||
else
|
||||
configure_args+=" --disable-lame-encoder"
|
||||
fi
|
||||
|
||||
if [ "$build_option_mpcdec" ]; then
|
||||
configure_args+=" --enable-mpc"
|
||||
makedepends+=" libmpcdec-devel"
|
||||
else
|
||||
configure_args+=" --disable-mpc"
|
||||
fi
|
||||
|
||||
if [ "$build_option_pulseaudio" ]; then
|
||||
configure_args+=" --enable-pulse"
|
||||
makedepends+=" pulseaudio-devel"
|
||||
else
|
||||
configure_args+=" --disable-pulse"
|
||||
fi
|
||||
|
||||
if [ "$build_option_systemd" ]; then
|
||||
configure_args+=" --enable-systemd-daemon --with-systemdsystemunitdir=/usr/lib/systemd/system"
|
||||
makedepends+=" systemd-devel"
|
||||
|
@ -64,13 +40,6 @@ else
|
|||
configure_args+=" --disable-systemd-daemon"
|
||||
fi
|
||||
|
||||
if [ "$build_option_wavpack" ]; then
|
||||
configure_args+=" --enable-wavpack"
|
||||
makedepends+=" wavpack-devel"
|
||||
else
|
||||
configure_args+=" --disable-wavpack"
|
||||
fi
|
||||
|
||||
pre_configure() {
|
||||
sed -i '/^doc_DATA =/s,doc/mpdconf.example,,' Makefile.in
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue