-
Notifications
You must be signed in to change notification settings - Fork 16
/
PKGBUILD
46 lines (36 loc) · 1.11 KB
/
PKGBUILD
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
pkgname=jack2
pkgver=1.9.22
pkgrel=1
_commit=ce825c6
pkgdesc="The next-generation JACK with SMP support"
arch=('x86_64')
url="https://jackaudio.org/"
backup=(etc/security/limits.d/99-audio.conf)
license=('GPL')
depends=('libsamplerate' 'opus' 'libffado' 'dbus' 'eigen3')
makedepends=('python3')
provides=('jack')
source=("https://github.com/jackaudio/jack2/archive/v${pkgver}.tar.gz"
'99-audio.conf'
'40-hpet-permissions.rules')
md5sums=('e57c8ad3de75f78b6eb7aacea4e25755'
'4d928a76e3f3d77d037c42ab75ac0f0b'
'23eba69d2dbbb800f68176e5d38b9af5')
build() {
cd ${pkgname}-${pkgver}
LDFLAGS="$LDFLAGS,--no-as-needed -lm" python3 ./waf configure \
--prefix=/usr \
--alsa \
--classic \
--dbus \
--firewire \
--systemd-unit
python3 ./waf build
}
package() {
cd ${pkgname}-${pkgver}
python3 waf install --destdir=${pkgdir}
# configure realtime access/scheduling
install -Dm644 ${srcdir}/99-audio.conf ${pkgdir}/etc/security/limits.d/99-audio.conf
install -Dm644 ${srcdir}/40-hpet-permissions.rules ${pkgdir}/usr/lib/udev/rules.d/40-hpet-permissions.rules
}