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

Anatol Pomozov anatolik at archlinux.org
Sat May 30 04:33:56 UTC 2015


    Date: Saturday, May 30, 2015 @ 06:33:55
  Author: anatolik
Revision: 134325

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

Added:
  shairport-sync/repos/community-testing-i686/
  shairport-sync/repos/community-testing-i686/PKGBUILD
    (from rev 134324, shairport-sync/trunk/PKGBUILD)
  shairport-sync/repos/community-testing-i686/remove-init.d.patch
    (from rev 134324, shairport-sync/trunk/remove-init.d.patch)
  shairport-sync/repos/community-testing-i686/shairport-sync.conf
    (from rev 134324, shairport-sync/trunk/shairport-sync.conf)
  shairport-sync/repos/community-testing-i686/shairport-sync.install
    (from rev 134324, shairport-sync/trunk/shairport-sync.install)
  shairport-sync/repos/community-testing-i686/shairport-sync.service
    (from rev 134324, shairport-sync/trunk/shairport-sync.service)
  shairport-sync/repos/community-testing-x86_64/
  shairport-sync/repos/community-testing-x86_64/PKGBUILD
    (from rev 134324, shairport-sync/trunk/PKGBUILD)
  shairport-sync/repos/community-testing-x86_64/remove-init.d.patch
    (from rev 134324, shairport-sync/trunk/remove-init.d.patch)
  shairport-sync/repos/community-testing-x86_64/shairport-sync.conf
    (from rev 134324, shairport-sync/trunk/shairport-sync.conf)
  shairport-sync/repos/community-testing-x86_64/shairport-sync.install
    (from rev 134324, shairport-sync/trunk/shairport-sync.install)
  shairport-sync/repos/community-testing-x86_64/shairport-sync.service
    (from rev 134324, shairport-sync/trunk/shairport-sync.service)

-------------------------------------------------+
 community-testing-i686/PKGBUILD                 |   41 ++++++++++++++++++++++
 community-testing-i686/remove-init.d.patch      |   12 ++++++
 community-testing-i686/shairport-sync.conf      |    2 +
 community-testing-i686/shairport-sync.install   |    9 ++++
 community-testing-i686/shairport-sync.service   |   14 +++++++
 community-testing-x86_64/PKGBUILD               |   41 ++++++++++++++++++++++
 community-testing-x86_64/remove-init.d.patch    |   12 ++++++
 community-testing-x86_64/shairport-sync.conf    |    2 +
 community-testing-x86_64/shairport-sync.install |    9 ++++
 community-testing-x86_64/shairport-sync.service |   14 +++++++
 10 files changed, 156 insertions(+)

Copied: shairport-sync/repos/community-testing-i686/PKGBUILD (from rev 134324, shairport-sync/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2015-05-30 04:33:55 UTC (rev 134325)
@@ -0,0 +1,41 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=shairport-sync
+pkgver=2.2.4
+pkgrel=1
+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/conf.d/shairport-sync)
+install=shairport-sync.install
+depends=(openssl avahi libsoxr popt alsa-lib)
+source=(shairport-sync-$pkgver.zip::https://github.com/mikebrady/shairport-sync/archive/$pkgver.zip
+        shairport-sync.service
+        shairport-sync.conf
+        remove-init.d.patch)
+sha1sums=('afbbba2d7d0c9f41b3c1e54db4a6288e14fb72b5'
+          '5b998234e1fbc31645285d8b1fbc5ea6cd69e850'
+          'eb937e306436af2e47e7ff1bec1eba88b14e0d81'
+          '48174838de1ef4672bd71511753f05fd845b7137')
+
+prepare() {
+  cd shairport-sync-$pkgver
+  patch -p1 < ../remove-init.d.patch
+}
+
+build() {
+  cd shairport-sync-$pkgver
+
+  autoreconf -i -f
+  ./configure --prefix=/usr --with-alsa --with-avahi --with-ssl=openssl --with-soxr --with-dns_sd
+  make
+}
+
+package() {
+  cd shairport-sync-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -D -m664 LICENSES "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -D -m644 "$srcdir"/shairport-sync.service "$pkgdir"/usr/lib/systemd/system/shairport-sync.service
+  install -D -m644 "$srcdir"/shairport-sync.conf "$pkgdir"/etc/conf.d/shairport-sync
+}

Copied: shairport-sync/repos/community-testing-i686/remove-init.d.patch (from rev 134324, shairport-sync/trunk/remove-init.d.patch)
===================================================================
--- community-testing-i686/remove-init.d.patch	                        (rev 0)
+++ community-testing-i686/remove-init.d.patch	2015-05-30 04:33:55 UTC (rev 134325)
@@ -0,0 +1,12 @@
+diff --git a/Makefile.am b/Makefile.am
+index ce1f0ba..9b32c2c 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -35,7 +35,3 @@ endif
+ if USE_DNS_SD
+ shairport_sync_SOURCES += mdns_dns_sd.c
+ endif
+-
+-install-exec-hook:
+-	[ -f /etc/init.d/shairport-sync ] || cp scripts/shairport-sync /etc/init.d/
+-	update-rc.d shairport-sync defaults 90 10

Copied: shairport-sync/repos/community-testing-i686/shairport-sync.conf (from rev 134324, shairport-sync/trunk/shairport-sync.conf)
===================================================================
--- community-testing-i686/shairport-sync.conf	                        (rev 0)
+++ community-testing-i686/shairport-sync.conf	2015-05-30 04:33:55 UTC (rev 134325)
@@ -0,0 +1,2 @@
+# ShairportSync Daemon options
+SHAIRPORT_ARGS=""

