void-packages/srcpkgs/cava/template

25 lines
690 B
Bash

# Template file for 'Cava'
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="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="${homepage}/archive/${version}.tar.gz"
checksum=42d51c6c283cd2b0f5125954ea8c61a12385703d1953ef9c40103402c7a744dc
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vlicense LICENSE
}