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