aboutsummaryrefslogblamecommitdiffstats
path: root/testing/shairport-sync/APKBUILD
blob: 426288cd0bc9c7226f5fa1f64ae217f38f77fae8 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                                     
            
        



                                                                                                 
               
                                                            
                                                              
                                          
                                                                                             
                       
              
 
           

                        


         
                     






                                           
                                    


                                    

                           


           
                                      
                                                                                

 
                                                                                                                                                                         
                                                                                                                                                       
# Contributor: Carlo Landmeter <clandmeter@gmail.com>
# Maintainer:
pkgname=shairport-sync
pkgver=3.3.5
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="avahi"
makedepends="autoconf automake libtool alsa-lib-dev popt-dev
	openssl-dev soxr-dev avahi-dev libconfig-dev xmltoman"
subpackages="$pkgname-doc $pkgname-openrc"
source="$pkgname-$pkgver.tar.gz::https://github.com/mikebrady/$pkgname/archive/$pkgver.tar.gz
	$pkgname.initd"
options=!check

prepare() {
	default_prepare
	autoreconf -i -f
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--with-piddir=/run \
		--with-alsa \
		--with-avahi \
		--with-ssl=openssl \
		--with-soxr
	make
}

package() {
	make DESTDIR="$pkgdir" install
	install -m 755 -D "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
}

sha512sums="6e99a442a3de02ca5be8a2b65d9a559f79ecf04e73be9f6a85e0b2033f66c453f8e48ac5fe399e0d6766e181b0a6dcb629815ce2130d3cc8fb6167aab3bf8d79  shairport-sync-3.3.5.tar.gz
aeead51ef0f17d360bb1e2d2ae897974ef507ef56db84e6aeb79d8ec522c3bb9336f01ff4150e70fecfebf9808dd7190cb2839e287cf0ef6e1886504c1f1edc6  shairport-sync.initd"