jack: update to 1.9.13, adopt package

This commit is contained in:
Daniel Eyßer 2019-10-07 13:55:51 +02:00 committed by Helmut Pozimski
parent 0337ef9002
commit 01d0303d6a
1 changed files with 18 additions and 20 deletions

View File

@ -1,33 +1,31 @@
# Template file for 'jack' # Template file for 'jack'
pkgname=jack pkgname=jack
version=1.9.12 version=1.9.13
revision=12 revision=1
wrksrc="jack2-${version}" wrksrc="jack2-${version}"
# XXX libffado (firewire) build_style=waf3
hostmakedepends="pkg-config python" configure_args="--alsa --classic --dbus"
makedepends="opus-devel libsamplerate-devel readline-devel dbus-devel celt-devel" hostmakedepends="pkg-config"
depends="python-dbus" makedepends="opus-devel libsamplerate-devel readline-devel dbus-devel celt-devel
$(vopt_if ffado libffado-devel)"
depends="python3-dbus"
short_desc="JACK Audio Connection Kit low-latency sound server (pro audio)" short_desc="JACK Audio Connection Kit low-latency sound server (pro audio)"
maintainer="Orphaned <orphan@voidlinux.org>" maintainer="Daniel Eyßer <daniel.eysser@gmail.com>"
license="GPL-2, LGPL-2.1" license="GPL-2.0-or-later, LGPL-2.1-or-later"
homepage="http://jackaudio.org/" homepage="https://jackaudio.org/"
distfiles="https://github.com/jackaudio/jack2/archive/v${version}.tar.gz" distfiles="https://github.com/jackaudio/jack2/archive/v${version}.tar.gz"
checksum=deefe2f936dc32f59ad3cef7e37276c2035ef8a024ca92118f35c9a292272e33 checksum=2a683eef63b608b292411d66482fd45aa7fa8dc004bed4184e06f9f9ca83c075
python_version=3
# Package build options
build_options="ffado"
desc_option_ffado="Enable support for FireWire audio devices"
if [ -z "CROSS_BUILD" ]; then if [ -z "CROSS_BUILD" ]; then
makedepends+=" eigen" makedepends+=" eigen"
fi fi
do_configure() { post_install() {
python2 waf configure --prefix=/usr --alsa --classic --dbus
}
do_build() {
python2 waf build ${makejobs}
}
do_install() {
python2 waf install --destdir=${DESTDIR}
# pam_limits(8) support # pam_limits(8) support
vinstall ${FILESDIR}/jack-limitsd.conf 644 etc/security/limits.d jack.conf vinstall ${FILESDIR}/jack-limitsd.conf 644 etc/security/limits.d jack.conf
# audio group permissions for realtime # audio group permissions for realtime