[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2024-06-06 Thread Ionen Wolkens
commit: bdbf275145d43ce84b8be26208a47000db441c5b
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Jun  6 12:53:34 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Jun  6 13:19:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bdbf2751

media-sound/cava: update comment for iniparser-4.2.2

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/cava-0.10.2.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/media-sound/cava/cava-0.10.2.ebuild 
b/media-sound/cava/cava-0.10.2.ebuild
index cd7b175c4340..799f0d561c41 100644
--- a/media-sound/cava/cava-0.10.2.ebuild
+++ b/media-sound/cava/cava-0.10.2.ebuild
@@ -39,7 +39,8 @@ BDEPEND="
 "
 
 src_prepare() {
-   # TODO: depend on >=4.2.2 and drop the patch when it is stable
+   # TODO: depend on >=4.2.2 and remove after 4.2.2 is stable unless bug
+   # #933610 reintroduces slotting hacks (also drop GENTOO_SYSROOT below)
has_version '

[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2024-06-06 Thread Ionen Wolkens
commit: 929b34fedddb69597b7cb0eebdf65cebc82bec12
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Jun  6 12:53:23 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Jun  6 13:19:00 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=929b34fe

media-sound/cava: drop 0.10.1

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/Manifest   |  1 -
 media-sound/cava/cava-0.10.1.ebuild | 85 -
 2 files changed, 86 deletions(-)

diff --git a/media-sound/cava/Manifest b/media-sound/cava/Manifest
index 06b58399e79c..52c7f5a5cdcb 100644
--- a/media-sound/cava/Manifest
+++ b/media-sound/cava/Manifest
@@ -1,2 +1 @@
-DIST cava-0.10.1.tar.gz 129520 BLAKE2B 
181a511feb8b9a6806316264c27e963fe7827802d8e333c39d59a0e3f67dd57bea967b05aeb869455992b905afd9c6e3f568debb84155068cbef03621047da6b
 SHA512 
8a71628bae6621ef925f5fed94659b07d9220e142c17514bed79e1105a9160494bf3978267c9de3ab6cd2126ece50419fb4245ccf190f3a299fc0cfb111be354
 DIST cava-0.10.2.tar.gz 130036 BLAKE2B 
155a0152571a6b1b847340fe438389f58b963af047d4136595a8b2933a4ac5b1fff87600110765c7c1500072ebd8b730d971918b8701598526052d137465ac81
 SHA512 
c28ef5a89668b8f90a3b4cbf71b208dd067268d5ed9eca35ff3881bfab0fd7bf72efe2164f29af47ca7972637d8f1d6a86ff2b2e0c9c9221a1856d8dfa960065

diff --git a/media-sound/cava/cava-0.10.1.ebuild 
b/media-sound/cava/cava-0.10.1.ebuild
deleted file mode 100644
index 7251e5fe1301..
--- a/media-sound/cava/cava-0.10.1.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools toolchain-funcs
-
-DESCRIPTION="Console-based Audio Visualizer for Alsa"
-HOMEPAGE="https://github.com/karlstav/cava/";
-SRC_URI="
-   https://github.com/karlstav/cava/archive/refs/tags/${PV}.tar.gz
-   -> ${P}.tar.gz
-"
-
-LICENSE="MIT Unlicense"
-SLOT="0"
-KEYWORDS="amd64 x86"
-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 )
-   pulseaudio? ( media-libs/libpulse )
-   sdl? (
-   media-libs/libglvnd
-   media-libs/libsdl2[opengl,video]
-   )
-   sndio? ( media-sound/sndio:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   sdl? ( dev-build/autoconf-archive )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch
-)
-
-src_prepare() {
-   default
-
-   echo ${PV} > version || die
-   eautoreconf
-}
-
-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)
-   $(use_enable sndio input-sndio)
-
-   $(use_enable ncurses output-ncurses)
-   $(use_enable sdl output-sdl)
-   # note: not behind USE=opengl and sdl2[opengl?] given have not 
gotten
-   # normal output-sdl to work without USE=opengl on sdl either way
-   $(use_enable sdl output-sdl_glsl)
-
-   GENTOO_SYSROOT="${ESYSROOT}" # see iniparser4.patch
-   )
-
-   # autoconf-archive (currently) does not support -lOpenGL for 
libglvnd[-X]
-   use sdl && econfargs+=( GL_LIBS="$($(tc-getPKG_CONFIG) --libs opengl || 
die)" )
-
-   econf "${econfargs[@]}"
-}
-
-pkg_postinst() {
-   if [[ ! ${REPLACING_VERSIONS##* } ]]; then
-   elog "A default ~/.config/cava/config will be created after 
initial"
-   elog "use of ${PN}, see it and 
${EROOT}/usr/share/doc/${PF}/README*"
-   elog "for configuring audio input and more."
-   elif ver_test ${REPLACING_VERSIONS##* } -lt 0.9; then
-   elog "If used, the noise_reduction config option in 
~/.config/cava/config needs"
-   elog "to be updated from taking a float to integer (e.g. 
replace 0.77 with 77)."
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2024-06-05 Thread Ionen Wolkens
commit: a6bd96d70ee2af5815c5a8556e0d7b152f4cdacd
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Wed Jun  5 09:24:23 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Wed Jun  5 09:30:20 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6bd96d7

media-sound/cava: fix build with iniparser-4.2.2

Transition seems messy (no subslot for rebuild, conflicts with SLOT=0,
etc..) but reverting to a normal ebuild without forced slotting will
ultimately be better (lets us drop the gentoo-specific patch).

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/cava-0.10.2.ebuild | 8 
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/media-sound/cava/cava-0.10.2.ebuild 
b/media-sound/cava/cava-0.10.2.ebuild
index 7251e5fe1301..cd7b175c4340 100644
--- a/media-sound/cava/cava-0.10.2.ebuild
+++ b/media-sound/cava/cava-0.10.2.ebuild
@@ -38,11 +38,11 @@ BDEPEND="
sdl? ( dev-build/autoconf-archive )
 "
 
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch
-)
-
 src_prepare() {
+   # TODO: depend on >=4.2.2 and drop the patch when it is stable
+   has_version ' version || die



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2024-05-29 Thread Sam James
commit: 5df6ec2a62f602f42556b621200fed880cb4729c
Author: Sam James  gentoo  org>
AuthorDate: Wed May 29 17:36:51 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Wed May 29 17:36:51 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5df6ec2a

media-sound/cava: Stabilize 0.10.2 x86, #933113

Signed-off-by: Sam James  gentoo.org>

 media-sound/cava/cava-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/cava/cava-0.10.2.ebuild 
b/media-sound/cava/cava-0.10.2.ebuild
index 3c5f3db90724..7251e5fe1301 100644
--- a/media-sound/cava/cava-0.10.2.ebuild
+++ b/media-sound/cava/cava-0.10.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="MIT Unlicense"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="alsa jack +ncurses pipewire portaudio pulseaudio sdl sndio"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2024-05-29 Thread Jakov Smolić
commit: 363ad45349aeb2cdccf14d35425ec9dde20fb9f3
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed May 29 14:43:28 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed May 29 14:43:28 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=363ad453

media-sound/cava: Stabilize 0.10.2 amd64, #933113

Signed-off-by: Jakov Smolić  gentoo.org>

 media-sound/cava/cava-0.10.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/cava/cava-0.10.2.ebuild 
b/media-sound/cava/cava-0.10.2.ebuild
index cef1a79fa28c..3c5f3db90724 100644
--- a/media-sound/cava/cava-0.10.2.ebuild
+++ b/media-sound/cava/cava-0.10.2.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="MIT Unlicense"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="alsa jack +ncurses pipewire portaudio pulseaudio sdl sndio"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2024-05-14 Thread Ionen Wolkens
commit: 75dfc53cda321bcc3e07a6812f2b5bb311bb24aa
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue May 14 19:05:10 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue May 14 19:05:17 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75dfc53c

media-sound/cava: add 0.10.2

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/Manifest   |  1 +
 media-sound/cava/cava-0.10.2.ebuild | 85 +
 2 files changed, 86 insertions(+)

diff --git a/media-sound/cava/Manifest b/media-sound/cava/Manifest
index 570ca8dcc805..06b58399e79c 100644
--- a/media-sound/cava/Manifest
+++ b/media-sound/cava/Manifest
@@ -1 +1,2 @@
 DIST cava-0.10.1.tar.gz 129520 BLAKE2B 
181a511feb8b9a6806316264c27e963fe7827802d8e333c39d59a0e3f67dd57bea967b05aeb869455992b905afd9c6e3f568debb84155068cbef03621047da6b
 SHA512 
8a71628bae6621ef925f5fed94659b07d9220e142c17514bed79e1105a9160494bf3978267c9de3ab6cd2126ece50419fb4245ccf190f3a299fc0cfb111be354
+DIST cava-0.10.2.tar.gz 130036 BLAKE2B 
155a0152571a6b1b847340fe438389f58b963af047d4136595a8b2933a4ac5b1fff87600110765c7c1500072ebd8b730d971918b8701598526052d137465ac81
 SHA512 
c28ef5a89668b8f90a3b4cbf71b208dd067268d5ed9eca35ff3881bfab0fd7bf72efe2164f29af47ca7972637d8f1d6a86ff2b2e0c9c9221a1856d8dfa960065

diff --git a/media-sound/cava/cava-0.10.2.ebuild 
b/media-sound/cava/cava-0.10.2.ebuild
new file mode 100644
index ..cef1a79fa28c
--- /dev/null
+++ b/media-sound/cava/cava-0.10.2.ebuild
@@ -0,0 +1,85 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="Console-based Audio Visualizer for Alsa"
+HOMEPAGE="https://github.com/karlstav/cava/";
+SRC_URI="
+   https://github.com/karlstav/cava/archive/refs/tags/${PV}.tar.gz
+   -> ${P}.tar.gz
+"
+
+LICENSE="MIT Unlicense"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+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 )
+   pulseaudio? ( media-libs/libpulse )
+   sdl? (
+   media-libs/libglvnd
+   media-libs/libsdl2[opengl,video]
+   )
+   sndio? ( media-sound/sndio:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   sdl? ( dev-build/autoconf-archive )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch
+)
+
+src_prepare() {
+   default
+
+   echo ${PV} > version || die
+   eautoreconf
+}
+
+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)
+   $(use_enable sndio input-sndio)
+
+   $(use_enable ncurses output-ncurses)
+   $(use_enable sdl output-sdl)
+   # note: not behind USE=opengl and sdl2[opengl?] given have not 
gotten
+   # normal output-sdl to work without USE=opengl on sdl either way
+   $(use_enable sdl output-sdl_glsl)
+
+   GENTOO_SYSROOT="${ESYSROOT}" # see iniparser4.patch
+   )
+
+   # autoconf-archive (currently) does not support -lOpenGL for 
libglvnd[-X]
+   use sdl && econfargs+=( GL_LIBS="$($(tc-getPKG_CONFIG) --libs opengl || 
die)" )
+
+   econf "${econfargs[@]}"
+}
+
+pkg_postinst() {
+   if [[ ! ${REPLACING_VERSIONS##* } ]]; then
+   elog "A default ~/.config/cava/config will be created after 
initial"
+   elog "use of ${PN}, see it and 
${EROOT}/usr/share/doc/${PF}/README*"
+   elog "for configuring audio input and more."
+   elif ver_test ${REPLACING_VERSIONS##* } -lt 0.9; then
+   elog "If used, the noise_reduction config option in 
~/.config/cava/config needs"
+   elog "to be updated from taking a float to integer (e.g. 
replace 0.77 with 77)."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2024-02-21 Thread Ionen Wolkens
commit: e1bde288a61530f4b4902ae4c6d7913b14c4b5e7
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Feb 22 05:07:58 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Feb 22 06:14:31 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1bde288

media-sound/cava: drop 0.9.1, 0.10.0

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/Manifest   |  3 --
 media-sound/cava/cava-0.10.0.ebuild | 87 -
 media-sound/cava/cava-0.9.1.ebuild  | 83 ---
 3 files changed, 173 deletions(-)

diff --git a/media-sound/cava/Manifest b/media-sound/cava/Manifest
index ebdfbf775874..570ca8dcc805 100644
--- a/media-sound/cava/Manifest
+++ b/media-sound/cava/Manifest
@@ -1,4 +1 @@
-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.10.1.tar.gz 129520 BLAKE2B 
181a511feb8b9a6806316264c27e963fe7827802d8e333c39d59a0e3f67dd57bea967b05aeb869455992b905afd9c6e3f568debb84155068cbef03621047da6b
 SHA512 
8a71628bae6621ef925f5fed94659b07d9220e142c17514bed79e1105a9160494bf3978267c9de3ab6cd2126ece50419fb4245ccf190f3a299fc0cfb111be354
-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
deleted file mode 100644
index 8e6993dbfcc1..
--- a/media-sound/cava/cava-0.10.0.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 2022-2024 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools toolchain-funcs
-
-DESCRIPTION="Console-based Audio Visualizer for Alsa"
-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 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 )
-   pulseaudio? ( media-libs/libpulse )
-   sdl? (
-   media-libs/libglvnd
-   media-libs/libsdl2[opengl,video]
-   )
-   sndio? ( media-sound/sndio:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   sdl? ( dev-build/autoconf-archive )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch
-   "${WORKDIR}"/${P}-jack-support.patch
-)
-
-src_prepare() {
-   default
-
-   echo ${PV} > version || die
-   eautoreconf
-}
-
-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)
-   $(use_enable sndio input-sndio)
-
-   $(use_enable ncurses output-ncurses)
-   $(use_enable sdl output-sdl)
-   # note: not behind USE=opengl and sdl2[opengl?] given have not 
gotten
-   # normal output-sdl to work without USE=opengl on sdl either way
-   $(use_enable sdl output-sdl_glsl)
-
-   GENTOO_SYSROOT="${ESYSROOT}" # see iniparser4.patch
-   )
-
-   # autoconf-archive (currently) does not support -lOpenGL for 
libglvnd[-X]
-   use sdl && econfargs+=( GL_LIBS="$($(tc-getPKG_CONFIG) --libs opengl || 
die)" )
-
-   econf "${econfargs[@]}"
-}
-
-pkg_postinst() {
-   if [[ ! ${REPLACING_VERSIONS##* } ]]; then
-   elog "A default ~/.config/cava/config will be created after 
initial"
-   elog "use of ${PN}, see it and 
${EROOT}/usr/share/doc/${PF}/README*"
-   elog "for configuring audio input and more."
-   elif ver_test ${REPLACING_VERSIONS##* } -lt 0.9; then
-   elog "If used, the noise_reduction co

[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2024-02-18 Thread Sam James
commit: c32024df3186a3fad3c24dba13f9d5612ee698bb
Author: Sam James  gentoo  org>
AuthorDate: Mon Feb 19 02:56:21 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Feb 19 02:56:21 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c32024df

media-sound/cava: Stabilize 0.10.1 x86, #924763

Signed-off-by: Sam James  gentoo.org>

 media-sound/cava/cava-0.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/cava/cava-0.10.1.ebuild 
b/media-sound/cava/cava-0.10.1.ebuild
index 3c5f3db90724..7251e5fe1301 100644
--- a/media-sound/cava/cava-0.10.1.ebuild
+++ b/media-sound/cava/cava-0.10.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="MIT Unlicense"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="alsa jack +ncurses pipewire portaudio pulseaudio sdl sndio"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2024-02-17 Thread Jakov Smolić
commit: 25adb69b0d1ca675251206012c158adeecefaedb
Author: Jakov Smolić  gentoo  org>
AuthorDate: Sat Feb 17 12:11:04 2024 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Sat Feb 17 12:11:04 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25adb69b

media-sound/cava: Stabilize 0.10.1 amd64, #924763

Signed-off-by: Jakov Smolić  gentoo.org>

 media-sound/cava/cava-0.10.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/cava/cava-0.10.1.ebuild 
b/media-sound/cava/cava-0.10.1.ebuild
index cef1a79fa28c..3c5f3db90724 100644
--- a/media-sound/cava/cava-0.10.1.ebuild
+++ b/media-sound/cava/cava-0.10.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="MIT Unlicense"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="alsa jack +ncurses pipewire portaudio pulseaudio sdl sndio"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2024-02-02 Thread Ionen Wolkens
commit: 0085994757e37277f86c787b04784fe022ca75fc
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Fri Feb  2 18:07:12 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri Feb  2 18:08:43 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00859947

media-sound/cava: add 0.10.1

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/Manifest   |  1 +
 media-sound/cava/cava-0.10.1.ebuild | 85 +
 2 files changed, 86 insertions(+)

diff --git a/media-sound/cava/Manifest b/media-sound/cava/Manifest
index c09873c47976..ebdfbf775874 100644
--- a/media-sound/cava/Manifest
+++ b/media-sound/cava/Manifest
@@ -1,3 +1,4 @@
 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.10.1.tar.gz 129520 BLAKE2B 
181a511feb8b9a6806316264c27e963fe7827802d8e333c39d59a0e3f67dd57bea967b05aeb869455992b905afd9c6e3f568debb84155068cbef03621047da6b
 SHA512 
8a71628bae6621ef925f5fed94659b07d9220e142c17514bed79e1105a9160494bf3978267c9de3ab6cd2126ece50419fb4245ccf190f3a299fc0cfb111be354
 DIST cava-0.9.1.tar.gz 119287 BLAKE2B 
e6342ff8867747a2c15197c965b713e8ea1c5bd579725538e0e1745797280460ea6a7d6c5cca2776934eef24378d9661bcef5cfd5280a93de16b41201558c49d
 SHA512 
21af220b53a2f45c8c43dfd2ba47c1c96a8fcccdbd11ca1ac59eea7a4f32c0e27c7d2056281d0293fd17d4d635b1c568c953567d6f0301c800b4a387332d2a7a

diff --git a/media-sound/cava/cava-0.10.1.ebuild 
b/media-sound/cava/cava-0.10.1.ebuild
new file mode 100644
index ..cef1a79fa28c
--- /dev/null
+++ b/media-sound/cava/cava-0.10.1.ebuild
@@ -0,0 +1,85 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="Console-based Audio Visualizer for Alsa"
+HOMEPAGE="https://github.com/karlstav/cava/";
+SRC_URI="
+   https://github.com/karlstav/cava/archive/refs/tags/${PV}.tar.gz
+   -> ${P}.tar.gz
+"
+
+LICENSE="MIT Unlicense"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+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 )
+   pulseaudio? ( media-libs/libpulse )
+   sdl? (
+   media-libs/libglvnd
+   media-libs/libsdl2[opengl,video]
+   )
+   sndio? ( media-sound/sndio:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   sdl? ( dev-build/autoconf-archive )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch
+)
+
+src_prepare() {
+   default
+
+   echo ${PV} > version || die
+   eautoreconf
+}
+
+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)
+   $(use_enable sndio input-sndio)
+
+   $(use_enable ncurses output-ncurses)
+   $(use_enable sdl output-sdl)
+   # note: not behind USE=opengl and sdl2[opengl?] given have not 
gotten
+   # normal output-sdl to work without USE=opengl on sdl either way
+   $(use_enable sdl output-sdl_glsl)
+
+   GENTOO_SYSROOT="${ESYSROOT}" # see iniparser4.patch
+   )
+
+   # autoconf-archive (currently) does not support -lOpenGL for 
libglvnd[-X]
+   use sdl && econfargs+=( GL_LIBS="$($(tc-getPKG_CONFIG) --libs opengl || 
die)" )
+
+   econf "${econfargs[@]}"
+}
+
+pkg_postinst() {
+   if [[ ! ${REPLACING_VERSIONS##* } ]]; then
+   elog "A default ~/.config/cava/config will be created after 
initial"
+   elog "use of ${PN}, see it and 
${EROOT}/usr/share/doc/${PF}/README*"
+   elog "for configuring audio input and more."
+   elif ver_test ${REPLACING_VERSIONS##* } -lt 0.9; then
+   elog "If used, the noise_reduction config option in 
~/.config/cava/config needs"
+   elog "to be updated from taking a float to integer (e.g. 
replace 0.77 with 77)."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2024-02-02 Thread Arthur Zamarin
commit: 3ac1d9c64c658b6c802066c099cd7975c1915ee4
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Feb  2 13:46:35 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Feb  2 13:46:35 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3ac1d9c6

media-sound/cava: Stabilize 0.10.0 x86, #923571

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/cava/cava-0.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/cava/cava-0.10.0.ebuild 
b/media-sound/cava/cava-0.10.0.ebuild
index 4ee9c058cca0..8e6993dbfcc1 100644
--- a/media-sound/cava/cava-0.10.0.ebuild
+++ b/media-sound/cava/cava-0.10.0.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="MIT Unlicense"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="alsa jack +ncurses pipewire portaudio pulseaudio sdl sndio"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2024-02-02 Thread Arthur Zamarin
commit: a9ddc1d60b69abb928f666e5b4610c4d54148fa2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Fri Feb  2 13:46:30 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Fri Feb  2 13:46:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9ddc1d6

media-sound/cava: Stabilize 0.10.0 amd64, #923571

Signed-off-by: Arthur Zamarin  gentoo.org>

 media-sound/cava/cava-0.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/cava/cava-0.10.0.ebuild 
b/media-sound/cava/cava-0.10.0.ebuild
index 2278b798dc4d..4ee9c058cca0 100644
--- a/media-sound/cava/cava-0.10.0.ebuild
+++ b/media-sound/cava/cava-0.10.0.ebuild
@@ -15,7 +15,7 @@ SRC_URI="
 
 LICENSE="MIT Unlicense"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="alsa jack +ncurses pipewire portaudio pulseaudio sdl sndio"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2024-01-23 Thread Ionen Wolkens
commit: 7c9a4bf696d5bbe1a65f9255fa398cdfcfaae1e4
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Jan 23 08:47:59 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Jan 23 09:09:49 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c9a4bf6

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  gentoo.org>

 media-sound/cava/Manifest   | 1 +
 media-sound/cava/cava-0.10.0.ebuild | 6 +-
 2 files changed, 6 insertions(+), 1 deletion(-)

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)



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2024-01-09 Thread Ionen Wolkens
commit: c0c1349341df721932cb8a102e93909fde4695b8
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Jan  9 18:57:40 2024 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Jan  9 18:58:34 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0c13493

media-sound/cava: add 0.10.0

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/Manifest   |  1 +
 media-sound/cava/cava-0.10.0.ebuild | 83 +
 2 files changed, 84 insertions(+)

diff --git a/media-sound/cava/Manifest b/media-sound/cava/Manifest
index 74101eb03ce0..04db6a2f95dd 100644
--- a/media-sound/cava/Manifest
+++ b/media-sound/cava/Manifest
@@ -1 +1,2 @@
+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
new file mode 100644
index ..11b7f54f0efb
--- /dev/null
+++ b/media-sound/cava/cava-0.10.0.ebuild
@@ -0,0 +1,83 @@
+# Copyright 2022-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="Console-based Audio Visualizer for Alsa"
+HOMEPAGE="https://github.com/karlstav/cava/";
+SRC_URI="
+   https://github.com/karlstav/cava/archive/refs/tags/${PV}.tar.gz
+   -> ${P}.tar.gz
+"
+
+LICENSE="MIT Unlicense"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa +ncurses pipewire portaudio pulseaudio sdl sndio"
+
+RDEPEND="
+   dev-libs/iniparser:4
+   sci-libs/fftw:3.0=
+   alsa? ( media-libs/alsa-lib )
+   ncurses? ( sys-libs/ncurses:= )
+   pipewire? ( media-video/pipewire:= )
+   portaudio? ( media-libs/portaudio )
+   pulseaudio? ( media-libs/libpulse )
+   sdl? (
+   media-libs/libglvnd
+   media-libs/libsdl2[opengl,video]
+   )
+   sndio? ( media-sound/sndio:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   sdl? ( sys-devel/autoconf-archive )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch
+)
+
+src_prepare() {
+   default
+
+   echo ${PV} > version || die
+   eautoreconf
+}
+
+src_configure() {
+   local econfargs=(
+   $(use_enable alsa input-alsa)
+   $(use_enable pipewire input-pipewire)
+   $(use_enable portaudio input-portaudio)
+   $(use_enable pulseaudio input-pulse)
+   $(use_enable sndio input-sndio)
+
+   $(use_enable ncurses output-ncurses)
+   $(use_enable sdl output-sdl)
+   # note: not behind USE=opengl and sdl2[opengl?] given have not 
gotten
+   # normal output-sdl to work without USE=opengl on sdl either way
+   $(use_enable sdl output-sdl_glsl)
+
+   GENTOO_SYSROOT="${ESYSROOT}" # see iniparser4.patch
+   )
+
+   # autoconf-archive (currently) does not support -lOpenGL for 
libglvnd[-X]
+   use sdl && econfargs+=( GL_LIBS="$($(tc-getPKG_CONFIG) --libs opengl || 
die)" )
+
+   econf "${econfargs[@]}"
+}
+
+pkg_postinst() {
+   if [[ ! ${REPLACING_VERSIONS##* } ]]; then
+   elog "A default ~/.config/cava/config will be created after 
initial"
+   elog "use of ${PN}, see it and 
${EROOT}/usr/share/doc/${PF}/README*"
+   elog "for configuring audio input and more."
+   elif ver_test ${REPLACING_VERSIONS##* } -lt 0.9; then
+   elog "If used, the noise_reduction config option in 
~/.config/cava/config needs"
+   elog "to be updated from taking a float to integer (e.g. 
replace 0.77 with 77)."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2023-09-12 Thread Ionen Wolkens
commit: 83b291135a5928984d5855728568bc102d648738
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Sep 12 15:59:21 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Sep 12 15:59:21 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83b29113

media-sound/cava: drop 0.8.3, 0.9.0

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/Manifest  |  2 -
 media-sound/cava/cava-0.8.3.ebuild | 61 
 media-sound/cava/cava-0.9.0.ebuild | 83 --
 3 files changed, 146 deletions(-)

diff --git a/media-sound/cava/Manifest b/media-sound/cava/Manifest
index e6f9f52f7a87..74101eb03ce0 100644
--- a/media-sound/cava/Manifest
+++ b/media-sound/cava/Manifest
@@ -1,3 +1 @@
-DIST cava-0.8.3.tar.gz 104797 BLAKE2B 
0617273669fbd8d1c122e6b19975d54d42b5779339de89613b4fe5d6087bcf0ff93afe6234af238e489d6b72c3eca481140105000951ef007cc864b77ef49b65
 SHA512 
cd176428ff293572325d21769fd4fdb666b6301e0fe5c7a2c53af2399a26b3fd10e83647f9c9cc318f4c69cc28835323fb949cd76340c14670df8b544bffa0f0
-DIST cava-0.9.0.tar.gz 119267 BLAKE2B 
6e409695fcc893892a1206b3d131fb091fcfac26db7f948d8d7b047e6e2a22bf05c613ff13b00b9a32c4eba6990a54755e1b2e816fe2db0e9f6140f688c2dd3a
 SHA512 
ed5cd222565324553b598c01740c1178dcaf41f8fe715e301906f122e605e55ec080e3254e23459cab01d03ce5204bee1cc8821c871a5cb95181704522cec76d
 DIST cava-0.9.1.tar.gz 119287 BLAKE2B 
e6342ff8867747a2c15197c965b713e8ea1c5bd579725538e0e1745797280460ea6a7d6c5cca2776934eef24378d9661bcef5cfd5280a93de16b41201558c49d
 SHA512 
21af220b53a2f45c8c43dfd2ba47c1c96a8fcccdbd11ca1ac59eea7a4f32c0e27c7d2056281d0293fd17d4d635b1c568c953567d6f0301c800b4a387332d2a7a

diff --git a/media-sound/cava/cava-0.8.3.ebuild 
b/media-sound/cava/cava-0.8.3.ebuild
deleted file mode 100644
index ed077f42a0f1..
--- a/media-sound/cava/cava-0.8.3.ebuild
+++ /dev/null
@@ -1,61 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="Console-based Audio Visualizer for Alsa"
-HOMEPAGE="https://github.com/karlstav/cava/";
-SRC_URI="https://github.com/karlstav/cava/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="alsa +ncurses portaudio pulseaudio sdl sndio"
-
-RDEPEND="
-   dev-libs/iniparser:4
-   sci-libs/fftw:3.0=
-   alsa? ( media-libs/alsa-lib )
-   ncurses? ( sys-libs/ncurses:= )
-   portaudio? ( media-libs/portaudio )
-   pulseaudio? ( media-libs/libpulse )
-   sdl? ( media-libs/libsdl2[opengl,video] )
-   sndio? ( media-sound/sndio:= )"
-DEPEND="${RDEPEND}"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch
-)
-
-src_prepare() {
-   default
-
-   echo ${PV} > version || die
-   eautoreconf
-}
-
-src_configure() {
-   local econfargs=(
-   $(use_enable alsa input-alsa)
-   $(use_enable portaudio input-portaudio)
-   $(use_enable pulseaudio input-pulse)
-   $(use_enable sndio input-sndio)
-
-   $(use_enable ncurses output-ncurses)
-   $(use_enable sdl output-sdl)
-
-   GENTOO_SYSROOT="${ESYSROOT}" # see iniparser4.patch
-   )
-
-   econf "${econfargs[@]}"
-}
-
-pkg_postinst() {
-   if [[ ! ${REPLACING_VERSIONS} ]]; then
-   elog "A default ~/.config/cava/config will be created after 
initial"
-   elog "use of ${PN}, see it and 
${EROOT}/usr/share/doc/${PF}/README*"
-   elog "for configuring audio input and more."
-   fi
-}

diff --git a/media-sound/cava/cava-0.9.0.ebuild 
b/media-sound/cava/cava-0.9.0.ebuild
deleted file mode 100644
index 88134f272ff1..
--- a/media-sound/cava/cava-0.9.0.ebuild
+++ /dev/null
@@ -1,83 +0,0 @@
-# Copyright 2022-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools toolchain-funcs
-
-DESCRIPTION="Console-based Audio Visualizer for Alsa"
-HOMEPAGE="https://github.com/karlstav/cava/";
-SRC_URI="
-   https://github.com/karlstav/cava/archive/refs/tags/${PV}.tar.gz
-   -> ${P}.tar.gz
-"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="alsa +ncurses pipewire portaudio pulseaudio sdl sndio"
-
-RDEPEND="
-   dev-libs/iniparser:4
-   sci-libs/fftw:3.0=
-   alsa? ( media-libs/alsa-lib )
-   ncurses? ( sys-libs/ncurses:= )
-   pipewire? ( media-video/pipewire:= )
-   portaudio? ( media-libs/portaudio )
-   pulseaudio? ( media-libs/libpulse )
-   sdl? (
-   media-libs/libglvnd
-   media-libs/libsdl2[opengl,video]
-   )
-   sndio? ( media-sound/sndio:= )
-"
-DEPEND="${RDEPEND}"
-BDEPEND="
-   virtual/pkgconfig
-   sdl? ( sys-devel/autoconf-archive )
-"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch
-)
-
-src_prepare() {
-   defau

[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2023-08-25 Thread Sam James
commit: 5247cffa5e951a0c22b61e94ecd6d7e8860f7105
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 26 06:49:46 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 26 06:49:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5247cffa

media-sound/cava: Stabilize 0.9.1 amd64, #913032

Signed-off-by: Sam James  gentoo.org>

 media-sound/cava/cava-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/cava/cava-0.9.1.ebuild 
b/media-sound/cava/cava-0.9.1.ebuild
index 88134f272ff1..1c6d657a4976 100644
--- a/media-sound/cava/cava-0.9.1.ebuild
+++ b/media-sound/cava/cava-0.9.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 ~x86"
 IUSE="alsa +ncurses pipewire portaudio pulseaudio sdl sndio"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2023-08-25 Thread Sam James
commit: 3a995a87116c2bdf9928a3c7c882ee6879f20120
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 26 06:49:47 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 26 06:49:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a995a87

media-sound/cava: Stabilize 0.9.1 x86, #913032

Signed-off-by: Sam James  gentoo.org>

 media-sound/cava/cava-0.9.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/cava/cava-0.9.1.ebuild 
b/media-sound/cava/cava-0.9.1.ebuild
index 1c6d657a4976..38ea6e980314 100644
--- a/media-sound/cava/cava-0.9.1.ebuild
+++ b/media-sound/cava/cava-0.9.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="alsa +ncurses pipewire portaudio pulseaudio sdl sndio"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2023-08-12 Thread Ionen Wolkens
commit: 1a6e797cf77c23e79f00bc0a66dc8f5e7097
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sat Aug 12 21:07:45 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sat Aug 12 21:07:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a6e

media-sound/cava: add 0.9.1

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/Manifest  |  1 +
 media-sound/cava/cava-0.9.1.ebuild | 83 ++
 2 files changed, 84 insertions(+)

diff --git a/media-sound/cava/Manifest b/media-sound/cava/Manifest
index 2b65704ab3f2..e6f9f52f7a87 100644
--- a/media-sound/cava/Manifest
+++ b/media-sound/cava/Manifest
@@ -1,2 +1,3 @@
 DIST cava-0.8.3.tar.gz 104797 BLAKE2B 
0617273669fbd8d1c122e6b19975d54d42b5779339de89613b4fe5d6087bcf0ff93afe6234af238e489d6b72c3eca481140105000951ef007cc864b77ef49b65
 SHA512 
cd176428ff293572325d21769fd4fdb666b6301e0fe5c7a2c53af2399a26b3fd10e83647f9c9cc318f4c69cc28835323fb949cd76340c14670df8b544bffa0f0
 DIST cava-0.9.0.tar.gz 119267 BLAKE2B 
6e409695fcc893892a1206b3d131fb091fcfac26db7f948d8d7b047e6e2a22bf05c613ff13b00b9a32c4eba6990a54755e1b2e816fe2db0e9f6140f688c2dd3a
 SHA512 
ed5cd222565324553b598c01740c1178dcaf41f8fe715e301906f122e605e55ec080e3254e23459cab01d03ce5204bee1cc8821c871a5cb95181704522cec76d
+DIST cava-0.9.1.tar.gz 119287 BLAKE2B 
e6342ff8867747a2c15197c965b713e8ea1c5bd579725538e0e1745797280460ea6a7d6c5cca2776934eef24378d9661bcef5cfd5280a93de16b41201558c49d
 SHA512 
21af220b53a2f45c8c43dfd2ba47c1c96a8fcccdbd11ca1ac59eea7a4f32c0e27c7d2056281d0293fd17d4d635b1c568c953567d6f0301c800b4a387332d2a7a

diff --git a/media-sound/cava/cava-0.9.1.ebuild 
b/media-sound/cava/cava-0.9.1.ebuild
new file mode 100644
index ..88134f272ff1
--- /dev/null
+++ b/media-sound/cava/cava-0.9.1.ebuild
@@ -0,0 +1,83 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="Console-based Audio Visualizer for Alsa"
+HOMEPAGE="https://github.com/karlstav/cava/";
+SRC_URI="
+   https://github.com/karlstav/cava/archive/refs/tags/${PV}.tar.gz
+   -> ${P}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa +ncurses pipewire portaudio pulseaudio sdl sndio"
+
+RDEPEND="
+   dev-libs/iniparser:4
+   sci-libs/fftw:3.0=
+   alsa? ( media-libs/alsa-lib )
+   ncurses? ( sys-libs/ncurses:= )
+   pipewire? ( media-video/pipewire:= )
+   portaudio? ( media-libs/portaudio )
+   pulseaudio? ( media-libs/libpulse )
+   sdl? (
+   media-libs/libglvnd
+   media-libs/libsdl2[opengl,video]
+   )
+   sndio? ( media-sound/sndio:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   sdl? ( sys-devel/autoconf-archive )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch
+)
+
+src_prepare() {
+   default
+
+   echo ${PV} > version || die
+   eautoreconf
+}
+
+src_configure() {
+   local econfargs=(
+   $(use_enable alsa input-alsa)
+   $(use_enable pipewire input-pipewire)
+   $(use_enable portaudio input-portaudio)
+   $(use_enable pulseaudio input-pulse)
+   $(use_enable sndio input-sndio)
+
+   $(use_enable ncurses output-ncurses)
+   $(use_enable sdl output-sdl)
+   # note: not behind USE=opengl and sdl2[opengl?] given have not 
gotten
+   # normal output-sdl to work without USE=opengl on sdl either way
+   $(use_enable sdl output-sdl_glsl)
+
+   GENTOO_SYSROOT="${ESYSROOT}" # see iniparser4.patch
+   )
+
+   # autoconf-archive (currently) does not support -lOpenGL for 
libglvnd[-X]
+   use sdl && econfargs+=( GL_LIBS="$($(tc-getPKG_CONFIG) --libs opengl || 
die)" )
+
+   econf "${econfargs[@]}"
+}
+
+pkg_postinst() {
+   if [[ ! ${REPLACING_VERSIONS##* } ]]; then
+   elog "A default ~/.config/cava/config will be created after 
initial"
+   elog "use of ${PN}, see it and 
${EROOT}/usr/share/doc/${PF}/README*"
+   elog "for configuring audio input and more."
+   elif ver_test ${REPLACING_VERSIONS##* } -lt 0.9; then
+   elog "If used, the noise_reduction config option in 
~/.config/cava/config needs"
+   elog "to be updated from taking a float to integer (e.g. 
replace 0.77 with 77)."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2023-08-06 Thread Ionen Wolkens
commit: 3850cf337367205595e0051a83cb87cb373f419c
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Mon Aug  7 04:06:40 2023 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Mon Aug  7 04:16:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3850cf33

media-sound/cava: add 0.9.0

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/Manifest  |  1 +
 media-sound/cava/cava-0.9.0.ebuild | 83 ++
 media-sound/cava/metadata.xml  |  1 +
 3 files changed, 85 insertions(+)

diff --git a/media-sound/cava/Manifest b/media-sound/cava/Manifest
index 9b9bff200bf1..2b65704ab3f2 100644
--- a/media-sound/cava/Manifest
+++ b/media-sound/cava/Manifest
@@ -1 +1,2 @@
 DIST cava-0.8.3.tar.gz 104797 BLAKE2B 
0617273669fbd8d1c122e6b19975d54d42b5779339de89613b4fe5d6087bcf0ff93afe6234af238e489d6b72c3eca481140105000951ef007cc864b77ef49b65
 SHA512 
cd176428ff293572325d21769fd4fdb666b6301e0fe5c7a2c53af2399a26b3fd10e83647f9c9cc318f4c69cc28835323fb949cd76340c14670df8b544bffa0f0
+DIST cava-0.9.0.tar.gz 119267 BLAKE2B 
6e409695fcc893892a1206b3d131fb091fcfac26db7f948d8d7b047e6e2a22bf05c613ff13b00b9a32c4eba6990a54755e1b2e816fe2db0e9f6140f688c2dd3a
 SHA512 
ed5cd222565324553b598c01740c1178dcaf41f8fe715e301906f122e605e55ec080e3254e23459cab01d03ce5204bee1cc8821c871a5cb95181704522cec76d

diff --git a/media-sound/cava/cava-0.9.0.ebuild 
b/media-sound/cava/cava-0.9.0.ebuild
new file mode 100644
index ..88134f272ff1
--- /dev/null
+++ b/media-sound/cava/cava-0.9.0.ebuild
@@ -0,0 +1,83 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+DESCRIPTION="Console-based Audio Visualizer for Alsa"
+HOMEPAGE="https://github.com/karlstav/cava/";
+SRC_URI="
+   https://github.com/karlstav/cava/archive/refs/tags/${PV}.tar.gz
+   -> ${P}.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa +ncurses pipewire portaudio pulseaudio sdl sndio"
+
+RDEPEND="
+   dev-libs/iniparser:4
+   sci-libs/fftw:3.0=
+   alsa? ( media-libs/alsa-lib )
+   ncurses? ( sys-libs/ncurses:= )
+   pipewire? ( media-video/pipewire:= )
+   portaudio? ( media-libs/portaudio )
+   pulseaudio? ( media-libs/libpulse )
+   sdl? (
+   media-libs/libglvnd
+   media-libs/libsdl2[opengl,video]
+   )
+   sndio? ( media-sound/sndio:= )
+"
+DEPEND="${RDEPEND}"
+BDEPEND="
+   virtual/pkgconfig
+   sdl? ( sys-devel/autoconf-archive )
+"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch
+)
+
+src_prepare() {
+   default
+
+   echo ${PV} > version || die
+   eautoreconf
+}
+
+src_configure() {
+   local econfargs=(
+   $(use_enable alsa input-alsa)
+   $(use_enable pipewire input-pipewire)
+   $(use_enable portaudio input-portaudio)
+   $(use_enable pulseaudio input-pulse)
+   $(use_enable sndio input-sndio)
+
+   $(use_enable ncurses output-ncurses)
+   $(use_enable sdl output-sdl)
+   # note: not behind USE=opengl and sdl2[opengl?] given have not 
gotten
+   # normal output-sdl to work without USE=opengl on sdl either way
+   $(use_enable sdl output-sdl_glsl)
+
+   GENTOO_SYSROOT="${ESYSROOT}" # see iniparser4.patch
+   )
+
+   # autoconf-archive (currently) does not support -lOpenGL for 
libglvnd[-X]
+   use sdl && econfargs+=( GL_LIBS="$($(tc-getPKG_CONFIG) --libs opengl || 
die)" )
+
+   econf "${econfargs[@]}"
+}
+
+pkg_postinst() {
+   if [[ ! ${REPLACING_VERSIONS##* } ]]; then
+   elog "A default ~/.config/cava/config will be created after 
initial"
+   elog "use of ${PN}, see it and 
${EROOT}/usr/share/doc/${PF}/README*"
+   elog "for configuring audio input and more."
+   elif ver_test ${REPLACING_VERSIONS##* } -lt 0.9; then
+   elog "If used, the noise_reduction config option in 
~/.config/cava/config needs"
+   elog "to be updated from taking a float to integer (e.g. 
replace 0.77 with 77)."
+   fi
+}

diff --git a/media-sound/cava/metadata.xml b/media-sound/cava/metadata.xml
index 7b32cdd182c8..db875d2c1d7b 100644
--- a/media-sound/cava/metadata.xml
+++ b/media-sound/cava/metadata.xml
@@ -6,6 +6,7 @@
Ionen Wolkens


+   Enable support for the 
media-video/pipewire backend
Enable support for the 
media-sound/sndio backend





[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2022-11-25 Thread Ionen Wolkens
commit: c4b22e5ed90e37e1161a0ff39f26ea0fa4fb6e00
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Fri Nov 25 18:54:02 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri Nov 25 18:54:07 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c4b22e5e

media-sound/cava: stabilize 0.8.3 for amd64, x86

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/cava-0.8.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/cava/cava-0.8.3.ebuild 
b/media-sound/cava/cava-0.8.3.ebuild
index de716fb01129..ed077f42a0f1 100644
--- a/media-sound/cava/cava-0.8.3.ebuild
+++ b/media-sound/cava/cava-0.8.3.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/karlstav/cava/archive/refs/tags/${PV}.tar.gz -> ${P}
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="alsa +ncurses portaudio pulseaudio sdl sndio"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2022-11-04 Thread Ionen Wolkens
commit: 8bfd676e53ebd645a3794111f283da85ea9d565c
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Fri Nov  4 08:15:24 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri Nov  4 08:23:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bfd676e

media-sound/cava: add 0.8.3

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/Manifest  |  1 +
 media-sound/cava/cava-0.8.3.ebuild | 61 ++
 2 files changed, 62 insertions(+)

diff --git a/media-sound/cava/Manifest b/media-sound/cava/Manifest
index 2a24285f08f5..3f0a124be904 100644
--- a/media-sound/cava/Manifest
+++ b/media-sound/cava/Manifest
@@ -1 +1,2 @@
 DIST cava-0.8.2.tar.gz 103930 BLAKE2B 
feeb8313bd9b74029d101acaecfeed02e449cc29dceb2c119d7deef65befae418526274e6bad14dc0df7eaed90850ecae4a4064a414d94950ab3c24943281017
 SHA512 
8ab146987324fad97dea5e9fd893de6c12b00cbb074d835c1e334d75c0d32cb4cbbc13cf72f7899191ebd5d346505b2639dcad5312e5ab00975b29a006ba41b3
+DIST cava-0.8.3.tar.gz 104797 BLAKE2B 
0617273669fbd8d1c122e6b19975d54d42b5779339de89613b4fe5d6087bcf0ff93afe6234af238e489d6b72c3eca481140105000951ef007cc864b77ef49b65
 SHA512 
cd176428ff293572325d21769fd4fdb666b6301e0fe5c7a2c53af2399a26b3fd10e83647f9c9cc318f4c69cc28835323fb949cd76340c14670df8b544bffa0f0

diff --git a/media-sound/cava/cava-0.8.3.ebuild 
b/media-sound/cava/cava-0.8.3.ebuild
new file mode 100644
index ..de716fb01129
--- /dev/null
+++ b/media-sound/cava/cava-0.8.3.ebuild
@@ -0,0 +1,61 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Console-based Audio Visualizer for Alsa"
+HOMEPAGE="https://github.com/karlstav/cava/";
+SRC_URI="https://github.com/karlstav/cava/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa +ncurses portaudio pulseaudio sdl sndio"
+
+RDEPEND="
+   dev-libs/iniparser:4
+   sci-libs/fftw:3.0=
+   alsa? ( media-libs/alsa-lib )
+   ncurses? ( sys-libs/ncurses:= )
+   portaudio? ( media-libs/portaudio )
+   pulseaudio? ( media-libs/libpulse )
+   sdl? ( media-libs/libsdl2[opengl,video] )
+   sndio? ( media-sound/sndio:= )"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch
+)
+
+src_prepare() {
+   default
+
+   echo ${PV} > version || die
+   eautoreconf
+}
+
+src_configure() {
+   local econfargs=(
+   $(use_enable alsa input-alsa)
+   $(use_enable portaudio input-portaudio)
+   $(use_enable pulseaudio input-pulse)
+   $(use_enable sndio input-sndio)
+
+   $(use_enable ncurses output-ncurses)
+   $(use_enable sdl output-sdl)
+
+   GENTOO_SYSROOT="${ESYSROOT}" # see iniparser4.patch
+   )
+
+   econf "${econfargs[@]}"
+}
+
+pkg_postinst() {
+   if [[ ! ${REPLACING_VERSIONS} ]]; then
+   elog "A default ~/.config/cava/config will be created after 
initial"
+   elog "use of ${PN}, see it and 
${EROOT}/usr/share/doc/${PF}/README*"
+   elog "for configuring audio input and more."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2022-09-27 Thread Ionen Wolkens
commit: d2df3448890e23b90169e0ccb13755b3f8e28942
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Sep 27 22:25:40 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Sep 27 23:45:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2df3448

media-sound/cava: use bit more pedantic deps

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/{cava-0.8.2.ebuild => cava-0.8.2-r1.ebuild} | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/media-sound/cava/cava-0.8.2.ebuild 
b/media-sound/cava/cava-0.8.2-r1.ebuild
similarity index 96%
rename from media-sound/cava/cava-0.8.2.ebuild
rename to media-sound/cava/cava-0.8.2-r1.ebuild
index 7afa4ce04e09..4f86c143b927 100644
--- a/media-sound/cava/cava-0.8.2.ebuild
+++ b/media-sound/cava/cava-0.8.2-r1.ebuild
@@ -16,11 +16,11 @@ IUSE="alsa +ncurses portaudio pulseaudio sdl sndio"
 
 RDEPEND="
dev-libs/iniparser:4
-   sci-libs/fftw:=
+   sci-libs/fftw:3.0=
alsa? ( media-libs/alsa-lib )
ncurses? ( sys-libs/ncurses:= )
portaudio? ( media-libs/portaudio )
-   pulseaudio? ( media-sound/pulseaudio )
+   pulseaudio? ( media-libs/libpulse )
sdl? ( media-libs/libsdl2[opengl,video] )
sndio? ( media-sound/sndio:= )"
 DEPEND="${RDEPEND}"



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2022-09-27 Thread Ionen Wolkens
commit: 813884db699b7f3b97fff9e08f2d184c97325a71
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Tue Sep 27 22:02:10 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Tue Sep 27 23:45:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=813884db

media-sound/cava: stabilize 0.8.2 for amd64, x86

First stable.

Simple software with no known notable issues, can make some
sense on old hardware wrt x86 too.

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/cava-0.8.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-sound/cava/cava-0.8.2-r1.ebuild 
b/media-sound/cava/cava-0.8.2-r1.ebuild
index 4f86c143b927..e24cc76b4c0b 100644
--- a/media-sound/cava/cava-0.8.2-r1.ebuild
+++ b/media-sound/cava/cava-0.8.2-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/karlstav/cava/archive/refs/tags/${PV}.tar.gz -> ${P}
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE="alsa +ncurses portaudio pulseaudio sdl sndio"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2022-06-02 Thread Ionen Wolkens
commit: 00401a78b9714e01fbab99abb4ca7a5132b26718
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Thu Jun  2 13:35:12 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Thu Jun  2 14:56:59 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=00401a78

media-sound/cava: drop 0.8.1

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/Manifest  |  1 -
 media-sound/cava/cava-0.8.1.ebuild | 75 --
 2 files changed, 76 deletions(-)

diff --git a/media-sound/cava/Manifest b/media-sound/cava/Manifest
index 7a932b4766f8..2a24285f08f5 100644
--- a/media-sound/cava/Manifest
+++ b/media-sound/cava/Manifest
@@ -1,2 +1 @@
-DIST cava-0.8.1.tar.gz 99310 BLAKE2B 
e7d85a6241fee0a4e45f5c50d068b2300ee2d41a019738dc87317986525571eca5f56831e937580fecf949cc85e11512340678b5842ee6f2f3a99f9d06812c3a
 SHA512 
fad4e4fefe98300cc2774a168322056e4181cd2a0cc77a8622471d86512bab9eea6c09559a75518785fbcafee5a958e6d95c8fe5ce1816253e4dec99a23fae1c
 DIST cava-0.8.2.tar.gz 103930 BLAKE2B 
feeb8313bd9b74029d101acaecfeed02e449cc29dceb2c119d7deef65befae418526274e6bad14dc0df7eaed90850ecae4a4064a414d94950ab3c24943281017
 SHA512 
8ab146987324fad97dea5e9fd893de6c12b00cbb074d835c1e334d75c0d32cb4cbbc13cf72f7899191ebd5d346505b2639dcad5312e5ab00975b29a006ba41b3

diff --git a/media-sound/cava/cava-0.8.1.ebuild 
b/media-sound/cava/cava-0.8.1.ebuild
deleted file mode 100644
index b96197a19e07..
--- a/media-sound/cava/cava-0.8.1.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="Console-based Audio Visualizer for Alsa"
-HOMEPAGE="https://github.com/karlstav/cava/";
-SRC_URI="https://github.com/karlstav/cava/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="alsa +ncurses portaudio pulseaudio sdl sndio"
-
-RDEPEND="
-   dev-libs/iniparser:4
-   sci-libs/fftw:=
-   alsa? ( media-libs/alsa-lib )
-   ncurses? ( sys-libs/ncurses:= )
-   portaudio? ( media-libs/portaudio )
-   pulseaudio? ( media-sound/pulseaudio )
-   sdl? ( media-libs/libsdl2[opengl,video] )
-   sndio? ( media-sound/sndio:= )"
-DEPEND="${RDEPEND}"
-BDEPEND="app-editors/vim-core"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch
-)
-
-src_prepare() {
-   default
-
-   # see autogen.sh
-   echo ${PV} > version || die
-   xxd -i example_files/config config_file.h || die
-
-   # https://github.com/karlstav/cava/issues/450
-   sed -i 's/-Werror //' Makefile.am || die
-
-   eautoreconf
-}
-
-src_configure() {
-   local econfargs=(
-   $(use_enable alsa input-alsa)
-   $(use_enable portaudio input-portaudio)
-   $(use_enable pulseaudio input-pulse)
-   $(use_enable sndio input-sndio)
-
-   $(use_enable ncurses output-ncurses)
-   $(use_enable sdl output-sdl)
-
-   GENTOO_SYSROOT="${ESYSROOT}" # see iniparser4.patch
-   )
-
-   econf "${econfargs[@]}"
-}
-
-pkg_postinst() {
-   if [[ ! ${REPLACING_VERSIONS} ]]; then
-   elog "A default ~/.config/cava/config will be created after 
initial"
-   elog "use of ${PN}, see it and 
${EROOT}/usr/share/doc/${PF}/README*"
-   elog "for configuring audio input and more."
-   fi
-
-   if use !alsa && use !portaudio && use !pulseaudio && use !sndio; then
-   # give a warning given greets with a segfault without proper 
configuration
-   ewarn "All audio backends are disabled, ${PN} will only 
function if first"
-   ewarn "configured to use 'method = fifo' or 'shmem'."
-   ewarn "Tip: fifo is versatile, e.g. mkfifo fifo && jack_capture 
--daemon -ws > fifo"
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2022-04-24 Thread Ionen Wolkens
commit: 18138630e12b7b52c8b45daab33166b86e5d946b
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sun Apr 24 19:46:47 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sun Apr 24 21:33:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18138630

media-sound/cava: add 0.8.2

This version removes the need for xxd/vim-core. Also no
longer segfault if no audio backends, so remove the warning.

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/Manifest  |  1 +
 media-sound/cava/cava-0.8.2.ebuild | 64 ++
 2 files changed, 65 insertions(+)

diff --git a/media-sound/cava/Manifest b/media-sound/cava/Manifest
index 47f15504e9aa..7a932b4766f8 100644
--- a/media-sound/cava/Manifest
+++ b/media-sound/cava/Manifest
@@ -1 +1,2 @@
 DIST cava-0.8.1.tar.gz 99310 BLAKE2B 
e7d85a6241fee0a4e45f5c50d068b2300ee2d41a019738dc87317986525571eca5f56831e937580fecf949cc85e11512340678b5842ee6f2f3a99f9d06812c3a
 SHA512 
fad4e4fefe98300cc2774a168322056e4181cd2a0cc77a8622471d86512bab9eea6c09559a75518785fbcafee5a958e6d95c8fe5ce1816253e4dec99a23fae1c
+DIST cava-0.8.2.tar.gz 103930 BLAKE2B 
feeb8313bd9b74029d101acaecfeed02e449cc29dceb2c119d7deef65befae418526274e6bad14dc0df7eaed90850ecae4a4064a414d94950ab3c24943281017
 SHA512 
8ab146987324fad97dea5e9fd893de6c12b00cbb074d835c1e334d75c0d32cb4cbbc13cf72f7899191ebd5d346505b2639dcad5312e5ab00975b29a006ba41b3

diff --git a/media-sound/cava/cava-0.8.2.ebuild 
b/media-sound/cava/cava-0.8.2.ebuild
new file mode 100644
index ..7afa4ce04e09
--- /dev/null
+++ b/media-sound/cava/cava-0.8.2.ebuild
@@ -0,0 +1,64 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Console-based Audio Visualizer for Alsa"
+HOMEPAGE="https://github.com/karlstav/cava/";
+SRC_URI="https://github.com/karlstav/cava/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa +ncurses portaudio pulseaudio sdl sndio"
+
+RDEPEND="
+   dev-libs/iniparser:4
+   sci-libs/fftw:=
+   alsa? ( media-libs/alsa-lib )
+   ncurses? ( sys-libs/ncurses:= )
+   portaudio? ( media-libs/portaudio )
+   pulseaudio? ( media-sound/pulseaudio )
+   sdl? ( media-libs/libsdl2[opengl,video] )
+   sndio? ( media-sound/sndio:= )"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch
+)
+
+src_prepare() {
+   default
+
+   # https://github.com/karlstav/cava/issues/450
+   sed -i 's/-Werror //' Makefile.am || die
+
+   echo ${PV} > version || die
+   eautoreconf
+}
+
+src_configure() {
+   local econfargs=(
+   $(use_enable alsa input-alsa)
+   $(use_enable portaudio input-portaudio)
+   $(use_enable pulseaudio input-pulse)
+   $(use_enable sndio input-sndio)
+
+   $(use_enable ncurses output-ncurses)
+   $(use_enable sdl output-sdl)
+
+   GENTOO_SYSROOT="${ESYSROOT}" # see iniparser4.patch
+   )
+
+   econf "${econfargs[@]}"
+}
+
+pkg_postinst() {
+   if [[ ! ${REPLACING_VERSIONS} ]]; then
+   elog "A default ~/.config/cava/config will be created after 
initial"
+   elog "use of ${PN}, see it and 
${EROOT}/usr/share/doc/${PF}/README*"
+   elog "for configuring audio input and more."
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2022-04-21 Thread Ionen Wolkens
commit: ddfa218f21237f760209123efc383653891f7612
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Fri Apr 22 01:23:27 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Fri Apr 22 01:24:45 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ddfa218f

media-sound/cava: include -Werror issue link

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/cava-0.8.1.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/media-sound/cava/cava-0.8.1.ebuild 
b/media-sound/cava/cava-0.8.1.ebuild
index 6bf3cc49a457..b96197a19e07 100644
--- a/media-sound/cava/cava-0.8.1.ebuild
+++ b/media-sound/cava/cava-0.8.1.ebuild
@@ -37,6 +37,7 @@ src_prepare() {
echo ${PV} > version || die
xxd -i example_files/config config_file.h || die
 
+   # https://github.com/karlstav/cava/issues/450
sed -i 's/-Werror //' Makefile.am || die
 
eautoreconf



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/

2022-04-17 Thread Ionen Wolkens
commit: 9ebd531951e777320883d4e71014e9f8af08ab2a
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sun Apr 17 18:09:17 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sun Apr 17 18:16:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ebd5319

media-sound/cava: add 0.8.1

Allows to drop the short lived maxed-bars patch,
no other real changes.

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/Manifest  |  1 +
 media-sound/cava/cava-0.8.1.ebuild | 74 ++
 2 files changed, 75 insertions(+)

diff --git a/media-sound/cava/Manifest b/media-sound/cava/Manifest
index 4e8b8b36d7cc..4499f91c3ec3 100644
--- a/media-sound/cava/Manifest
+++ b/media-sound/cava/Manifest
@@ -1 +1,2 @@
 DIST cava-0.8.0.tar.gz 99198 BLAKE2B 
e9b5c6697aef9e9a1a54bcb928933fbaad68be0ab27f91defdeadd39a0b38d278835c43ed16fd8757d6c57d36924551304e43b8721b7a31dcac3a586041dd0e4
 SHA512 
3072504592f2f2d5b525874eb9bd23fca4beed89425651104a82b8ea5c7e34abd38c4355d712f2c17bb489eb2c8c28a6914fd40a1b1003a9fcce9055290a9794
+DIST cava-0.8.1.tar.gz 99310 BLAKE2B 
e7d85a6241fee0a4e45f5c50d068b2300ee2d41a019738dc87317986525571eca5f56831e937580fecf949cc85e11512340678b5842ee6f2f3a99f9d06812c3a
 SHA512 
fad4e4fefe98300cc2774a168322056e4181cd2a0cc77a8622471d86512bab9eea6c09559a75518785fbcafee5a958e6d95c8fe5ce1816253e4dec99a23fae1c

diff --git a/media-sound/cava/cava-0.8.1.ebuild 
b/media-sound/cava/cava-0.8.1.ebuild
new file mode 100644
index ..6bf3cc49a457
--- /dev/null
+++ b/media-sound/cava/cava-0.8.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Console-based Audio Visualizer for Alsa"
+HOMEPAGE="https://github.com/karlstav/cava/";
+SRC_URI="https://github.com/karlstav/cava/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa +ncurses portaudio pulseaudio sdl sndio"
+
+RDEPEND="
+   dev-libs/iniparser:4
+   sci-libs/fftw:=
+   alsa? ( media-libs/alsa-lib )
+   ncurses? ( sys-libs/ncurses:= )
+   portaudio? ( media-libs/portaudio )
+   pulseaudio? ( media-sound/pulseaudio )
+   sdl? ( media-libs/libsdl2[opengl,video] )
+   sndio? ( media-sound/sndio:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="app-editors/vim-core"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch
+)
+
+src_prepare() {
+   default
+
+   # see autogen.sh
+   echo ${PV} > version || die
+   xxd -i example_files/config config_file.h || die
+
+   sed -i 's/-Werror //' Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   local econfargs=(
+   $(use_enable alsa input-alsa)
+   $(use_enable portaudio input-portaudio)
+   $(use_enable pulseaudio input-pulse)
+   $(use_enable sndio input-sndio)
+
+   $(use_enable ncurses output-ncurses)
+   $(use_enable sdl output-sdl)
+
+   GENTOO_SYSROOT="${ESYSROOT}" # see iniparser4.patch
+   )
+
+   econf "${econfargs[@]}"
+}
+
+pkg_postinst() {
+   if [[ ! ${REPLACING_VERSIONS} ]]; then
+   elog "A default ~/.config/cava/config will be created after 
initial"
+   elog "use of ${PN}, see it and 
${EROOT}/usr/share/doc/${PF}/README*"
+   elog "for configuring audio input and more."
+   fi
+
+   if use !alsa && use !portaudio && use !pulseaudio && use !sndio; then
+   # give a warning given greets with a segfault without proper 
configuration
+   ewarn "All audio backends are disabled, ${PN} will only 
function if first"
+   ewarn "configured to use 'method = fifo' or 'shmem'."
+   ewarn "Tip: fifo is versatile, e.g. mkfifo fifo && jack_capture 
--daemon -ws > fifo"
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/, media-sound/cava/files/

2022-04-17 Thread Ionen Wolkens
commit: 6ff44b947f4a770235e5ddfe7934ea9bc7c7833f
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sun Apr 17 18:13:27 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sun Apr 17 18:16:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ff44b94

media-sound/cava: drop 0.8.0

Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/Manifest  |  1 -
 media-sound/cava/cava-0.8.0.ebuild | 75 --
 media-sound/cava/files/cava-0.8.0-maxed-bars.patch | 17 -
 3 files changed, 93 deletions(-)

diff --git a/media-sound/cava/Manifest b/media-sound/cava/Manifest
index 4499f91c3ec3..47f15504e9aa 100644
--- a/media-sound/cava/Manifest
+++ b/media-sound/cava/Manifest
@@ -1,2 +1 @@
-DIST cava-0.8.0.tar.gz 99198 BLAKE2B 
e9b5c6697aef9e9a1a54bcb928933fbaad68be0ab27f91defdeadd39a0b38d278835c43ed16fd8757d6c57d36924551304e43b8721b7a31dcac3a586041dd0e4
 SHA512 
3072504592f2f2d5b525874eb9bd23fca4beed89425651104a82b8ea5c7e34abd38c4355d712f2c17bb489eb2c8c28a6914fd40a1b1003a9fcce9055290a9794
 DIST cava-0.8.1.tar.gz 99310 BLAKE2B 
e7d85a6241fee0a4e45f5c50d068b2300ee2d41a019738dc87317986525571eca5f56831e937580fecf949cc85e11512340678b5842ee6f2f3a99f9d06812c3a
 SHA512 
fad4e4fefe98300cc2774a168322056e4181cd2a0cc77a8622471d86512bab9eea6c09559a75518785fbcafee5a958e6d95c8fe5ce1816253e4dec99a23fae1c

diff --git a/media-sound/cava/cava-0.8.0.ebuild 
b/media-sound/cava/cava-0.8.0.ebuild
deleted file mode 100644
index f862363da236..
--- a/media-sound/cava/cava-0.8.0.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools
-
-DESCRIPTION="Console-based Audio Visualizer"
-HOMEPAGE="https://github.com/karlstav/cava/";
-SRC_URI="https://github.com/karlstav/cava/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-IUSE="alsa +ncurses portaudio pulseaudio sdl sndio"
-
-RDEPEND="
-   dev-libs/iniparser:4
-   sci-libs/fftw:=
-   alsa? ( media-libs/alsa-lib )
-   ncurses? ( sys-libs/ncurses:= )
-   portaudio? ( media-libs/portaudio )
-   pulseaudio? ( media-sound/pulseaudio )
-   sdl? ( media-libs/libsdl2[opengl,video] )
-   sndio? ( media-sound/sndio:= )"
-DEPEND="${RDEPEND}"
-BDEPEND="app-editors/vim-core"
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch
-   "${FILESDIR}"/${P}-maxed-bars.patch
-)
-
-src_prepare() {
-   default
-
-   # see autogen.sh
-   echo ${PV} > version || die
-   xxd -i example_files/config config_file.h || die
-
-   sed -i 's/-Werror //' Makefile.am || die
-
-   eautoreconf
-}
-
-src_configure() {
-   local econfargs=(
-   $(use_enable alsa input-alsa)
-   $(use_enable portaudio input-portaudio)
-   $(use_enable pulseaudio input-pulse)
-   $(use_enable sndio input-sndio)
-
-   $(use_enable ncurses output-ncurses)
-   $(use_enable sdl output-sdl)
-
-   GENTOO_SYSROOT="${ESYSROOT}" # see iniparser4.patch
-   )
-
-   econf "${econfargs[@]}"
-}
-
-pkg_postinst() {
-   if [[ ! ${REPLACING_VERSIONS} ]]; then
-   elog "A default ~/.config/cava/config will be created after 
initial"
-   elog "use of ${PN}, see it and 
${EROOT}/usr/share/doc/${PF}/README*"
-   elog "for configuring audio inputs and more."
-   fi
-
-   if use !alsa && use !portaudio && use !pulseaudio && use !sndio; then
-   # give a warning given greets with a segfault without proper 
configuration
-   ewarn "All audio backends are disabled, ${PN} will only 
function if first"
-   ewarn "configured to use 'method = fifo' or 'shmem'."
-   ewarn "Tip: fifo is versatile, e.g. mkfifo fifo && jack_capture 
--daemon -ws > fifo"
-   fi
-}

diff --git a/media-sound/cava/files/cava-0.8.0-maxed-bars.patch 
b/media-sound/cava/files/cava-0.8.0-maxed-bars.patch
deleted file mode 100644
index a685b7a11c3f..
--- a/media-sound/cava/files/cava-0.8.0-maxed-bars.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://github.com/karlstav/cava/issues/447
-https://github.com/karlstav/cava/commit/6519a027036f2de94728819d215672dc2c0b50b6
-From: karlstav 
-Date: Sun, 17 Apr 2022 10:04:14 +0200
-Subject: [PATCH] #447: fix wrong noise reduction default value causing maxed
- out bars
 a/config.c
-+++ b/config.c
-@@ -471,7 +471,7 @@ bool load_config(char configPath[PATH_MAX], struct 
config_params *p, bool colors
- p->integral = iniparser_getdouble(ini, "smoothing:integral", 77);
- p->gravity = iniparser_getdouble(ini, "smoothing:gravity", 100);
- p->ignore = iniparser_getdouble(ini, "smoothing:ignore", 0);
--p->noise_reduction = iniparser_getdouble(ini, 
"smoothing:noise_reduction", 1);
-+p->noise_reduction = iniparse

[gentoo-commits] repo/gentoo:master commit in: media-sound/cava/, media-sound/cava/files/

2022-04-17 Thread Ionen Wolkens
commit: bc697ac1c922fa98ec928659f50ba87fb84bbe19
Author: Ionen Wolkens  gentoo  org>
AuthorDate: Sun Apr 17 09:40:23 2022 +
Commit: Ionen Wolkens  gentoo  org>
CommitDate: Sun Apr 17 10:49:04 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc697ac1

media-sound/cava: new package, add 0.8.0

Been using this locally for a while and been getting
more activity / releases this year, let's add it.

Closes: https://bugs.gentoo.org/617084
Signed-off-by: Ionen Wolkens  gentoo.org>

 media-sound/cava/Manifest  |  1 +
 media-sound/cava/cava-0.8.0.ebuild | 75 ++
 .../cava/files/cava-0.8.0-gentoo-iniparser4.patch  | 15 +
 media-sound/cava/files/cava-0.8.0-maxed-bars.patch | 17 +
 media-sound/cava/metadata.xml  | 14 
 5 files changed, 122 insertions(+)

diff --git a/media-sound/cava/Manifest b/media-sound/cava/Manifest
new file mode 100644
index ..4e8b8b36d7cc
--- /dev/null
+++ b/media-sound/cava/Manifest
@@ -0,0 +1 @@
+DIST cava-0.8.0.tar.gz 99198 BLAKE2B 
e9b5c6697aef9e9a1a54bcb928933fbaad68be0ab27f91defdeadd39a0b38d278835c43ed16fd8757d6c57d36924551304e43b8721b7a31dcac3a586041dd0e4
 SHA512 
3072504592f2f2d5b525874eb9bd23fca4beed89425651104a82b8ea5c7e34abd38c4355d712f2c17bb489eb2c8c28a6914fd40a1b1003a9fcce9055290a9794

diff --git a/media-sound/cava/cava-0.8.0.ebuild 
b/media-sound/cava/cava-0.8.0.ebuild
new file mode 100644
index ..f862363da236
--- /dev/null
+++ b/media-sound/cava/cava-0.8.0.ebuild
@@ -0,0 +1,75 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+DESCRIPTION="Console-based Audio Visualizer"
+HOMEPAGE="https://github.com/karlstav/cava/";
+SRC_URI="https://github.com/karlstav/cava/archive/refs/tags/${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="alsa +ncurses portaudio pulseaudio sdl sndio"
+
+RDEPEND="
+   dev-libs/iniparser:4
+   sci-libs/fftw:=
+   alsa? ( media-libs/alsa-lib )
+   ncurses? ( sys-libs/ncurses:= )
+   portaudio? ( media-libs/portaudio )
+   pulseaudio? ( media-sound/pulseaudio )
+   sdl? ( media-libs/libsdl2[opengl,video] )
+   sndio? ( media-sound/sndio:= )"
+DEPEND="${RDEPEND}"
+BDEPEND="app-editors/vim-core"
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-0.8.0-gentoo-iniparser4.patch
+   "${FILESDIR}"/${P}-maxed-bars.patch
+)
+
+src_prepare() {
+   default
+
+   # see autogen.sh
+   echo ${PV} > version || die
+   xxd -i example_files/config config_file.h || die
+
+   sed -i 's/-Werror //' Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   local econfargs=(
+   $(use_enable alsa input-alsa)
+   $(use_enable portaudio input-portaudio)
+   $(use_enable pulseaudio input-pulse)
+   $(use_enable sndio input-sndio)
+
+   $(use_enable ncurses output-ncurses)
+   $(use_enable sdl output-sdl)
+
+   GENTOO_SYSROOT="${ESYSROOT}" # see iniparser4.patch
+   )
+
+   econf "${econfargs[@]}"
+}
+
+pkg_postinst() {
+   if [[ ! ${REPLACING_VERSIONS} ]]; then
+   elog "A default ~/.config/cava/config will be created after 
initial"
+   elog "use of ${PN}, see it and 
${EROOT}/usr/share/doc/${PF}/README*"
+   elog "for configuring audio inputs and more."
+   fi
+
+   if use !alsa && use !portaudio && use !pulseaudio && use !sndio; then
+   # give a warning given greets with a segfault without proper 
configuration
+   ewarn "All audio backends are disabled, ${PN} will only 
function if first"
+   ewarn "configured to use 'method = fifo' or 'shmem'."
+   ewarn "Tip: fifo is versatile, e.g. mkfifo fifo && jack_capture 
--daemon -ws > fifo"
+   fi
+}

diff --git a/media-sound/cava/files/cava-0.8.0-gentoo-iniparser4.patch 
b/media-sound/cava/files/cava-0.8.0-gentoo-iniparser4.patch
new file mode 100644
index ..3dcb060c2873
--- /dev/null
+++ b/media-sound/cava/files/cava-0.8.0-gentoo-iniparser4.patch
@@ -0,0 +1,15 @@
+Gentoo uses non-standard naming for slotted iniparser:4 and it
+does not have a pkg-config file (ideally should be unslotted).
+Cava can use iniparser:0 as well but <3.2 forces legacy mode.
+--- a/configure.ac
 b/configure.ac
+@@ -259,6 +259,6 @@
+ 
+-AC_CHECK_LIB(iniparser,iniparser_load, have_iniparser=yes, have_iniparser=no)
++AC_CHECK_LIB(iniparser4,iniparser_load, have_iniparser=yes, have_iniparser=no)
+ if [[ $have_iniparser = "yes" ]] ; then
+-LIBS="$LIBS -liniparser"
+-  CPPFLAGS="$CPPFLAGS -I/usr/include/iniparser"
++LIBS="$LIBS -liniparser4"
++  CPPFLAGS="$CPPFLAGS -I${GENTOO_SYSROOT}/usr/include/iniparser4"
+ AC_LINK_IFELSE([AC_LANG_PROGRAM([[#include ]],

diff --git a/media-sound/cava/files/cava-0.8.0-m