void-packages/srcpkgs/jack/template

52 lines
1.3 KiB
Text
Raw Normal View History

# Template file for 'jack'
pkgname=jack
2012-12-18 11:51:45 +00:00
version=1.9.9.5
revision=6
2014-06-08 09:57:54 +00:00
wrksrc="jack2-${version}"
# XXX libffado (firewire)
hostmakedepends="pkg-config python"
makedepends="libsamplerate-devel readline-devel>=6.3 dbus-devel celt-devel"
short_desc="JACK Audio Connection Kit low-latency sound server (pro audio)"
maintainer="Juan RP <xtraeme@gmail.com>"
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/"
2014-06-08 09:55:56 +00:00
distfiles="https://github.com/jackaudio/jack2/archive/${version}.tar.gz"
2014-06-08 09:56:42 +00:00
checksum=605609f1774696f2f7b85ae211548fad6cbdcfd3b109b77edb364192af61c28d
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}
# 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 \
2012-07-09 16:23:01 +00:00
644 usr/lib/udev/rules.d
}
libjack_package() {
2013-05-15 07:42:02 +00:00
short_desc+=" - runtime library"
pkg_install() {
2014-02-20 13:18:14 +00:00
vmove "usr/lib/*.so.*"
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"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
2014-02-20 13:18:14 +00:00
vmove "usr/lib/*.so"
}
}