[arch-commits] Commit in shairport-sync/repos (6 files)

Jelle van der Waa jelle at archlinux.org
Thu Mar 16 19:46:45 UTC 2017


    Date: Thursday, March 16, 2017 @ 19:46:44
  Author: jelle
Revision: 216801

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  shairport-sync/repos/community-staging-i686/
  shairport-sync/repos/community-staging-i686/PKGBUILD
    (from rev 216800, shairport-sync/trunk/PKGBUILD)
  shairport-sync/repos/community-staging-i686/shairport-sync.install
    (from rev 216800, shairport-sync/trunk/shairport-sync.install)
  shairport-sync/repos/community-staging-x86_64/
  shairport-sync/repos/community-staging-x86_64/PKGBUILD
    (from rev 216800, shairport-sync/trunk/PKGBUILD)
  shairport-sync/repos/community-staging-x86_64/shairport-sync.install
    (from rev 216800, shairport-sync/trunk/shairport-sync.install)

-------------------------------------------------+
 community-staging-i686/PKGBUILD                 |   32 ++++++++++++++++++++++
 community-staging-i686/shairport-sync.install   |   11 +++++++
 community-staging-x86_64/PKGBUILD               |   32 ++++++++++++++++++++++
 community-staging-x86_64/shairport-sync.install |   11 +++++++
 4 files changed, 86 insertions(+)

Copied: shairport-sync/repos/community-staging-i686/PKGBUILD (from rev 216800, shairport-sync/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2017-03-16 19:46:44 UTC (rev 216801)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=shairport-sync
+pkgver=2.8.6
+pkgrel=2
+pkgdesc='Emulates an AirPort Express for the purpose of streaming music from iTunes and compatible iPods and iPhones'
+url='https://github.com/mikebrady/shairport-sync'
+arch=(i686 x86_64)
+license=(GPL)
+backup=(etc/shairport-sync.conf)
+install=shairport-sync.install
+depends=(openssl avahi libsoxr popt alsa-lib libconfig libpulse)
+source=(shairport-sync-$pkgver.zip::https://github.com/mikebrady/shairport-sync/archive/$pkgver.zip)
+sha1sums=('d835b239cd1f9335c849d60c7af76588d0a66caa')
+
+build() {
+  cd shairport-sync-$pkgver
+
+  autoreconf -i -f
+  ./configure --prefix=/usr --sysconfdir=/etc --with-alsa --with-pulseaudio --with-avahi --with-ssl=openssl --with-soxr --with-dns_sd --with-pkg-config --with-systemd --with-configfiles
+  make
+
+  sed 's|/usr/local/bin/|/usr/bin/|' -i scripts/shairport-sync.service
+}
+
+package() {
+  cd shairport-sync-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -D -m664 LICENSES "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm "$pkgdir"/etc/shairport-sync.conf.sample
+}

Copied: shairport-sync/repos/community-staging-i686/shairport-sync.install (from rev 216800, shairport-sync/trunk/shairport-sync.install)
===================================================================
--- community-staging-i686/shairport-sync.install	                        (rev 0)
+++ community-staging-i686/shairport-sync.install	2017-03-16 19:46:44 UTC (rev 216801)
@@ -0,0 +1,11 @@
+post_install() {
+  getent group shairport-sync &>/dev/null || groupadd --system shairport-sync >/dev/null
+  getent passwd shairport-sync &> /dev/null || useradd --system -c 'ShairportSync AirPort receiver' -d /var/lib/shairport-sync -m -g shairport-sync -s /bin/false -G audio shairport-sync >/dev/null
+
+  [ -f /etc/conf.d/shairport-sync ] && echo "ShairportSync config has been moved to /etc/shairport-sync.conf. Please remove old config file /etc/conf.d/shairport-sync"
+  true
+}
+
+post_upgrade() {
+  post_install
+}

Copied: shairport-sync/repos/community-staging-x86_64/PKGBUILD (from rev 216800, shairport-sync/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2017-03-16 19:46:44 UTC (rev 216801)
@@ -0,0 +1,32 @@
+# $Id$
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=shairport-sync
+pkgver=2.8.6
+pkgrel=2
+pkgdesc='Emulates an AirPort Express for the purpose of streaming music from iTunes and compatible iPods and iPhones'
+url='https://github.com/mikebrady/shairport-sync'
+arch=(i686 x86_64)
+license=(GPL)
+backup=(etc/shairport-sync.conf)
+install=shairport-sync.install
+depends=(openssl avahi libsoxr popt alsa-lib libconfig libpulse)
+source=(shairport-sync-$pkgver.zip::https://github.com/mikebrady/shairport-sync/archive/$pkgver.zip)
+sha1sums=('d835b239cd1f9335c849d60c7af76588d0a66caa')
+
+build() {
+  cd shairport-sync-$pkgver
+
+  autoreconf -i -f
+  ./configure --prefix=/usr --sysconfdir=/etc --with-alsa --with-pulseaudio --with-avahi --with-ssl=openssl --with-soxr --with-dns_sd --with-pkg-config --with-systemd --with-configfiles
+  make
+
+  sed 's|/usr/local/bin/|/usr/bin/|' -i scripts/shairport-sync.service
+}
+
+package() {
+  cd shairport-sync-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -D -m664 LICENSES "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  rm "$pkgdir"/etc/shairport-sync.conf.sample
+}

Copied: shairport-sync/repos/community-staging-x86_64/shairport-sync.install (from rev 216800, shairport-sync/trunk/shairport-sync.install)
===================================================================
--- community-staging-x86_64/shairport-sync.install	                        (rev 0)
+++ community-staging-x86_64/shairport-sync.install	2017-03-16 19:46:44 UTC (rev 216801)
@@ -0,0 +1,11 @@
+post_install() {
+  getent group shairport-sync &>/dev/null || groupadd --system shairport-sync >/dev/null
+  getent passwd shairport-sync &> /dev/null || useradd --system -c 'ShairportSync AirPort receiver' -d /var/lib/shairport-sync -m -g shairport-sync -s /bin/false -G audio shairport-sync >/dev/null
+
+  [ -f /etc/conf.d/shairport-sync ] && echo "ShairportSync config has been moved to /etc/shairport-sync.conf. Please remove old config file /etc/conf.d/shairport-sync"
+  true
+}
+
+post_upgrade() {
+  post_install
+}


More information about the arch-commits mailing list