summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIonen Wolkens <ionen@gentoo.org>2024-01-23 03:47:59 -0500
committerIonen Wolkens <ionen@gentoo.org>2024-01-23 04:09:49 -0500
commit7c9a4bf696d5bbe1a65f9255fa398cdfcfaae1e4 (patch)
tree544d246bf56486515edc137ad883bf047eb80810 /media-sound
parentgui-libs/egl-gbm: drop 1.1.0, 1.1.0_p20230420 (diff)
downloadgentoo-7c9a4bf696d5bbe1a65f9255fa398cdfcfaae1e4.tar.gz
gentoo-7c9a4bf696d5bbe1a65f9255fa398cdfcfaae1e4.tar.bz2
gentoo-7c9a4bf696d5bbe1a65f9255fa398cdfcfaae1e4.zip
media-sound/cava: backport jack support
Was added just after the 0.10.0 release and may take a while before get this otherwise. May still have issues but is harmless unless explicitly selected in cava's config. Personally use jack so been wanting this, is an occasion to get it tested before the actual release too. Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
Diffstat (limited to 'media-sound')
-rw-r--r--media-sound/cava/Manifest1
-rw-r--r--media-sound/cava/cava-0.10.0.ebuild6
2 files changed, 6 insertions, 1 deletions
diff --git a/media-sound/cava/Manifest b/media-sound/cava/Manifest
index 04db6a2f95dd..c09873c47976 100644
--- a/media-sound/cava/Manifest
+++ b/media-sound/cava/Manifest
@@ -1,2 +1,3 @@
+DIST cava-0.10.0-jack-support.patch.xz 9188 BLAKE2B c99b92a9879506efd942766cd01794c14b223e39862ab92699f4a25d34d21524d0b610a33dbd084c0466fafe8430b5d96da1146c6050d43b35d1f85915540938 SHA512 ffd2eb4c388b83a0ee21a08ec2f707731d8aa32a15ec549d8fe5caf5ac4a45534f3d0f6b66a1d747a57959eb2f571efd5a7b1d3fbb81496b6a01e23b7bd42276
DIST cava-0.10.0.tar.gz 124085 BLAKE2B 1d1d16f2e32823749465ee76d42bdaebf201dd5d8c7c44020793e247448f6786d631fed75841622dfaedc1d6dd0bee54dfaf10e9f637d6ae5aab3e1a76138421 SHA512 8b54ed59ce7965209f0e03be3409f59b0e59e6a684afca3eb2e3c82c369d35224a0a1a09cbcbca09b36fce416a13efafdff7362fe0b4e2f6b494a023de76793e
DIST cava-0.9.1.tar.gz 119287 BLAKE2B e6342ff8867747a2c15197c965b713e8ea1c5bd579725538e0e1745797280460ea6a7d6c5cca2776934eef24378d9661bcef5cfd5280a93de16b41201558c49d SHA512 21af220b53a2f45c8c43dfd2ba47c1c96a8fcccdbd11ca1ac59eea7a4f32c0e27c7d2056281d0293fd17d4d635b1c568c953567d6f0301c800b4a387332d2a7a
diff --git a/media-sound/cava/cava-0.10.0.ebuild b/media-sound/cava/cava-0.10.0.ebuild
index bcf6a4402824..2278b798dc4d 100644
--- a/media-sound/cava/cava-0.10.0.ebuild
+++ b/media-sound/cava/cava-0.10.0.ebuild
@@ -10,17 +10,19 @@ HOMEPAGE="https://github.com/karlstav/cava/"
SRC_URI="
https://github.com/karlstav/cava/archive/refs/tags/${PV}.tar.gz
-> ${P}.tar.gz
+ https://dev.gentoo.org/~ionen/distfiles/${P}-jack-support.patch.xz
"
LICENSE="MIT Unlicense"
SLOT="0"
KEYWORDS="~amd64 ~x86"
-IUSE="alsa +ncurses pipewire portaudio pulseaudio sdl sndio"
+IUSE="alsa jack +ncurses pipewire portaudio pulseaudio sdl sndio"
RDEPEND="
dev-libs/iniparser:4
sci-libs/fftw:3.0=
alsa? ( media-libs/alsa-lib )
+ jack? ( virtual/jack )
ncurses? ( sys-libs/ncurses:= )
pipewire? ( media-video/pipewire:= )
portaudio? ( media-libs/portaudio )
@@ -39,6 +41,7 @@ BDEPEND="
PATCHES=(
"${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch
+ "${WORKDIR}"/${P}-jack-support.patch
)
src_prepare() {
@@ -51,6 +54,7 @@ src_prepare() {
src_configure() {
local econfargs=(
$(use_enable alsa input-alsa)
+ $(use_enable jack input-jack)
$(use_enable pipewire input-pipewire)
$(use_enable portaudio input-portaudio)
$(use_enable pulseaudio input-pulse)