[arch-commits] Commit in mpd/repos (10 files)
Evangelos Foutras
foutrelis at archlinux.org
Tue Apr 25 07:52:23 UTC 2017
Date: Tuesday, April 25, 2017 @ 07:52:22
Author: foutrelis
Revision: 294622
archrelease: copy trunk to staging-i686, staging-x86_64
Added:
mpd/repos/staging-i686/
mpd/repos/staging-i686/PKGBUILD
(from rev 294621, mpd/trunk/PKGBUILD)
mpd/repos/staging-i686/conf
(from rev 294621, mpd/trunk/conf)
mpd/repos/staging-i686/install
(from rev 294621, mpd/trunk/install)
mpd/repos/staging-i686/tmpfiles.d
(from rev 294621, mpd/trunk/tmpfiles.d)
mpd/repos/staging-x86_64/
mpd/repos/staging-x86_64/PKGBUILD
(from rev 294621, mpd/trunk/PKGBUILD)
mpd/repos/staging-x86_64/conf
(from rev 294621, mpd/trunk/conf)
mpd/repos/staging-x86_64/install
(from rev 294621, mpd/trunk/install)
mpd/repos/staging-x86_64/tmpfiles.d
(from rev 294621, mpd/trunk/tmpfiles.d)
---------------------------+
staging-i686/PKGBUILD | 60 ++++++++++++++++++++++++++++++++++++++++++++
staging-i686/conf | 6 ++++
staging-i686/install | 5 +++
staging-i686/tmpfiles.d | 1
staging-x86_64/PKGBUILD | 60 ++++++++++++++++++++++++++++++++++++++++++++
staging-x86_64/conf | 6 ++++
staging-x86_64/install | 5 +++
staging-x86_64/tmpfiles.d | 1
8 files changed, 144 insertions(+)
Copied: mpd/repos/staging-i686/PKGBUILD (from rev 294621, mpd/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD (rev 0)
+++ staging-i686/PKGBUILD 2017-04-25 07:52:22 UTC (rev 294622)
@@ -0,0 +1,60 @@
+# $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.6
+pkgrel=2
+pkgdesc='Flexible, powerful, server-side application for playing music'
+url='https://www.musicpd.org/'
+license=('GPL')
+arch=('i686' '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' 'libcdio-paranoia'
+ 'libgme')
+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'
+ 'conf')
+sha256sums=('f4055e1189e5cc00e83706b2e0b5ead924ced0303e073d7802ee9f9a8eba4b47'
+ 'SKIP'
+ 'c1683ba35774c85e16c70e89f7e2ed1c09619512b1a273daabbd5e34d40439bd'
+ 'f40f68205834ca53cea3372e930bfe6c2f9ecc9df3b1605df2fec63a658b2e03')
+
+backup=('etc/mpd.conf')
+install=install
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-cdio-paranoia \
+ --enable-libmpdclient \
+ --enable-jack \
+ --enable-soundcloud \
+ --enable-pipe-output \
+ --enable-pulse \
+ --disable-sidplay \
+ --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 -d -g 45 -o 45 "${pkgdir}"/var/lib/mpd{,/playlists}
+
+ 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-i686/conf (from rev 294621, mpd/trunk/conf)
===================================================================
--- staging-i686/conf (rev 0)
+++ staging-i686/conf 2017-04-25 07:52:22 UTC (rev 294622)
@@ -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-i686/install (from rev 294621, mpd/trunk/install)
===================================================================
--- staging-i686/install (rev 0)
+++ staging-i686/install 2017-04-25 07:52:22 UTC (rev 294622)
@@ -0,0 +1,5 @@
+post_install() {
+ getent group mpd &>/dev/null || groupadd -r -g 45 mpd >/dev/null
+ getent passwd mpd &>/dev/null || useradd -r -u 45 -g mpd -d /var/lib/mpd -s /bin/false -G audio mpd >/dev/null
+ usr/bin/systemd-tmpfiles --create mpd.conf || true
+}
Copied: mpd/repos/staging-i686/tmpfiles.d (from rev 294621, mpd/trunk/tmpfiles.d)
===================================================================
--- staging-i686/tmpfiles.d (rev 0)
+++ staging-i686/tmpfiles.d 2017-04-25 07:52:22 UTC (rev 294622)
@@ -0,0 +1 @@
+d /run/mpd 0755 mpd mpd
Copied: mpd/repos/staging-x86_64/PKGBUILD (from rev 294621, mpd/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD (rev 0)
+++ staging-x86_64/PKGBUILD 2017-04-25 07:52:22 UTC (rev 294622)
@@ -0,0 +1,60 @@
+# $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.6
+pkgrel=2
+pkgdesc='Flexible, powerful, server-side application for playing music'
+url='https://www.musicpd.org/'
+license=('GPL')
+arch=('i686' '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' 'libcdio-paranoia'
+ 'libgme')
+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'
+ 'conf')
+sha256sums=('f4055e1189e5cc00e83706b2e0b5ead924ced0303e073d7802ee9f9a8eba4b47'
+ 'SKIP'
+ 'c1683ba35774c85e16c70e89f7e2ed1c09619512b1a273daabbd5e34d40439bd'
+ 'f40f68205834ca53cea3372e930bfe6c2f9ecc9df3b1605df2fec63a658b2e03')
+
+backup=('etc/mpd.conf')
+install=install
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-cdio-paranoia \
+ --enable-libmpdclient \
+ --enable-jack \
+ --enable-soundcloud \
+ --enable-pipe-output \
+ --enable-pulse \
+ --disable-sidplay \
+ --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 -d -g 45 -o 45 "${pkgdir}"/var/lib/mpd{,/playlists}
+
+ 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 294621, mpd/trunk/conf)
===================================================================
--- staging-x86_64/conf (rev 0)
+++ staging-x86_64/conf 2017-04-25 07:52:22 UTC (rev 294622)
@@ -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/install (from rev 294621, mpd/trunk/install)
===================================================================
--- staging-x86_64/install (rev 0)
+++ staging-x86_64/install 2017-04-25 07:52:22 UTC (rev 294622)
@@ -0,0 +1,5 @@
+post_install() {
+ getent group mpd &>/dev/null || groupadd -r -g 45 mpd >/dev/null
+ getent passwd mpd &>/dev/null || useradd -r -u 45 -g mpd -d /var/lib/mpd -s /bin/false -G audio mpd >/dev/null
+ usr/bin/systemd-tmpfiles --create mpd.conf || true
+}
Copied: mpd/repos/staging-x86_64/tmpfiles.d (from rev 294621, mpd/trunk/tmpfiles.d)
===================================================================
--- staging-x86_64/tmpfiles.d (rev 0)
+++ staging-x86_64/tmpfiles.d 2017-04-25 07:52:22 UTC (rev 294622)
@@ -0,0 +1 @@
+d /run/mpd 0755 mpd mpd
More information about the arch-commits
mailing list