From: "Ionen Wolkens" <ionen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: media-sound/cava/
Date: Tue, 14 May 2024 19:06:32 +0000 (UTC) [thread overview]
Message-ID: <1715713517.75dfc53cda321bcc3e07a6812f2b5bb311bb24aa.ionen@gentoo> (raw)
commit: 75dfc53cda321bcc3e07a6812f2b5bb311bb24aa
Author: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue May 14 19:05:10 2024 +0000
Commit: Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue May 14 19:05:17 2024 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75dfc53c
media-sound/cava: add 0.10.2
Signed-off-by: Ionen Wolkens <ionen <AT> 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 000000000000..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
+}
next reply other threads:[~2024-05-14 19:06 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-05-14 19:06 Ionen Wolkens [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-13 8:59 [gentoo-commits] repo/gentoo:master commit in: media-sound/cava/ Sam James
2025-03-13 8:59 Sam James
2025-02-22 3:07 Ionen Wolkens
2025-02-14 8:00 Ionen Wolkens
2025-01-07 5:20 Ionen Wolkens
2024-12-06 7:49 Sam James
2024-12-05 21:16 Sam James
2024-11-15 22:25 Ionen Wolkens
2024-06-06 13:20 Ionen Wolkens
2024-06-06 13:20 Ionen Wolkens
2024-06-05 9:30 Ionen Wolkens
2024-05-29 17:38 Sam James
2024-05-29 14:43 Jakov Smolić
2024-02-22 6:16 Ionen Wolkens
2024-02-19 2:56 Sam James
2024-02-17 12:11 Jakov Smolić
2024-02-02 18:09 Ionen Wolkens
2024-02-02 13:47 Arthur Zamarin
2024-02-02 13:47 Arthur Zamarin
2024-01-23 9:11 Ionen Wolkens
2024-01-09 18:58 Ionen Wolkens
2023-09-12 16:15 Ionen Wolkens
2023-08-26 6:50 Sam James
2023-08-26 6:50 Sam James
2023-08-12 21:08 Ionen Wolkens
2023-08-07 4:16 Ionen Wolkens
2022-11-25 18:54 Ionen Wolkens
2022-11-04 8:23 Ionen Wolkens
2022-09-27 23:46 Ionen Wolkens
2022-09-27 23:46 Ionen Wolkens
2022-06-02 15:07 Ionen Wolkens
2022-04-24 21:33 Ionen Wolkens
2022-04-22 1:25 Ionen Wolkens
2022-04-17 18:16 Ionen Wolkens
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1715713517.75dfc53cda321bcc3e07a6812f2b5bb311bb24aa.ionen@gentoo \
--to=ionen@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox