blob: b8140d4376ff708da05439ff225a0e25a6725669 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
|
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=shairport-sync
pkgver=2.2.2
pkgrel=0
pkgdesc="AirTunes emulator. Shairport Sync adds multi-room capability with Audio Synchronisation"
url="https://github.com/mikebrady/shairport-sync"
arch="all"
license="custom"
depends=""
depends_dev="alsa-lib-dev libdaemon-dev popt-dev openssl-dev soxr-dev
avahi-dev"
makedepends="$depends_dev autoconf automake libtool"
install=""
subpackages="$pkgname-doc"
source="$pkgname-$pkgver.tar.gz::https://github.com/mikebrady/shairport-sync/archive/$pkgver.tar.gz
donot-install-init.patch"
_builddir="$srcdir/$pkgname-$pkgver"
prepare() {
local i
cd "$_builddir"
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
autoreconf -i -f
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/var \
--with-alsa \
--with-avahi \
--with-ssl=openssl \
--with-soxr \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
md5sums="6aef265bc1017d42ae646766cd223ca9 shairport-sync-2.2.2.tar.gz
ba6dd26a325cdcdf006cb5e5f47d0f82 donot-install-init.patch"
sha256sums="f306b2fe34018b8988cf8b4b7c4dd856e823e12b9250a80c809b7d62e30b3eec shairport-sync-2.2.2.tar.gz
a828bf92aa8454775f453a36881615406ddb90fa2ca08caf5380bf461fe099a0 donot-install-init.patch"
sha512sums="f6529d54741341b4d815b02c24df58b8bf4e51cfe83233aafedefad88963998a2ebaac12e2be9698bcd73d6f99c1487410126915e4bc27e46f62133ef23a05b7 shairport-sync-2.2.2.tar.gz
3fd1731668745b0118f6559d13ecc51418998b7e70b7e26587f987a01e03d175f3e37da68794c600e925d7b7d1cb7d66b3d230442a1f81e97a6d973f0ac8b392 donot-install-init.patch"
|