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

Anatol Pomozov anatolik at archlinux.org
Fri Apr 3 02:09:43 UTC 2015


    Date: Friday, April 3, 2015 @ 04:09:43
  Author: anatolik
Revision: 130555

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

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

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

Copied: shairport-sync/repos/community-i686/PKGBUILD (from rev 130554, shairport-sync/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2015-04-03 02:09:43 UTC (rev 130555)
@@ -0,0 +1,41 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=shairport-sync
+pkgver=2.2.2
+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/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=('5360f4bd6a6b9678a8d7d3c2006db2146cda2d69'
+          '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-i686/remove-init.d.patch (from rev 130554, shairport-sync/trunk/remove-init.d.patch)
===================================================================
--- community-i686/remove-init.d.patch	                        (rev 0)
+++ community-i686/remove-init.d.patch	2015-04-03 02:09:43 UTC (rev 130555)
@@ -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-i686/shairport-sync.conf (from rev 130554, shairport-sync/trunk/shairport-sync.conf)
===================================================================
--- community-i686/shairport-sync.conf	                        (rev 0)
+++ community-i686/shairport-sync.conf	2015-04-03 02:09:43 UTC (rev 130555)
@@ -0,0 +1,2 @@
+# ShairportSync Daemon options
+SHAIRPORT_ARGS=""

Copied: shairport-sync/repos/community-i686/shairport-sync.install (from rev 130554, shairport-sync/trunk/shairport-sync.install)
===================================================================
--- community-i686/shairport-sync.install	                        (rev 0)
+++ community-i686/shairport-sync.install	2015-04-03 02:09:43 UTC (rev 130555)
@@ -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-i686/shairport-sync.service (from rev 130554, shairport-sync/trunk/shairport-sync.service)
===================================================================
--- community-i686/shairport-sync.service	                        (rev 0)
+++ community-i686/shairport-sync.service	2015-04-03 02:09:43 UTC (rev 130555)
@@ -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-x86_64/PKGBUILD (from rev 130554, shairport-sync/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2015-04-03 02:09:43 UTC (rev 130555)
@@ -0,0 +1,41 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail.com>
+
+pkgname=shairport-sync
+pkgver=2.2.2
+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/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=('5360f4bd6a6b9678a8d7d3c2006db2146cda2d69'
+          '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-x86_64/remove-init.d.patch (from rev 130554, shairport-sync/trunk/remove-init.d.patch)
===================================================================
--- community-x86_64/remove-init.d.patch	                        (rev 0)
+++ community-x86_64/remove-init.d.patch	2015-04-03 02:09:43 UTC (rev 130555)
@@ -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-x86_64/shairport-sync.conf (from rev 130554, shairport-sync/trunk/shairport-sync.conf)
===================================================================
--- community-x86_64/shairport-sync.conf	                        (rev 0)
+++ community-x86_64/shairport-sync.conf	2015-04-03 02:09:43 UTC (rev 130555)
@@ -0,0 +1,2 @@
+# ShairportSync Daemon options
+SHAIRPORT_ARGS=""

Copied: shairport-sync/repos/community-x86_64/shairport-sync.install (from rev 130554, shairport-sync/trunk/shairport-sync.install)
===================================================================
--- community-x86_64/shairport-sync.install	                        (rev 0)
+++ community-x86_64/shairport-sync.install	2015-04-03 02:09:43 UTC (rev 130555)
@@ -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-x86_64/shairport-sync.service (from rev 130554, shairport-sync/trunk/shairport-sync.service)
===================================================================
--- community-x86_64/shairport-sync.service	                        (rev 0)
+++ community-x86_64/shairport-sync.service	2015-04-03 02:09:43 UTC (rev 130555)
@@ -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