blob: 7e69d561f1fd018f8f961c6d10cfbbbf0d1ed103 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=jack
pkgver=1.9.19
pkgrel=2
pkgdesc="The Jack Audio Connection Kit"
url="https://www.jackaudio.org/"
arch="all"
license="GPL-2.0 GPL-2.0-or-later LGPL-2.0-or-later"
makedepends="$depends_dev alsa-lib-dev dbus-dev expat-dev libsamplerate-dev
libsndfile-dev ncurses-dev readline-dev python3 linux-headers"
subpackages="$pkgname-dev $pkgname-doc $pkgname-dbus $pkgname-example-clients:_clients"
source="https://github.com/jackaudio/jack2/archive/v$pkgver/jack2-v$pkgver.tar.gz
fix-execinfo.patch
increase-api-version.patch
"
builddir="$srcdir/jack2-$pkgver"
options="!check" # no real tests provided
prepare() {
default_prepare
sed -i -e '1s:#!/bin/bash:#!/bin/sh:' svnversion_regenerate.sh
}
build() {
./waf configure \
--prefix=/usr \
--mandir=/usr/share/man/man1 \
--libdir=/usr/lib \
--dbus \
--alsa \
--classic
./waf build -v
}
package() {
./waf --destdir="$pkgdir" install
}
dbus() {
pkgdesc="Jack D-Bus launcher"
mkdir -p "$subpkgdir"/usr/bin "$subpkgdir"/usr/share
mv "$pkgdir"/usr/bin/jackdbus "$subpkgdir"/usr/bin/
mv "$pkgdir"/usr/share/dbus* "$subpkgdir"/usr/share/
}
_clients() {
pkgdesc="Example clients that use Jack"
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/*_* "$subpkgdir"/usr/bin/
}
sha512sums="
d8d5fe17e2984959546af3c53f044aa4648860e19ff8ffd54452e87fa6cdfd111f825c57e3df17cb8ed95de8392b6f354b12ded41e3e021a37f07b99a89ba18d jack2-v1.9.19.tar.gz
b5abec7e67485d1c13f399b5961539177dd35d21c5dd95e0aa767adb0f5b1e588e9ca2f9b29cc4d66fc039311ff7eacc4cf21f6700ef0a2c8de99b63cb00f84d fix-execinfo.patch
d187d6a5e4e5c748d4f5eccf66a76249a4eb7135c22e32ca40eb2ea806ec6877074d8ba91c9cc106ae8e62ada6afda248fa48ebb147c720576ab092904993f51 increase-api-version.patch
"
|