28 lines
987 B
Bash
28 lines
987 B
Bash
# Template file for 'cava'
|
|
pkgname=cava
|
|
version=0.10.1
|
|
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=a3a60814326fa34b54e93ce0b1e66460d55f1007e576c5152fd47024d9ceaff9
|
|
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
|
|
}
|