diff options
author | Azat Bahawi <azahi@teknik.io> | 2020-04-27 13:44:01 +0300 |
---|---|---|
committer | Azat Bahawi <azahi@teknik.io> | 2020-04-27 13:44:01 +0300 |
commit | c09340d91542ba4868996719ded3b033e047ea7d (patch) | |
tree | 1ff7c89238729e91236dfad542d96e9563ffb335 /media-sound/cava/cava-0.6.1-r1.ebuild | |
parent | app-text/qolibri: Update building process. (diff) |
media-sound/cava: Bump EAPI
Diffstat (limited to 'media-sound/cava/cava-0.6.1-r1.ebuild')
-rw-r--r-- | media-sound/cava/cava-0.6.1-r1.ebuild | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/media-sound/cava/cava-0.6.1-r1.ebuild b/media-sound/cava/cava-0.6.1-r1.ebuild new file mode 100644 index 0000000..573cf1e --- /dev/null +++ b/media-sound/cava/cava-0.6.1-r1.ebuild @@ -0,0 +1,48 @@ +# Copyright 2018-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info eutils autotools + +DESCRIPTION="Console-based audio visualizer for Alsa (MPD and Pulseaudio)" +HOMEPAGE="https://github.com/karlstav/cava" +SRC_URI="https://github.com/karlstav/cava/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="debug" + +DEPEND="dev-libs/iniparser:0 + sci-libs/fftw:3.0 + sys-libs/ncurses:=" +RDEPEND="${DEPEND}" + +DOCS="README.md" + +CONFIG_CHECK=( + SND_ALOOP +) + +src_prepare() { + rm --recursive --force iniparser/src || die + eapply_user + eautoreconf +} + +src_configure() { + econf \ + $(use_enable debug ) \ + --enable-legacy_iniparser \ + --docdir="${EREFIX}"/usr/share/doc/${PF} +} + +src_compile() { + emake SYSTEM_LIBINIPARSER=1 VERSION=${PV} +} + +src_install() { + einstalldocs + emake DESTDIR="${D}" PREFIX=/usr SYSTEM_LIBINIPARSER=1 install +} |