summaryrefslogtreecommitdiff
path: root/testing
diff options
context:
space:
mode:
authorGalen Abell <galen@galenabell.com>2020-03-20 14:19:20 -0400
committerRasmus Thomsen <oss@cogitri.dev>2020-03-20 19:30:45 +0000
commit27e65b52c375983775a54aa56b62fa7156fd0898 (patch)
tree0df96bad5e3142bc50fb0b38de6ca867b30677de /testing
parent40450b3255fc509e1afd0df4096f77787d61d011 (diff)
downloadaports-27e65b52c375983775a54aa56b62fa7156fd0898.zip
testing/cava: new aport
https://karlstav.github.io/cava Console-based Audio Visualizer for ALSA testing/
Diffstat (limited to 'testing')
-rw-r--r--testing/cava/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/testing/cava/APKBUILD b/testing/cava/APKBUILD
new file mode 100644
index 00000000000..4c3865fc0f6
--- /dev/null
+++ b/testing/cava/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Galen Abell <galen@galenabell.com>
+# Maintainer: Galen Abell <galen@galenabell.com>
+pkgname=cava
+pkgver=0.6.1
+pkgrel=0
+pkgdesc="Console-based Audio Visualizer for ALSA"
+url="https://karlstav.github.io/cava"
+arch="all"
+license="MIT"
+depends="alsa-lib iniparser"
+makedepends="autoconf automake libtool m4 fftw-dev ncurses-dev"
+subpackages="$pkgname-static"
+source="cava-$pkgver.tar.gz::https://github.com/karlstav/cava/archive/$pkgver.tar.gz"
+
+prepare() {
+ default_prepare
+ autoreconf -fi
+}
+
+build() {
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var
+ make
+}
+
+check() {
+ make check
+}
+
+package() {
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="fb8a685f5c758ca1d95d3bbafadd4dbbf109592b6c3052b0821c2f69f3423e0af7657de4c3c1cdbd1523748bf56a09cbf706afa404051a6fba8139ca128ebecb cava-0.6.1.tar.gz"