48 lines
1.4 KiB
Bash
48 lines
1.4 KiB
Bash
# Template file for 'jack'
|
|
pkgname=jack
|
|
version=1.9.22
|
|
revision=1
|
|
build_style=waf3
|
|
configure_args="--alsa --classic --dbus"
|
|
hostmakedepends="pkg-config"
|
|
makedepends="eigen opus-devel libsamplerate-devel dbus-devel db-devel celt-devel
|
|
$(vopt_if ffado libffado-devel)"
|
|
depends="python3-dbus"
|
|
short_desc="JACK Audio Connection Kit low-latency sound server (pro audio)"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="GPL-2.0-or-later, LGPL-2.1-or-later"
|
|
homepage="https://jackaudio.org/"
|
|
changelog="https://raw.githubusercontent.com/jackaudio/jack2/master/ChangeLog.rst"
|
|
distfiles="https://github.com/jackaudio/jack2/archive/v${version}.tar.gz"
|
|
checksum=1e42b9fc4ad7db7befd414d45ab2f8a159c0b30fcd6eee452be662298766a849
|
|
python_version=3
|
|
|
|
# Package build options
|
|
build_options="ffado"
|
|
desc_option_ffado="Enable support for FireWire audio devices"
|
|
|
|
post_install() {
|
|
# pam_limits(8) support
|
|
vinstall ${FILESDIR}/jack-limitsd.conf 644 etc/security/limits.d jack.conf
|
|
# audio group permissions for realtime
|
|
vinstall ${FILESDIR}/40-hpet-permissions.rules 644 usr/lib/udev/rules.d
|
|
}
|
|
|
|
libjack_package() {
|
|
short_desc+=" - runtime library"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
vmove usr/lib/jack
|
|
}
|
|
}
|
|
|
|
jack-devel_package() {
|
|
depends="libjack>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|