[arch-commits] Commit in mpd/repos (5 files)

Evangelos Foutras foutrelis at archlinux.org
Mon Aug 6 21:07:49 UTC 2018


    Date: Monday, August 6, 2018 @ 21:07:49
  Author: foutrelis
Revision: 331047

archrelease: copy trunk to staging-x86_64

Added:
  mpd/repos/staging-x86_64/
  mpd/repos/staging-x86_64/PKGBUILD
    (from rev 331046, mpd/trunk/PKGBUILD)
  mpd/repos/staging-x86_64/conf
    (from rev 331046, mpd/trunk/conf)
  mpd/repos/staging-x86_64/sysusers.d
    (from rev 331046, mpd/trunk/sysusers.d)
  mpd/repos/staging-x86_64/tmpfiles.d
    (from rev 331046, mpd/trunk/tmpfiles.d)

------------+
 PKGBUILD   |   62 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 conf       |    6 +++++
 sysusers.d |    2 +
 tmpfiles.d |    3 ++
 4 files changed, 73 insertions(+)

Copied: mpd/repos/staging-x86_64/PKGBUILD (from rev 331046, mpd/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2018-08-06 21:07:49 UTC (rev 331047)
@@ -0,0 +1,62 @@
+# $Id$
+# Maintainer: Gaetan Bisson <bisson at archlinux.org>
+# Contributor: Angel Velasquez <angvp at archlinux.org>
+# Contributor: Andrea Scarpino <andrea at archlinux.org>
+# Contributor: Damir Perisa <damir.perisa at bluewin.ch>
+# Contributor: Ben <ben at benmazer.net>
+
+pkgname=mpd
+pkgver=0.20.20
+pkgrel=3
+pkgdesc='Flexible, powerful, server-side application for playing music'
+url='https://www.musicpd.org/'
+license=('GPL')
+arch=('x86_64')
+depends=('libao' 'ffmpeg' 'libmodplug' 'audiofile' 'libshout' 'libmad' 'curl'
+	 'faad2' 'sqlite' 'jack' 'libmms' 'wavpack' 'avahi' 'libid3tag' 'yajl'
+	 'libmpdclient' 'icu' 'libupnp' 'libnfs' 'libsamplerate' 'libsoxr'
+	 'smbclient' 'libgme' 'zziplib' 'libsystemd')
+makedepends=('boost' 'doxygen')
+validpgpkeys=('0392335A78083894A4301C43236E8A58C6DB4512')
+#source=("https://www.musicpd.org/download/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.xz"{,.sig}
+source=("https://www.musicpd.org/download/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.xz"{,.sig}
+        'tmpfiles.d'
+        'sysusers.d'
+        'conf')
+sha256sums=('a9e458c6e07cdf62649de7722e1e5a7f13aa82eeb397bfbbebc07cf5cf273584'
+            'SKIP'
+            '2faa85c12449a5b3ca422ff1c1fa06d057c7e262a74bfa6298c914a92d6f2e7a'
+            '0b74c6e5db08daab3091dc15a6b0c75210ba2f9e98fa074f6cfd605a461056b6'
+            'f40f68205834ca53cea3372e930bfe6c2f9ecc9df3b1605df2fec63a658b2e03')
+
+backup=('etc/mpd.conf')
+
+build() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	./configure \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--enable-jack \
+		--enable-libmpdclient \
+		--enable-pipe-output \
+		--enable-pulse \
+		--enable-soundcloud \
+		--enable-zzip \
+		--disable-sidplay \
+		--enable-systemd-daemon \
+		--with-systemduserunitdir=/usr/lib/systemd/user \
+		--with-systemdsystemunitdir=/usr/lib/systemd/system \
+
+	make
+}
+
+package() {
+	cd "${srcdir}/${pkgname}-${pkgver}"
+	make DESTDIR="${pkgdir}" install
+	install -Dm644 ../conf "${pkgdir}"/etc/mpd.conf
+	install -Dm644 ../tmpfiles.d "${pkgdir}"/usr/lib/tmpfiles.d/mpd.conf
+	install -Dm644 ../sysusers.d "${pkgdir}"/usr/lib/sysusers.d/mpd.conf
+
+	sed '/\[Service\]/a User=mpd' -i "${pkgdir}"/usr/lib/systemd/system/mpd.service
+	sed '/WantedBy=/c WantedBy=default.target' -i "${pkgdir}"/usr/lib/systemd/system/mpd.service
+}

Copied: mpd/repos/staging-x86_64/conf (from rev 331046, mpd/trunk/conf)
===================================================================
--- staging-x86_64/conf	                        (rev 0)
+++ staging-x86_64/conf	2018-08-06 21:07:49 UTC (rev 331047)
@@ -0,0 +1,6 @@
+# See: /usr/share/doc/mpd/mpdconf.example
+
+pid_file "/run/mpd/mpd.pid"
+db_file "/var/lib/mpd/mpd.db"
+state_file "/var/lib/mpd/mpdstate"
+playlist_directory "/var/lib/mpd/playlists"

Copied: mpd/repos/staging-x86_64/sysusers.d (from rev 331046, mpd/trunk/sysusers.d)
===================================================================
--- staging-x86_64/sysusers.d	                        (rev 0)
+++ staging-x86_64/sysusers.d	2018-08-06 21:07:49 UTC (rev 331047)
@@ -0,0 +1,2 @@
+u mpd 45 - /var/lib/mpd
+m mpd audio

Copied: mpd/repos/staging-x86_64/tmpfiles.d (from rev 331046, mpd/trunk/tmpfiles.d)
===================================================================
--- staging-x86_64/tmpfiles.d	                        (rev 0)
+++ staging-x86_64/tmpfiles.d	2018-08-06 21:07:49 UTC (rev 331047)
@@ -0,0 +1,3 @@
+d /run/mpd 0755 mpd mpd
+d /var/lib/mpd 0755 mpd mpd
+d /var/lib/mpd/playlists 0755 mpd mpd



More information about the arch-commits mailing list