Copied: shairport-sync/repos/community-testing-i686/shairport-sync.install (from rev 134324, shairport-sync/trunk/shairport-sync.install)
===================================================================
--- community-testing-i686/shairport-sync.install	                        (rev 0)
+++ community-testing-i686/shairport-sync.install	2015-05-30 04:33:55 UTC (rev 134325)
@@ -0,0 +1,9 @@
+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
+  true
+}
+
+post_upgrade() {
+  post_install
+}
\ No newline at end of file

Copied: shairport-sync/repos/community-testing-i686/shairport-sync.service (from rev 134324, shairport-sync/trunk/shairport-sync.service)
===================================================================
--- community-testing-i686/shairport-sync.service	                        (rev 0)
+++ community-testing-i686/shairport-sync.service	2015-05-30 04:33:55 UTC (rev 134325)
@@ -0,0 +1,14 @@
+[Unit]
+Description=ShairportSync AirTunes receiver
+After=sound.target
+Requires=avahi-daemon.service
+After=avahi-daemon.service
+
+[Service]
+EnvironmentFile=/etc/conf.d/shairport-sync
+ExecStart=/usr/bin/shairport-sync "$SHAIRPORT_ARGS"
+User=shairport-sync
+Group=shairport-sync
+
+[Install]
+WantedBy=multi-user.target

Copied: shairport-sync/repos/community-testing-x86_64/PKGBUILD (from rev 134324, shairport-sync/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2015-05-30 04:33:55 UTC (rev 134325)
@@ -0,0 +1,41 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=shairport-sync
+pkgver=2.2.4
+pkgrel=1
+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/conf.d/shairport-sync)
+install=shairport-sync.install
+depends=(openssl avahi libsoxr popt alsa-lib)
+source=(shairport-sync-$pkgver.zip::https://github.com/mikebrady/shairport-sync/archive/$pkgver.zip
+        shairport-sync.service
+        shairport-sync.conf
+        remove-init.d.patch)
+sha1sums=('afbbba2d7d0c9f41b3c1e54db4a6288e14fb72b5'
+          '5b998234e1fbc31645285d8b1fbc5ea6cd69e850'
+          'eb937e306436af2e47e7ff1bec1eba88b14e0d81'
+          '48174838de1ef4672bd71511753f05fd845b7137')
+
+prepare() {
+  cd shairport-sync-$pkgver
+  patch -p1 < ../remove-init.d.patch
+}
+
+build() {
+  cd shairport-sync-$pkgver
+
+  autoreconf -i -f
+  ./configure --prefix=/usr --with-alsa --with-avahi --with-ssl=openssl --with-soxr --with-dns_sd
+  make
+}
+
+package() {
+  cd shairport-sync-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -D -m664 LICENSES "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+  install -D -m644 "$srcdir"/shairport-sync.service "$pkgdir"/usr/lib/systemd/system/shairport-sync.service
+  install -D -m644 "$srcdir"/shairport-sync.conf "$pkgdir"/etc/conf.d/shairport-sync
+}

Copied: shairport-sync/repos/community-testing-x86_64/remove-init.d.patch (from rev 134324, shairport-sync/trunk/remove-init.d.patch)
===================================================================
--- community-testing-x86_64/remove-init.d.patch	                        (rev 0)
+++ community-testing-x86_64/remove-init.d.patch	2015-05-30 04:33:55 UTC (rev 134325)
@@ -0,0 +1,12 @@
+diff --git a/Makefile.am b/Makefile.am
+index ce1f0ba..9b32c2c 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -35,7 +35,3 @@ endif
+ if USE_DNS_SD
+ shairport_sync_SOURCES += mdns_dns_sd.c
+ endif
+-
+-install-exec-hook:
+-	[ -f /etc/init.d/shairport-sync ] || cp scripts/shairport-sync /etc/init.d/
+-	update-rc.d shairport-sync defaults 90 10

Copied: shairport-sync/repos/community-testing-x86_64/shairport-sync.conf (from rev 134324, shairport-sync/trunk/shairport-sync.conf)
===================================================================
--- community-testing-x86_64/shairport-sync.conf	                        (rev 0)
+++ community-testing-x86_64/shairport-sync.conf	2015-05-30 04:33:55 UTC (rev 134325)
@@ -0,0 +1,2 @@
+# ShairportSync Daemon options
+SHAIRPORT_ARGS=""

Copied: shairport-sync/repos/community-testing-x86_64/shairport-sync.install (from rev 134324, shairport-sync/trunk/shairport-sync.install)
===================================================================
--- community-testing-x86_64/shairport-sync.install	                        (rev 0)
+++ community-testing-x86_64/shairport-sync.install	2015-05-30 04:33:55 UTC (rev 134325)
@@ -0,0 +1,9 @@
+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
+  true
+}
+
+post_upgrade() {
+  post_install
+}
\ No newline at end of file

Copied: shairport-sync/repos/community-testing-x86_64/shairport-sync.service (from rev 134324, shairport-sync/trunk/shairport-sync.service)
===================================================================
--- community-testing-x86_64/shairport-sync.service	                        (rev 0)
+++ community-testing-x86_64/shairport-sync.service	2015-05-30 04:33:55 UTC (rev 134325)
@@ -0,0 +1,14 @@
+[Unit]
+Description=ShairportSync AirTunes receiver
+After=sound.target
+Requires=avahi-daemon.service
+After=avahi-daemon.service
+
+[Service]
+EnvironmentFile=/etc/conf.d/shairport-sync
+ExecStart=/usr/bin/shairport-sync "$SHAIRPORT_ARGS"
+User=shairport-sync
+Group=shairport-sync
+
+[Install]
+WantedBy=multi-user.target



More information about the arch-commits mailing list