diff options
author | Sebastian Pipping <sebastian@pipping.org> | 2015-08-10 21:24:06 +0200 |
---|---|---|
committer | Sebastian Pipping <sebastian@pipping.org> | 2015-08-10 21:24:06 +0200 |
commit | 474788c779718a1c00c98b2f5222ede8d05e9c88 (patch) | |
tree | a66b6a4d245b2ae5e148e7eb00af27f9601a5ad2 /media-sound/cava | |
parent | In tree as www-servers/gunicorn (diff) | |
download | betagarden-474788c779718a1c00c98b2f5222ede8d05e9c88.tar.gz betagarden-474788c779718a1c00c98b2f5222ede8d05e9c88.tar.bz2 betagarden-474788c779718a1c00c98b2f5222ede8d05e9c88.zip |
media-sound/cava: 0.3.2_p20150810
Diffstat (limited to 'media-sound/cava')
-rw-r--r-- | media-sound/cava/Manifest | 1 | ||||
-rw-r--r-- | media-sound/cava/cava-0.3.2_p20150810.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/media-sound/cava/Manifest b/media-sound/cava/Manifest index 8dacef7..ea9ad01 100644 --- a/media-sound/cava/Manifest +++ b/media-sound/cava/Manifest @@ -1 +1,2 @@ DIST cava-0.3.2.tar.gz 31908 SHA256 3f588d9a7bdcbba1642f2ca21bca01f01084853d2eb909803c2009ad9d8e39f8 SHA512 5289674412a804a916d9adbc1d375482457942b4e825ba5912803861776c1d624edf40b3697f9bc8e9152cf2951c1d6e38e37bbff98a5ee499a4072336ba53c3 WHIRLPOOL ac1cbb72fb85c0ddc506317e1a629cd0e1708c873b6b5afeaf2d19ffeb1aa30ef8703b41febd0d1eb4b71067b92d54d54493b5b26da54e36824d832d35132b3e +DIST cava-0.3.2_p20150810.tar.gz 32512 SHA256 4d9dd1ebe0044ed3a16323d0914147655b07c6d83b80a39b1731bb778e9921e5 SHA512 b6d3bf22b6fa12688ad1d84d1d2b734c6669cdddec9a30e9ed48458f58632e33229999e19921d5660c9b12fb8df2f17ddc017ce4047d1657b0e3f15365fe5922 WHIRLPOOL a6bfe86c26b4fe4d5599d0ecb7b517edc6aa3c14bb7462b867c59e6d75e23e95746a87def630977bf089be1b9efe0bca6c060a39c9ac5f6d1bd52eb1d218130d diff --git a/media-sound/cava/cava-0.3.2_p20150810.ebuild b/media-sound/cava/cava-0.3.2_p20150810.ebuild new file mode 100644 index 0000000..feeb4f1 --- /dev/null +++ b/media-sound/cava/cava-0.3.2_p20150810.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI="5" + +inherit linux-info + +MY_PV=fbd2af1ca9f76d5c3fa7ccc418f066db0ec01d7f +DESCRIPTION="Console-based Audio Visualizer for ALSA (=CAVA)" +HOMEPAGE="https://github.com/karlstav/cava" +SRC_URI="https://github.com/karlstav/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="sci-libs/fftw + dev-libs/iniparser:4" +RDEPEND="${DEPEND}" + +S="${WORKDIR}"/${PN}-${MY_PV} + +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() { + rm -R iniparser || die +} + +src_compile() { + emake SYSTEM_INIPARSER=1 VERSION=${PV} +} + +src_install() { + dodoc README.md + emake DESTDIR="${D}" PREFIX=/usr SYSTEM_INIPARSER=1 install +} |