void-packages/srcpkgs/jack/template

48 lines
1.3 KiB
Bash
Raw Normal View History

# Template file for 'jack'
pkgname=jack
2014-08-30 18:37:34 +02:00
version=1.9.10
revision=5
# XXX libffado (firewire)
hostmakedepends="pkg-config python"
makedepends="eigen opus-devel libsamplerate-devel readline-devel dbus-devel celt-devel"
depends="python-dbus"
short_desc="JACK Audio Connection Kit low-latency sound server (pro audio)"
maintainer="Juan RP <xtraeme@gmail.com>"
2011-10-22 07:21:08 +02:00
license="GPL-2, LGPL-2.1"
2012-07-09 18:23:01 +02:00
homepage="http://jackaudio.org/"
2014-08-30 18:37:34 +02:00
distfiles="https://dl.dropboxusercontent.com/u/28869550/jack-${version}.tar.bz2"
checksum=5bc6336e6ac9799e3cb241915e2ba5d01b030589bbb2afae39579a59ef0f2f56
2013-05-15 09:42:02 +02:00
do_configure() {
python waf configure --prefix=/usr --alsa --classic --dbus
}
do_build() {
python waf build ${makejobs}
}
do_install() {
python waf install --destdir=${DESTDIR}
# pam_limits(8) support
2014-08-30 18:37:34 +02:00
vinstall ${FILESDIR}/jack-limitsd.conf 644 etc/security/limits.d jack.conf
# audio group permissions for realtime
2014-08-30 18:37:34 +02:00
vinstall ${FILESDIR}/40-hpet-permissions.rules 644 usr/lib/udev/rules.d
}
libjack_package() {
2013-05-15 09:42:02 +02:00
short_desc+=" - runtime library"
pkg_install() {
2014-02-20 14:18:14 +01:00
vmove "usr/lib/*.so.*"
vmove usr/lib/jack
}
}
jack-devel_package() {
2014-02-20 14:18:14 +01:00
depends="libjack>=${version}_${revision}"
2013-05-15 09:42:02 +02:00
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-02-20 14:18:14 +01:00
vmove "usr/lib/*.so"
}
}