cava: add alsa and pulseaudio build options

This commit is contained in:
SolitudeSF 2018-04-22 17:17:25 +03:00 committed by lemmi
parent 02d6836907
commit c372c0a15f

View file

@ -3,18 +3,22 @@ pkgname=cava
version=0.6.0
revision=2
build_style=gnu-configure
build_options="alsa pulseaudio"
build_options_default="alsa pulseaudio"
hostmakedepends="automake libtool"
makedepends="alsa-lib-devel pulseaudio-devel fftw-devel ncurses-devel iniparser-devel"
makedepends="fftw-devel ncurses-devel iniparser-devel
$(vopt_if alsa alsa-lib-devel) $(vopt_if pulseaudio pulseaudio-devel)"
short_desc="Console-based Audio Visualizer for ALSA"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
homepage="https://github.com/karlstav/cava"
license="MIT"
distfiles="https://github.com/karlstav/${pkgname}/archive/${version}.tar.gz"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=42d51c6c283cd2b0f5125954ea8c61a12385703d1953ef9c40103402c7a744dc
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vlicense LICENSE
}