Date: Tuesday, November 1, 2022 @ 22:40:09
  Author: felixonmars
Revision: 1340473

archrelease: copy trunk to community-staging-x86_64

Added:
  shairport-sync/repos/community-staging-x86_64/
  shairport-sync/repos/community-staging-x86_64/PKGBUILD
    (from rev 1340472, shairport-sync/trunk/PKGBUILD)
  shairport-sync/repos/community-staging-x86_64/remove_useradd.patch
    (from rev 1340472, shairport-sync/trunk/remove_useradd.patch)
  shairport-sync/repos/community-staging-x86_64/shairport-sync.sysusers
    (from rev 1340472, shairport-sync/trunk/shairport-sync.sysusers)

-------------------------+
 PKGBUILD                |   42 ++++++++++++++++++++++++++++++++++++++++++
 remove_useradd.patch    |   13 +++++++++++++
 shairport-sync.sysusers |    3 +++
 3 files changed, 58 insertions(+)

Copied: shairport-sync/repos/community-staging-x86_64/PKGBUILD (from rev 
1340472, shairport-sync/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD                           (rev 0)
+++ community-staging-x86_64/PKGBUILD   2022-11-01 22:40:09 UTC (rev 1340473)
@@ -0,0 +1,42 @@
+# Maintainer: Anatol Pomozov <[email protected]>
+
+pkgname=shairport-sync
+pkgver=4.1
+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=(x86_64)
+license=(GPL)
+backup=(etc/shairport-sync.conf)
+depends=(openssl avahi libsoxr popt alsa-lib libconfig libpulse jack mosquitto 
libplist ffmpeg libsodium)
+makedepends=(xmltoman vim) # vim for xxd tool
+source=(shairport-sync-$pkgver.zip::https://github.com/mikebrady/shairport-sync/archive/$pkgver.zip
+        shairport-sync.sysusers
+        remove_useradd.patch)
+sha1sums=('1a1c6d5d87a086333e26f5c5e6c0f4a0eb678aff'
+          'b806f9cd3eeaf8585a51d79c7b5681e3d3e4748a'
+          'bce50eb33ff8573988c7132e5f4097e955082017')
+
+prepare() {
+  cd shairport-sync-$pkgver
+
+  patch -p1 < ../remove_useradd.patch
+}
+
+build() {
+  cd shairport-sync-$pkgver
+
+  autoreconf -i -f
+  ./configure --prefix=/usr --sysconfdir=/etc --with-alsa --with-pa 
--with-avahi --with-jack --with-stdout --with-pipe --with-ssl=openssl 
--with-soxr --with-dns_sd --with-pkg-config --with-systemd --with-configfiles 
--with-metadata --with-mqtt-client --with-airplay-2
+  make
+
+  sed 's|/usr/local/bin/|/usr/bin/|' -i scripts/shairport-sync.service.in
+}
+
+package() {
+  cd shairport-sync-$pkgver
+  make DESTDIR="$pkgdir" install
+  install -D -m644 "$srcdir"/shairport-sync.sysusers 
"$pkgdir"/usr/lib/sysusers.d/shairport-sync.conf
+  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/remove_useradd.patch 
(from rev 1340472, shairport-sync/trunk/remove_useradd.patch)
===================================================================
--- community-staging-x86_64/remove_useradd.patch                               
(rev 0)
+++ community-staging-x86_64/remove_useradd.patch       2022-11-01 22:40:09 UTC 
(rev 1340473)
@@ -0,0 +1,13 @@
+diff --git a/Makefile.am b/Makefile.am
+index 1634c6af..2f9b7583 100644
+--- a/Makefile.am
++++ b/Makefile.am
+@@ -297,7 +297,7 @@ INSTALL_SYSTEMD_TARGET = install-systemd-local
+ # will be stored in a scripts folder in the _build_ folder
+ # which will be the source folder if you're not using a separate build folder
+ 
+-$(INSTALL_SYSTEMD_TARGET): scripts/$(SYSTEMD_SERVICE) $(INSTALL_USER_TARGET)
++$(INSTALL_SYSTEMD_TARGET): scripts/$(SYSTEMD_SERVICE)
+       install -d $(DESTDIR)$(systemdsystemunitdir)
+       [ -e $(DESTDIR)$(systemdsystemunitdir)/shairport-sync.service ] || 
install -m 0644 scripts/$(SYSTEMD_SERVICE) 
$(DESTDIR)$(systemdsystemunitdir)/shairport-sync.service
+ 

Copied: shairport-sync/repos/community-staging-x86_64/shairport-sync.sysusers 
(from rev 1340472, shairport-sync/trunk/shairport-sync.sysusers)
===================================================================
--- community-staging-x86_64/shairport-sync.sysusers                            
(rev 0)
+++ community-staging-x86_64/shairport-sync.sysusers    2022-11-01 22:40:09 UTC 
(rev 1340473)
@@ -0,0 +1,3 @@
+u shairport-sync - "ShairportSync AirPort receiver" /var/lib/shairport-sync
+g shairport-sync
+m shairport-sync audio

Reply via email to