mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-06-04 12:26:24 +02:00
68 lines
1.6 KiB
Text
68 lines
1.6 KiB
Text
# Contributor: Carlo Landmeter <clandmeter@alpinelinux.org>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=shairport-sync
|
|
pkgver=4.3.7
|
|
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="
|
|
alsa-lib-dev
|
|
autoconf
|
|
automake
|
|
avahi-dev
|
|
libconfig-dev
|
|
libtool
|
|
openssl-dev>3
|
|
pipewire-dev
|
|
popt-dev
|
|
pulseaudio-dev
|
|
soxr-dev
|
|
xmltoman
|
|
"
|
|
subpackages="$pkgname-doc $pkgname-openrc"
|
|
source="$pkgname-$pkgver.tar.gz::https://github.com/mikebrady/shairport-sync/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-pa \
|
|
--with-pw \
|
|
--with-avahi \
|
|
--with-ssl=openssl \
|
|
--with-soxr \
|
|
--with-stdout \
|
|
--with-pipe \
|
|
--with-metadata \
|
|
--with-mpris-interface \
|
|
--with-dbus-interface
|
|
make
|
|
}
|
|
|
|
package() {
|
|
make DESTDIR="$pkgdir" install
|
|
install -Dm755 "$srcdir"/$pkgname.initd "$pkgdir"/etc/init.d/$pkgname
|
|
}
|
|
|
|
sha512sums="
|
|
87e7fd0874a7ac57bcb4d67ae09753a69af17e9ba7f84743f74877f55635f5ccb4a29259b152154755a8522efa8cd5496d1e06f3b19828135f0f0a9e4dc3d0e4 shairport-sync-4.3.7.tar.gz
|
|
aeead51ef0f17d360bb1e2d2ae897974ef507ef56db84e6aeb79d8ec522c3bb9336f01ff4150e70fecfebf9808dd7190cb2839e287cf0ef6e1886504c1f1edc6 shairport-sync.initd
|
|
"
|