From c09340d91542ba4868996719ded3b033e047ea7d Mon Sep 17 00:00:00 2001 From: Azat Bahawi Date: Mon, 27 Apr 2020 13:44:01 +0300 Subject: media-sound/cava: Bump EAPI --- media-sound/cava/cava-0.6.1-r1.ebuild | 48 +++++++++++++++++++++++++++++++++++ media-sound/cava/cava-0.6.1.ebuild | 48 ----------------------------------- 2 files changed, 48 insertions(+), 48 deletions(-) create mode 100644 media-sound/cava/cava-0.6.1-r1.ebuild delete mode 100644 media-sound/cava/cava-0.6.1.ebuild (limited to 'media-sound') 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 +} diff --git a/media-sound/cava/cava-0.6.1.ebuild b/media-sound/cava/cava-0.6.1.ebuild deleted file mode 100644 index 1b021db..0000000 --- a/media-sound/cava/cava-0.6.1.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 2018-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI="6" - -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 -} -- cgit 1.4.1