remove cava ebuild I haven't used in forever

This commit is contained in:
Brian S. Stephan 2024-07-09 11:19:24 -05:00
parent 8993413166
commit 876e1507b8
Signed by: bss
GPG Key ID: 3DE06D3180895FCB

View File

@ -1,55 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
EAPI=6
inherit linux-info git-r3 autotools flag-o-matic
DESCRIPTION="Console-based Audio Visualizer for ALSA (=CAVA)"
HOMEPAGE="https://github.com/karlstav/cava"
EGIT_REPO_URI="https://github.com/karlstav/cava.git"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="debug"
DEPEND="sci-libs/fftw
dev-libs/iniparser:0
sys-libs/ncurses"
RDEPEND="${DEPEND}"
DOCS="README.md"
pkg_setup() {
if linux_config_exists ; then
einfo "Checking kernel configuration at $(linux_config_path)..."
if ! linux_chkconfig_present SND_ALOOP ; then
ewarn 'Kernel option CONFIG_SND_ALOOP=[ym] needed but missing'
fi
fi
}
src_prepare() {
eapply_user
eautoreconf
}
src_configure() {
append-flags -Wno-discarded-qualifiers
replace-flags -DVERSION=\"\" -DVERSION=\"${PV}\"
econf \
$(use_enable debug ) \
--enable-legacy_iniparser \
--docdir="${EREFIX}"/usr/share/doc/${PF}
}
src_compile() {
emake SYSTEM_LIBINIPARSER=1
}
src_install() {
einstalldocs
emake DESTDIR="${D}" PREFIX=/usr SYSTEM_LIBINIPARSER=1 install
}