void-packages/srcpkgs/cava/template

28 lines
811 B
Bash

# Template file for 'cava'
pkgname=cava
version=0.6.1
revision=2
build_style=gnu-configure
build_options="alsa pulseaudio sndio"
build_options_default="alsa pulseaudio sndio"
hostmakedepends="automake libtool"
makedepends="fftw-devel iniparser-devel ncurses-devel
$(vopt_if alsa 'alsa-lib-devel') $(vopt_if pulseaudio 'pulseaudio-devel')
$(vopt_if sndio 'sndio-devel')"
short_desc="Console-based Audio Visualizer for ALSA"
maintainer="Orphaned <orphan@voidlinux.org>"
license="MIT"
homepage="https://github.com/karlstav/cava"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=98b880e7e704ed457863f379f31b488e06076bb34a5de02825096969b916a78d
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vlicense LICENSE
vmkdir usr/share/examples
vcopy example_files usr/share/examples/cava
}