media-sound/jack2: add a 2.21.1.ebuild

This commit is contained in:
Nedko Arnaudov 2023-02-18 10:25:42 +02:00
parent 4a61e032f6
commit 5281a0fd47
2 changed files with 91 additions and 0 deletions

View File

@ -1,3 +1,10 @@
== newebuild: Feb 18, 53 (2023)
* new: jack2-2.21.1.ebuild
** jack_get_version_string() now reports GIT_VERSION
** Change default of self-connect-mode to 'e'
== newstable: Feb 09, 53 (2023)
* new: dev-lang/faust

View File

@ -0,0 +1,84 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
PYTHON_COMPAT=( python3_{9..11} )
PYTHON_REQ_USE="threads(+)"
inherit flag-o-matic python-single-r1 waf-utils
inherit git-r3
EGIT_REPO_URI="https://github.com/LADI/jack2.git"
EGIT_BRANCH="stable"
EGIT_COMMIT="0e984e37aef33d0490247648538d9b8e1dd60b26"
KEYWORDS="amd64 arm arm64 ~loong ppc ppc64 ~riscv x86"
DESCRIPTION="LADI JACK2 is version of the jackdmp, a C++ version of the JACK low-latency audio server for multi-processor machines."
HOMEPAGE="https://github.com/LADI/jack2"
LICENSE="GPL-2+ LGPL-2.1+"
SLOT="2"
IUSE="+alsa doc ieee1394 libsamplerate metadata opus pam"
REQUIRED_USE="
${PYTHON_REQUIRED_USE}"
DEPEND="
alsa? ( media-libs/alsa-lib )
sys-apps/dbus
libsamplerate? ( media-libs/libsamplerate )
ieee1394? ( media-libs/libffado )
metadata? ( sys-libs/db )
opus? ( media-libs/opus[custom-modes] )"
RDEPEND="
${DEPEND}
pam? ( sys-auth/realtime-base )
!media-sound/jack-audio-connection-kit
!media-video/pipewire[jack-sdk(-)]"
BDEPEND="
${PYTHON_DEPS}
virtual/pkgconfig
doc? ( app-doc/doxygen )"
PDEPEND=""
DOCS=( AUTHORS.rst NEWS.rst README.rst README_NETJACK2 )
PATCHES=( )
src_prepare() {
default
python_fix_shebang waf
# copy_sources
}
src_configure() {
# clients crash if built with lto
# https://github.com/jackaudio/jack2/issues/485
filter-lto
local wafargs=(
--mandir="${EPREFIX}"/usr/share/man/man1 # override eclass' for man1
--alsa=$(usex alsa)
--celt=no
--db=$(usex metadata)
--doxygen=$(usex doc)
--firewire=$(usex ieee1394)
--iio=no
--opus=$(usex opus)
--portaudio=no
--samplerate=$(usex libsamplerate)
--systemd=no
--winmme=no
)
waf-utils_src_configure "${wafargs[@]}"
}
src_compile() {
waf-utils_src_compile
}
src_install() {
waf-utils_src_install
}