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
|
2013-05-15 09:42:02 +02:00
|
|
|
revision=3
|
2014-01-01 16:10:11 +01:00
|
|
|
# XXX libffado (firewire)
|
|
|
|
hostmakedepends="pkg-config python"
|
|
|
|
makedepends="libsamplerate-devel readline-devel dbus-devel celt-devel"
|
2011-10-22 07:13:45 +02:00
|
|
|
short_desc="JACK Audio Connection Kit low-latency sound server (pro audio)"
|
|
|
|
maintainer="davehome <davehome@redthumb.info.tm>"
|
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/"
|
2013-03-29 13:38:59 +01:00
|
|
|
distfiles="http://jackaudio.org/downloads/jack-1.9.9.5.tar.bz2"
|
2012-12-18 12:51:45 +01:00
|
|
|
checksum=65ef5acceabb1ebd4ac8c437be47a522292e3c2a1f7bfa656de7392d9351ebbd
|
2011-10-22 07:13:45 +02:00
|
|
|
long_desc="
|
|
|
|
JACK is system for handling real-time, low latency audio (and MIDI). It runs
|
|
|
|
on GNU/Linux, Solaris, FreeBSD, OS X and Windows (and can be ported to other
|
|
|
|
POSIX-conformant platforms). It can connect a number of different
|
|
|
|
applications to an audio device, as well as allowing them to share audio
|
|
|
|
between themselves. Its clients can run in their own processes (ie. as normal
|
|
|
|
applications), or can they can run within the JACK server (ie. as a plugin).
|
|
|
|
JACK also has support for distributing audio processing across a network,
|
|
|
|
both fast and reliable LANs as well as slower, less reliable WANs.
|
|
|
|
|
|
|
|
JACK was designed from the ground up for professional audio work, and its
|
|
|
|
design focuses on two key areas: synchronous execution of all clients, and
|
|
|
|
low latency operation."
|
|
|
|
|
2013-05-15 09:42:02 +02:00
|
|
|
do_configure() {
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
|
|
export PKG_CONFIG_LIBDIR="$XBPS_CROSS_BASE/usr/lib/pkgconfig"
|
|
|
|
export PKG_CONFIG_SYSROOT_DIR="$XBPS_CROSS_BASE"
|
|
|
|
fi
|
|
|
|
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() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
vmove usr/lib/jack
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
jack-devel_package() {
|
|
|
|
depends="libjack>=${version}"
|
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
|
|
|
|
}
|
|
|
|
}
|