2011-10-22 05:13:45 +00:00
|
|
|
# Template file for 'jack'
|
|
|
|
pkgname=jack
|
2012-12-18 11:51:45 +00:00
|
|
|
version=1.9.9.5
|
2014-02-27 13:54:19 +00:00
|
|
|
revision=5
|
2014-01-01 15:10:11 +00:00
|
|
|
# XXX libffado (firewire)
|
|
|
|
hostmakedepends="pkg-config python"
|
2014-02-27 13:54:19 +00:00
|
|
|
makedepends="libsamplerate-devel readline-devel>=6.3 dbus-devel celt-devel"
|
2011-10-22 05:13:45 +00:00
|
|
|
short_desc="JACK Audio Connection Kit low-latency sound server (pro audio)"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
2011-10-22 05:21:08 +00:00
|
|
|
license="GPL-2, LGPL-2.1"
|
2012-07-09 16:23:01 +00:00
|
|
|
homepage="http://jackaudio.org/"
|
2013-03-29 12:38:59 +00:00
|
|
|
distfiles="http://jackaudio.org/downloads/jack-1.9.9.5.tar.bz2"
|
2012-12-18 11:51:45 +00:00
|
|
|
checksum=65ef5acceabb1ebd4ac8c437be47a522292e3c2a1f7bfa656de7392d9351ebbd
|
2011-10-22 05:13:45 +00:00
|
|
|
|
2013-05-15 07:42:02 +00: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 06:10:06 +00:00
|
|
|
# pam_limits(8) support
|
|
|
|
vinstall ${FILESDIR}/jack-limitsd.conf \
|
|
|
|
644 etc/security/limits.d jack.conf
|
2011-10-23 07:48:24 +00:00
|
|
|
# audio group permissions for realtime
|
|
|
|
vinstall ${FILESDIR}/40-hpet-permissions.rules \
|
2012-07-09 16:23:01 +00:00
|
|
|
644 usr/lib/udev/rules.d
|
2011-10-22 05:13:45 +00:00
|
|
|
}
|
2013-04-12 14:52:48 +00:00
|
|
|
|
|
|
|
libjack_package() {
|
2013-05-15 07:42:02 +00:00
|
|
|
short_desc+=" - runtime library"
|
2013-04-12 14:52:48 +00:00
|
|
|
pkg_install() {
|
2014-02-20 13:18:14 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-12 14:52:48 +00:00
|
|
|
vmove usr/lib/jack
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
jack-devel_package() {
|
2014-02-20 13:18:14 +00:00
|
|
|
depends="libjack>=${version}_${revision}"
|
2013-05-15 07:42:02 +00:00
|
|
|
short_desc+=" - development files"
|
2013-04-12 14:52:48 +00:00
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove usr/lib/pkgconfig
|
2014-02-20 13:18:14 +00:00
|
|
|
vmove "usr/lib/*.so"
|
2013-04-12 14:52:48 +00:00
|
|
|
}
|
|
|
|
}
|