aboutsummaryrefslogtreecommitdiffstats
path: root/testing/openhmd
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2019-08-03 17:35:29 -0400
committerLeo <thinkabit.ukim@gmail.com>2019-08-03 18:37:35 -0300
commitb37e867daeb95e091e02d3fdcbc0088c3f257510 (patch)
tree6026d332ab03610ea7ff8c5796a1e92fb32f06ad /testing/openhmd
parent22a5b24484b702f61e8a43ef67fa42e2b770f8f8 (diff)
downloadaports-b37e867daeb95e091e02d3fdcbc0088c3f257510.tar.bz2
aports-b37e867daeb95e091e02d3fdcbc0088c3f257510.tar.xz
testing/openhmd: new aport
Free and Open Source API and drivers for immersive (VR) technology http://www.openhmd.net/
Diffstat (limited to 'testing/openhmd')
-rw-r--r--testing/openhmd/APKBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/testing/openhmd/APKBUILD b/testing/openhmd/APKBUILD
new file mode 100644
index 0000000000..c1a4863432
--- /dev/null
+++ b/testing/openhmd/APKBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Drew DeVault <sir@cmpwn.com>
+pkgname=openhmd
+pkgver=0.3.0
+pkgrel=0
+pkgdesc="Free and Open Source API and drivers for immersive (VR) technology"
+url="http://www.openhmd.net/"
+arch="all"
+license="BSL-1.0"
+makedepends="hidapi-dev"
+subpackages="$pkgname-dev"
+source="$pkgname-$pkgver.tar.gz::https://github.com/OpenHMD/$pkgname/archive/$pkgver.tar.gz"
+builddir="$srcdir/OpenHMD-$pkgver"
+options="!check" # https://github.com/OpenHMD/OpenHMD/issues/248
+
+build() {
+ meson \
+ --prefix /usr \
+ --libdir /usr/lib \
+ -Dexamples='' \
+ . build
+ ninja -C build
+}
+
+check() {
+ ninja -C build test
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+}
+
+sha512sums="20e6490287295f3de08150f1b036a821b97443a303ee404c71981f57f4ef291b50b6b83acd2dbb5e86a827c40b3fd06d790dabe4de3b0075432111d67875e7d2 openhmd-0.3.0.tar.gz"