summaryrefslogtreecommitdiff
path: root/mpd
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2021-08-08 18:07:55 +0200
committerTim Biermann <tbier@posteo.de>2021-08-08 18:07:55 +0200
commitf7abdc7338027e83704cd37323c4e527b8b48086 (patch)
treedf841d7e363e0e70951bfccd557d2f4320cc0807 /mpd
parente63a60348a67b4e6e2a987cddd7c9cbc5e01215b (diff)
downloadcontrib-f7abdc7338027e83704cd37323c4e527b8b48086.tar.gz
contrib-f7abdc7338027e83704cd37323c4e527b8b48086.tar.xz
mpd: 0.22.9 -> 0.22.10
Diffstat (limited to 'mpd')
-rw-r--r--mpd/.signature6
-rw-r--r--mpd/Pkgfile56
2 files changed, 53 insertions, 9 deletions
diff --git a/mpd/.signature b/mpd/.signature
index 0a482be8d..44ff42a65 100644
--- a/mpd/.signature
+++ b/mpd/.signature
@@ -1,6 +1,6 @@
untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF3+DC9utcU37u8rxoTbr72DbtjTqGuBr8XmY1p5vbjZtJELUY+/9BMWJCVOTpAzULzVo5ZESiUZeKFQmYctUbmQA=
-SHA256 (Pkgfile) = 0ec0888151bca093ad5964aa698e1e9090da8a2cb88da08f04d3cbf2d41462e2
+RWSagIOpLGJF32vIf0lclUf+S43es0zfM6z2wbKmX9cWM4FSYEz5RHcjtWaNl4GimxbZAPIVupbu/PbB9I9/mnqKFdNdP2h+ogo=
+SHA256 (Pkgfile) = 6bd76bb2b7235d5e73a58f3ae131155cbeea589c21e04eddf6d71de31e7aaad7
SHA256 (.footprint) = fbed54c68de1c373369d75e82e5ae5c6fb470a1841286a16a135ce21deb42de9
-SHA256 (mpd-0.22.9.tar.xz) = f937403297c2240bd4a569f4b937ee7ab17398a5284ba9df4d6d4c3a0512bc64
+SHA256 (mpd-0.22.10.tar.xz) = 07c82535e9999c3d4a099d8e652c88724635125b3c9f265ba9b6f2974ff9e614
SHA256 (mpd) = ec90dbf45d72c30b0837e2caed55df9c28b00416a92838012e1aea8cfe704ce3
diff --git a/mpd/Pkgfile b/mpd/Pkgfile
index 84c290d0c..7ed81a742 100644
--- a/mpd/Pkgfile
+++ b/mpd/Pkgfile
@@ -2,21 +2,64 @@
# URL: https://www.musicpd.org/
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: boost meson ninja
-# Optional: audiofile faad2 flac python3-sphinx
+# Optional: alsa-lib audiofile avahi chromaprint dbus faad2 ffmpeg flac fluidsynth icu jack lame libcdio-paranoia libid3tag libisofs libmad libmikmod libmodplug libmpcdec libsamplerate libsndfile libsoxr liburing libvorbis mpg123 opus pipewire pulseaudio python3-sphinx samba twolame wavpack yajl zziplib
name=mpd
-version=0.22.9
+version=0.22.10
release=1
-#source=(https://www.musicpd.org/download/mpd/$version/$name-$version.tar.xz mpd)
source=(https://www.musicpd.org/download/mpd/${version%.*}/$name-$version.tar.xz mpd)
build() {
- meson setup $name-$version build \
+ # optional features {{{
+ prt-get isinst alsa-lib && PKGMK_MPD+=' -D alsa=enabled'
+ prt-get isinst audiofile && PKGMK_MPD+=' -D audiofile=enabled'
+ prt-get isinst chromaprint && PKGMK_MPD+=' -D chromaprint=enabled'
+ prt-get isinst dbus && PKGMK_MPD+=' -D dbus=enabled'
+ prt-get isinst faad2 && PKGMK_MPD+=' -D faad=enabled'
+ prt-get isinst ffmpeg && PKGMK_MPD+=' -D ffmpeg=enabled'
+ prt-get isinst flac && PKGMK_MPD+=' -D flac=enabled'
+ prt-get isinst fluidsynth && PKGMK_MPD+=' -D fluidsynth=enabled'
+ prt-get isinst icu && PKGMK_MPD+=' -D icu=enabled'
+ prt-get isinst jack && PKGMK_MPD+=' -D jack=enabled'
+ prt-get isinst lame && PKGMK_MPD+=' -D lame=enabled'
+ prt-get isinst libcdio-paranoia && PKGMK_MPD+=' -D cdio_paranoia=enabled'
+ prt-get isinst libid3tag && PKGMK_MPD+=' -D id3tag=enabled'
+ prt-get isinst libisofs && PKGMK_MPD+=' -D iso9660=enabled'
+ prt-get isinst libmad && PKGMK_MPD+=' -D mad=enabled'
+ prt-get isinst libmkikmod && PKGMK_MPD+=' -D mikmod=enabled'
+ prt-get isinst libmodplug && PKGMK_MPD+=' -D modplug=enabled'
+ #prt-get isinst libmpcdec && PKGMK_MPD+=' -D mpcdec=enabled'
+ prt-get isinst libsamplerate && PKGMK_MPD+=' -D libsamplerate=enabled'
+ prt-get isinst libsndfile && PKGMK_MPD+=' -D libsndfile=enabled'
+ prt-get isinst libsoxr && PKGMK_MPD+=' -D libsoxr=enabled'
+ prt-get isinst liburing && PKGMK_MPD+=' -D io_uring=enabled'
+ prt-get isinst libvorbis && PKGMK_MPD+=' -D libvorbis=enabled'
+ prt-get isinst mpg123 && PKGMK_MPD+=' -D mpg123=enabled'
+ prt-get isinst opus && PKGMK_MPD+=' -D opus=enabled'
+ #prt-get isinst pipewire && PKGMK_MPD+=' -D pipewire=enabled'
+ prt-get isinst pulseaudio && PKGMK_MPD+=' -D pulse=enabled'
+ prt-get isinst samba && PKGMK_MPD+=' -D smbclient=enabled'
+ prt-get isinst twolame && PKGMK_MPD+=' -D twolame=enabled'
+ prt-get isinst wavpack && PKGMK_MPD+=' -D wavpack=enabled'
+ prt-get isinst yajl && PKGMK_MPD+=' -D yajl=enabled'
+ prt-get isinst zziplib && PKGMK_MPD+=' -D zzip=enabled'
+ # }}}
+
+ meson setup $name-$version build $PKGMK_MPD \
--prefix=/usr \
--sysconfdir=/etc/mpd \
--buildtype=plain \
- -Dmpcdec=disabled \
- -Ddocumentation=disabled
+ --wrap-mode nodownload \
+ -D b_lto=true \
+ -D b_pie=true \
+ --auto-features disabled \
+ -D curl=enabled \
+ -D bzip2=enabled \
+ -D iconv=enabled \
+ -D ipv6=enabled \
+ -D pcre=enabled \
+ -D sqlite=enabled \
+ -D html_manual=false
meson compile -C build -j ${JOBS-1}
DESTDIR=$PKG meson install -C build
@@ -25,3 +68,4 @@ build() {
rm -r $PKG/usr/share/doc
}
+# vim: foldmethod=marker foldlevelstart=1

Generated by cgit