2011-10-22 07:13:45 +02:00
|
|
|
# Template file for 'jack'
|
|
|
|
pkgname=jack
|
2012-12-18 12:51:45 +01:00
|
|
|
version=1.9.9.5
|
2014-06-08 11:52:36 +02:00
|
|
|
revision=6
|
2014-06-08 11:57:54 +02:00
|
|
|
wrksrc="jack2-${version}"
|
2014-01-01 16:10:11 +01:00
|
|
|
# XXX libffado (firewire)
|
|
|
|
hostmakedepends="pkg-config python"
|
2014-02-27 14:54:19 +01:00
|
|
|
makedepends="libsamplerate-devel readline-devel>=6.3 dbus-devel celt-devel"
|
2011-10-22 07:13:45 +02:00
|
|
|
short_desc="JACK Audio Connection Kit low-latency sound server (pro audio)"
|
2014-06-08 11:52:36 +02:00
|
|
|
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-06-08 11:55:56 +02:00
|
|
|
distfiles="https://github.com/jackaudio/jack2/archive/${version}.tar.gz"
|
2014-06-08 11:56:42 +02:00
|
|
|
checksum=605609f1774696f2f7b85ae211548fad6cbdcfd3b109b77edb364192af61c28d
|
2011-10-22 07:13:45 +02:00
|
|
|
|
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}
|
|
|
|
|
2011-10-22 08:10:06 +02:00
|
|
|
# pam_limits(8) support
|
|
|
|
vinstall ${FILESDIR}/jack-limitsd.conf \
|
|
|
|
644 etc/security/limits.d jack.conf
|
2011-10-23 09:48:24 +02:00
|
|
|
# audio group permissions for realtime
|
|
|
|
vinstall ${FILESDIR}/40-hpet-permissions.rules \
|
2012-07-09 18:23:01 +02:00
|
|
|
644 usr/lib/udev/rules.d
|
2011-10-22 07:13:45 +02:00
|
|
|
}
|
2013-04-12 16:52:48 +02:00
|
|
|
|
|
|
|
libjack_package() {
|
2013-05-15 09:42:02 +02:00
|
|
|
short_desc+=" - runtime library"
|
2013-04-12 16:52:48 +02:00
|
|
|
pkg_install() {
|
2014-02-20 14:18:14 +01:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-12 16:52:48 +02:00
|
|
|
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"
|
2013-04-12 16:52:48 +02:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-20 14:18:14 +01:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 16:52:48 +02:00
|
|
|
}
|
|
|
|
}
|