~alpine/aports

testing/openhmd: new APKBUILD v1 PROPOSED

Drew DeVault: 1
 testing/openhmd: new APKBUILD

 1 files changed, 32 insertions(+), 0 deletions(-)
Thanks!
Export patchset (mbox)
How do I use this?

Copy & paste the following snippet into your terminal to import this patchset into git:

curl -s https://lists.alpinelinux.org/~alpine/aports/patches/2885/mbox | git am -3
Learn more about email & git

[PATCH] testing/openhmd: new APKBUILD Export this patch

---
 testing/openhmd/APKBUILD | 32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)
 create mode 100644 testing/openhmd/APKBUILD

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"
-- 
2.22.0
Pushed with fixes to the commit:

- new APKBUILD -> new aport
- Added $pkgdesc and $url to body