mpd: update to 0.21.1.

This commit is contained in:
maxice8 2018-11-01 16:53:10 -03:00 committed by maxice8
parent c992f4bc58
commit 56d8f13acb
1 changed files with 23 additions and 14 deletions

View File

@ -1,24 +1,31 @@
# Template file for 'mpd'
pkgname=mpd
version=0.20.23
version=0.21.1
revision=1
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 cdio cdio-paranoia)
$(vopt_enable libao ao) $(vopt_enable sndio sndio) --disable-systemd-daemon"
build_style=meson
configure_args="-Dopus=enabled -Dmikmod=enabled -Dneighbor=true
-Dsoundcloud=enabled -Dpipe=true -Dtwolame=enabled -Dsidplay=enabled
-Dbzip2=enabled -Dzzip=enabled -Dsmbclient=disabled -Dsystemd=disabled
-Dqobuz=disabled -Dlibwrap=disabled -Dchromaprint=enabled -Dsoxr=enabled
-Dshout=disabled -Dadplug=disabled -Dfluidsynth=disabled -Dgme=disabled
-Dwildmidi=disabled -Dsidplay=disabled -Dshine=disabled -Ddocumentation=true
-Daudiofile=enabled -Djack=$(vopt_if jack enabled disabled)
-Dlame=$(vopt_if lame enabled disabled) -Dao=$(vopt_if ao enabled disabled)
-Dmpcdec=$(vopt_if mpcdec enabled disabled) -Dsndio=$(vopt_if sndio enabled disabled)
-Dpulse=$(vopt_if pulseaudio enabled disabled) -Dwavpack=$(vopt_if wavpack enabled disabled)
-Dcdio_paranoia=$(vopt_if cdio enabled disabled) -Dopenal=$(vopt_if openal enabled disabled)"
hostmakedepends="pkg-config"
makedepends="avahi-glib-libs-devel boost-devel faad2-devel ffmpeg-devel
libcurl-devel libid3tag-devel libmad-devel libmikmod-devel libmms-devel
libmodplug-devel libmpdclient-devel libnfs-devel libsamplerate-devel
libsoup-devel libupnp1.8-devel mpg123-devel opus-devel samba-devel yajl-devel
zziplib-devel $(vopt_if cdio 'libcdio-paranoia-devel')
libsoup-devel libupnp1.8-devel mpg123-devel opus-devel yajl-devel
zziplib-devel chromaprint-devel libsoxr-devel audiofile-devel
twolame-devel $(vopt_if cdio 'libcdio-paranoia-devel')
$(vopt_if jack 'jack-devel') $(vopt_if lame 'lame-devel')
$(vopt_if libao 'libao-devel') $(vopt_if mpcdec 'libmpcdec-devel')
$(vopt_if pulseaudio 'pulseaudio-devel') $(vopt_if sndio 'sndio-devel')
$(vopt_if wavpack 'wavpack-devel')"
$(vopt_if wavpack 'wavpack-devel') $(vopt_if soxr 'libsoxr-devel')
$(vopt_if openal 'libopenal-devel')"
conf_files="/etc/mpd.conf"
system_accounts="mpd"
mpd_homedir="/var/lib/mpd"
@ -27,15 +34,17 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2.0-or-later"
homepage="https://www.musicpd.org/"
distfiles="https://www.musicpd.org/download/mpd/${version%.*}/mpd-${version}.tar.xz"
checksum=503e5f9f237290f568ff7956ab2f9aed563594bf749f19b8fe994fb21434afea
checksum=5674e791a6f3687a312431fd7e14d9d27fc62e21b869ff6b522bf6ba1bb5c069
# Package build options
build_options="jack lame mpcdec pulseaudio libao wavpack sndio cdio"
build_options="jack lame mpcdec pulseaudio libao wavpack sndio cdio openal"
desc_option_cdio="Enable libcdio_paranoia input plugin"
desc_option_openal="Enable OpenAL output plugin"
build_options_default="pulseaudio libao sndio cdio"
pre_configure() {
sed -i '/^doc_DATA =/s,doc/mpdconf.example,,' Makefile.in
# We only want manpages
sed -n -e '1p' -i doc/meson.build
}
post_install() {