mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2025-12-21 21:17:37 -08:00
media-sound/cava: drop 0.10.4
Signed-off-by: Ionen Wolkens <ionen@gentoo.org>
This commit is contained in:
parent
853df310a4
commit
4fc81f2368
@ -1,2 +1 @@
|
||||
DIST cava-0.10.4.tar.gz 426075 BLAKE2B b4d8b4669cba86ea08fd62f1206306406ae9197405d1d717f492526a55a032a8599c76e8606bd60cf876c50b7f4338fd2f36a65b626312ef8d0fd7b4e5e453c0 SHA512 1f11e3d89465990a026c4cd9e30853967b0ab542b310afe5464f399baec08e769b2bda52d07654eb449adbb66de1a6db721a2cbc90c241193de58b1e12d52259
|
||||
DIST cava-0.10.6.tar.gz 443902 BLAKE2B 8dd13364853351f64d0d371aec6704f0c7f2693897c7ac92af1cd062c8ec52c91c01112bd6ae36b4ab7fcd3a97c1352f72adbfbadb575c063b0374030844c6bc SHA512 e292ea225d3c17ac601711735cb56f52da9c707c7d950af5c38d5f647f70285faa16b240ad5ff211645effb9e8e3928e935f623e307c3d455e3068307d7a4bf1
|
||||
|
||||
@ -1,73 +0,0 @@
|
||||
# Copyright 2022-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Console-based Audio Visualizer for Alsa"
|
||||
HOMEPAGE="https://github.com/karlstav/cava/"
|
||||
SRC_URI="https://github.com/karlstav/cava/releases/download/${PV}/${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.1-r2:=
|
||||
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
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# TODO: depend on >=iniparser-4.2 and drop this if fixed
|
||||
# https://github.com/karlstav/cava/issues/622
|
||||
[[ -z ${ESYSROOT} ]] || sed -i "s|/usr|${ESYSROOT}&|" configure || die
|
||||
}
|
||||
|
||||
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)
|
||||
)
|
||||
|
||||
# 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."
|
||||
fi
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user