void-packages/srcpkgs/cava/template

27 lines
865 B
Bash

# Template file for 'cava'
pkgname=cava
version=0.9.1
revision=1
build_style=gnu-configure
hostmakedepends="automake libtool pkg-config"
makedepends="fftw-devel iniparser-devel ncurses-devel
$(vopt_if alsa 'alsa-lib-devel') $(vopt_if pipewire 'pipewire-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="https://github.com/karlstav/cava/archive/refs/tags/${version}.tar.gz"
checksum=483f571d5fba5fb8aa81511c4dcf8ce0949c7c503ec6c743c2914cd78e6faf03
build_options="alsa pipewire pulseaudio sndio"
build_options_default="alsa pipewire pulseaudio sndio"
pre_configure() {
NOCONFIGURE=1 ./autogen.sh
}
post_install() {
vlicense LICENSE
vsconf example_files/config
}