summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2022-10-29 02:20:57 -0400
committerIonen Wolkens <ionen@gentoo.org>2022-11-04 17:54:38 -0400
commitc77a2116198d2c25b5f9b5d1e2da682aaa753b2f (patch)
treece3c491f07c52c15daa87510689e2c75f8b0f86e /media-sound/jack-example-tools
parentprofiles/arch/loong: package.use.mask media-sound/jack2 ieee1394 (diff)
downloadgentoo-c77a2116198d2c25b5f9b5d1e2da682aaa753b2f.tar.gz
gentoo-c77a2116198d2c25b5f9b5d1e2da682aaa753b2f.tar.bz2
gentoo-c77a2116198d2c25b5f9b5d1e2da682aaa753b2f.zip
media-sound/jack-example-tools: new package, add 3
This is the various jack_* commands (e.g. jack_lsp) split from the jack2 package. Should be usable with any virtual/jack provider (including pipewire[jack-sdk], and jack1 >=0.126.0). Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-sound/jack-example-tools')
-rw-r--r--media-sound/jack-example-tools/Manifest1
-rw-r--r--media-sound/jack-example-tools/jack-example-tools-3.ebuild60
-rw-r--r--media-sound/jack-example-tools/metadata.xml20
3 files changed, 81 insertions, 0 deletions
diff --git a/media-sound/jack-example-tools/Manifest b/media-sound/jack-example-tools/Manifest
new file mode 100644
index 000000000000..7ab51de59efb
--- /dev/null
+++ b/media-sound/jack-example-tools/Manifest
@@ -0,0 +1 @@
+DIST jack-example-tools-3.tar.gz 125686 BLAKE2B b0fbb68f2a21711113516a6754e13230b009f21d73a4fa8b94f2e8e81b71f6d95c246eae88d479daf3f4f6e0ccf3eb8295ff1b1b76603676c6d8b09d0594f9db SHA512 2fe33c4fc294a4e4e2c0c271d5e2f28bac162939c25536902c772fcc919d2a0923fcefd27305f3fce283edfe043d2da7773b66988a1f14f8670d5cac90c8d7e9
diff --git a/media-sound/jack-example-tools/jack-example-tools-3.ebuild b/media-sound/jack-example-tools/jack-example-tools-3.ebuild
new file mode 100644
index 000000000000..f56fdd6a8a5b
--- /dev/null
+++ b/media-sound/jack-example-tools/jack-example-tools-3.ebuild
@@ -0,0 +1,60 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit meson
+
+DESCRIPTION="Official examples and tools from the JACK project"
+HOMEPAGE="https://jackaudio.org/"
+SRC_URI="https://github.com/jackaudio/jack-example-tools/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+ zalsa? ( GPL-3+ )"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa jack-net jack-netsource opus +readline sndfile zalsa"
+
+RDEPEND="
+ virtual/jack
+ alsa? (
+ media-libs/alsa-lib
+ media-libs/libsamplerate
+ )
+ jack-net? (
+ || (
+ media-sound/jack2[libsamplerate]
+ media-video/pipewire[jack-sdk(-)]
+ )
+ )
+ jack-netsource? (
+ media-libs/libsamplerate
+ opus? ( media-libs/opus[custom-modes] )
+ )
+ readline? ( sys-libs/readline:= )
+ sndfile? ( media-libs/libsndfile )
+ zalsa? (
+ media-libs/alsa-lib
+ media-libs/zita-alsa-pcmi
+ media-libs/zita-resampler:=
+ )
+ !<media-sound/jack-audio-connection-kit-0.126.0
+ !<media-sound/jack2-1.9.21"
+DEPEND="${RDEPEND}"
+
+DOCS=( CHANGELOG.md README.md )
+
+src_configure() {
+ local emesonargs=(
+ $(meson_feature alsa alsa_in_out)
+ $(meson_feature jack{-,_}net)
+ $(meson_feature jack{-,_}netsource)
+ $(meson_feature readline readline_support)
+ $(meson_feature sndfile jack_rec)
+ $(meson_feature zalsa)
+ $(usex jack-netsource \
+ $(meson_feature opus opus_support) \
+ -Dopus_support=disabled)
+ )
+
+ meson_src_configure
+}
diff --git a/media-sound/jack-example-tools/metadata.xml b/media-sound/jack-example-tools/metadata.xml
new file mode 100644
index 000000000000..3b4295e2da37
--- /dev/null
+++ b/media-sound/jack-example-tools/metadata.xml
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>ionen@gentoo.org</email>
+ <name>Ionen Wolkens</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proaudio@gentoo.org</email>
+ <name>Gentoo ProAudio Project</name>
+ </maintainer>
+ <use>
+ <flag name="jack-net">Build jack_net_* example clients</flag>
+ <flag name="jack-netsource">Build jack_netsource for configuring network sources</flag>
+ <flag name="zalsa">Build the zalsa internal client using <pkg>media-libs/zita-resampler</pkg></flag>
+ </use>
+ <upstream>
+ <remote-id type="github">jackaudio/jack-example-tools</remote-id>
+ </upstream>
+</pkgmetadata>