summaryrefslogtreecommitdiff
path: root/media-sound/jack2
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/jack2')
-rw-r--r--media-sound/jack2/Manifest2
-rw-r--r--media-sound/jack2/jack2-1.9.22.ebuild102
2 files changed, 104 insertions, 0 deletions
diff --git a/media-sound/jack2/Manifest b/media-sound/jack2/Manifest
index a35771837b82..053ba373b83f 100644
--- a/media-sound/jack2/Manifest
+++ b/media-sound/jack2/Manifest
@@ -1,5 +1,7 @@
AUX jack2-1.9.21-python3.11.patch 635 BLAKE2B 8e9168c2d44e087c20f0b6b1ac7a08bf957a5427f3c396e88ba3d0918e636500265e8182a39a8831b9cd37f9db3e86ff3ff6222e191d18f110b964a36c446982 SHA512 be0bb5fb4d65f99dc8355393a02c79ac36f64f7bb0e36a0e6c08ca99cc5c5340a5457fa13e7937d70349a4e0b86074c69232f69cab26779a7e53de5710b4b7fe
DIST jack2-1.9.21.tar.gz 1006157 BLAKE2B 052486300bd17860964115427d4b5755ce7a4e4607bf9eb4e2b94d5b0cc61cf6a6b56d3a3eae9e91a1195a3316dd1f1ec1357275803805957e4b6f7a76424e24 SHA512 0e9ce581fca3c5d9ffb1de22b45cae6d94085c6f92ff3554892e25727baf66a2269f10d338d95d991e8380c4be5e0cc1e1453b9f878c7dc2e8a990f3bd458557
+DIST jack2-1.9.22.tar.gz 933448 BLAKE2B 8c42cb996e132f711ad8b7071d44601e21bfc8fe24802113825b8434abc8734c981daa2b09f10a7ecb1492a51d631255a99649d6d76343622b5e38da07e0c598 SHA512 d93cb2bcc57b72b6815eed143de1092d14fe22542ae9a1f8480d9ed5f44b59c50f81279d18bdd84ff6276ddd71ca1aa64a1e46d61199a5eda0d873a356194ab4
EBUILD jack2-1.9.21-r1.ebuild 2804 BLAKE2B e4f12e7e43e5aaf180104edd6e2a90271d558e13d554a2b51d960aad1185b90f3a2cb3a869762801d812caf15028d89a609b0a7ccefac39f17281874eaf18e8f SHA512 1fcfe81604a4d73089740b024eb01165aaa84c08898577fd5ff1c9d2b3613f894cd875ba6c27289539f32b704a693dc084f8c6fb3764dc227f262d78aa8b08a8
+EBUILD jack2-1.9.22.ebuild 2575 BLAKE2B 79fe3564746ce8bb349bc1f0d7addd4bf03cf746250f2140b31e73a5463546dc713f761e67bc019dff2d02668d055340740432180884c20e9d8db060e4f4bf4f SHA512 228742ca5683228d7c9a725cc9b375339bab279cefb19eac0acab476efd8a40341d516b668367cd519ec75641538200c84b47c97c30148e499a8ac65e839ddbe
EBUILD jack2-9999.ebuild 2575 BLAKE2B 79fe3564746ce8bb349bc1f0d7addd4bf03cf746250f2140b31e73a5463546dc713f761e67bc019dff2d02668d055340740432180884c20e9d8db060e4f4bf4f SHA512 228742ca5683228d7c9a725cc9b375339bab279cefb19eac0acab476efd8a40341d516b668367cd519ec75641538200c84b47c97c30148e499a8ac65e839ddbe
MISC metadata.xml 780 BLAKE2B 2cbd15be73cfc17162ab0cd6d5311bb4ab48f19dae7224df11712a9ab91fbbbba383e80fe3c99f3a1bb0ee91015144799f58652c782bce1405d5b7a4f8e203ee SHA512 ac8d68929de1d11a39d89ca0ccc0e330790596af7f58fe5305c328dddc74438ec465beca11cce7244e8f2421a446aab900b90b018dd73d688dae7062d26d0e16
diff --git a/media-sound/jack2/jack2-1.9.22.ebuild b/media-sound/jack2/jack2-1.9.22.ebuild
new file mode 100644
index 000000000000..8fa6ca5113f5
--- /dev/null
+++ b/media-sound/jack2/jack2-1.9.22.ebuild
@@ -0,0 +1,102 @@
+# 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 multilib-minimal
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/jackaudio/${PN}.git"
+else
+ SRC_URI="https://github.com/jackaudio/jack2/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+fi
+
+DESCRIPTION="Jackdmp jack implemention for multi-processor machine"
+HOMEPAGE="https://jackaudio.org/"
+
+LICENSE="GPL-2+ LGPL-2.1+"
+SLOT="2"
+IUSE="+alsa +classic dbus doc ieee1394 libsamplerate metadata opus pam +tools systemd"
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ || ( classic dbus )"
+
+DEPEND="
+ alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
+ dbus? (
+ dev-libs/expat[${MULTILIB_USEDEP}]
+ sys-apps/dbus[${MULTILIB_USEDEP}]
+ )
+ libsamplerate? ( media-libs/libsamplerate[${MULTILIB_USEDEP}] )
+ ieee1394? ( media-libs/libffado[${MULTILIB_USEDEP}] )
+ metadata? ( sys-libs/db:=[${MULTILIB_USEDEP}] )
+ opus? ( media-libs/opus[custom-modes,${MULTILIB_USEDEP}] )
+ systemd? ( classic? ( sys-apps/systemd:= ) )"
+RDEPEND="
+ ${DEPEND}
+ dbus? (
+ ${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ dev-python/dbus-python[${PYTHON_USEDEP}]
+ ')
+ )
+ 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 )"
+# tools were formerly provided here, pull to maintain expectations
+PDEPEND="tools? ( media-sound/jack-example-tools )"
+
+DOCS=( AUTHORS.rst ChangeLog.rst README.rst README_NETJACK2 )
+
+src_prepare() {
+ default
+
+ python_fix_shebang waf
+ multilib_copy_sources
+}
+
+multilib_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
+ $(usev classic --classic)
+ --db=$(usex metadata)
+ $(usev dbus --dbus)
+ --doxygen=$(multilib_native_usex doc)
+ --firewire=$(usex ieee1394)
+ --iio=no
+ --opus=$(usex opus)
+ --portaudio=no
+ --samplerate=$(usex libsamplerate)
+ --systemd=$(multilib_native_usex systemd $(usex classic))
+ --winmme=no
+ )
+
+ waf-utils_src_configure "${wafargs[@]}"
+}
+
+multilib_src_compile() {
+ waf-utils_src_compile
+}
+
+multilib_src_install() {
+ waf-utils_src_install
+}
+
+multilib_src_install_all() {
+ use dbus && python_fix_shebang "${ED}"/usr/bin/jack_control
+}