aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAriadne Conill <ariadne@dereferenced.org>2020-05-25 05:51:31 -0600
committerAriadne Conill <ariadne@dereferenced.org>2020-05-25 05:51:31 -0600
commit56572f613c188d5681374e1a7de49048d5b7094a (patch)
tree1e27492da659bdbb69d0553be2d8903c9976845f
parent6595eabdca7e0e134258e781a197a902395d3063 (diff)
downloadaports-56572f613c188d5681374e1a7de49048d5b7094a.tar.gz
aports-56572f613c188d5681374e1a7de49048d5b7094a.tar.bz2
aports-56572f613c188d5681374e1a7de49048d5b7094a.tar.xz
testing/bonzomatic: new aport
-rw-r--r--testing/bonzomatic/APKBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/testing/bonzomatic/APKBUILD b/testing/bonzomatic/APKBUILD
new file mode 100644
index 0000000000..87e81c8772
--- /dev/null
+++ b/testing/bonzomatic/APKBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Ariadne Conill <ariadne@dereferenced.org>
+pkgname=bonzomatic
+_datever=2020-05-09
+pkgver=${_datever//-/}
+pkgrel=0
+pkgdesc="OpenGL shader livecoding toy"
+url="https://github.com/Gargaj/Bonzomatic"
+arch="all"
+license="Unlicense"
+depends=""
+makedepends="cmake fontconfig-dev mesa-dev alsa-lib-dev libxrandr-dev libxinerama-dev libxcursor-dev glu-dev libxi-dev"
+install=""
+subpackages=""
+source="https://github.com/Gargaj/Bonzomatic/archive/$_datever/bonzomatic-$_datever.tar.gz"
+builddir="$srcdir/Bonzomatic-$_datever"
+options="!check" # no test suite
+
+build() {
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake -B build \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=None \
+ ${CMAKE_CROSSOPTS} .
+ make -C build
+}
+
+package() {
+ make -C build DESTDIR="$pkgdir" install
+}
+
+sha512sums="550d2cb1a4c135824782b0f9577f51b62f940f0c915a55861c241bd2937d91c2233c4ce5e4563e8d8a63237bc3b5e1273e738a912ee8ab1d5f62ad7bbdac5c33 bonzomatic-2020-05-09.tar.gz"