void-packages/srcpkgs/cava/template
2020-07-23 09:25:08 -04:00

27 lines
811 B
Bash

# Template file for 'cava'
pkgname=cava
version=0.7.2
revision=1
build_style=gnu-configure
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="skmpz <dem.procopiou@gmail.com>"
license="MIT"
homepage="https://github.com/karlstav/cava"
distfiles="${homepage}/archive/${version}.tar.gz"
checksum=cca1fa857f4b6b91813dbaafe25b226557d7addbf237a910683f4e3b84b02a29
build_options="alsa pulseaudio sndio"
build_options_default="alsa pulseaudio sndio"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vlicense LICENSE
vmkdir usr/share/examples
vcopy example_files usr/share/examples/cava
}