Commit 2e551982 authored by Kawin Nikomborirak's avatar Kawin Nikomborirak

New cava ebuild

parent a7fff1c4
DIST cava-0.6.1.tar.gz 42285 BLAKE2B 223ff999331590059019682a5f73b18c6bafea1345e745d9992dd5426b3e196bb55e7bbbb3d866c66365bc05750aa661852525c435cc1467ea6bdaf778ed33f9 SHA512 fb8a685f5c758ca1d95d3bbafadd4dbbf109592b6c3052b0821c2f69f3423e0af7657de4c3c1cdbd1523748bf56a09cbf706afa404051a6fba8139ca128ebecb
EBUILD cava-0.6.1.ebuild 637 BLAKE2B a5214a7f7646eac1bbc73f0689252d86e609d57758b432be6d09e2daaff88b4e3ac1f7de49908c0ea9ed3c140f5c68d3158eceb66b663a1d3d055c2a7c6dc8c5 SHA512 9672821618098743b2e7c578fa063996d77168d8af963dc7f04b33553021226233dbf2a08cc30e86205780138719e061a1fd2540901711e863ce9157ced5ab9e
EBUILD cava-0.6.1.ebuild 983 BLAKE2B 16e6cd1eead1a31323c4e79b3108c8d20d32e08d7271359902502a123f843431d742c1ae7c738dc204a05f026a3fd561f09b0d74f0f9f20a5951220b4a4ff26b SHA512 a3ebd1bd2a953e0a9ba0599e0063c2febc3ef6a07e1915876e2e192a1fd7b3c14fe5a61b217737e1a04b2f1982e8ccdd6119420d3db093df88188ed4e0c54afd
......@@ -3,33 +3,46 @@
EAPI="6"
inherit linux-info
inherit linux-info eutils autotools
DESCRIPTION="Console-based Audio Visualizer for ALSA (=CAVA)"
DESCRIPTION="Console-based audio visualizer for Alsa (MPD and Pulseaudio)"
HOMEPAGE="https://github.com/karlstav/cava"
SRC_URI="https://github.com/karlstav/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/karlstav/cava/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
IUSE="debug"
DEPEND="sci-libs/fftw:3.0
dev-libs/iniparser:0"
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 -R iniparser/src || die
rm --recursive --force iniparser/src || die
eapply_user
./autogen.sh || die
eautoreconf
}
src_configure() {
econf --enable-legacy_iniparser
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
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment