blob: 0e40e101f02ec34c74238feca85fe55947e40fa6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Maintainer: Drew DeVault <sir@cmpwn.com>
pkgname=openhmd
pkgver=0.3.0
pkgrel=1
pkgdesc="Free and Open Source API and drivers for immersive (VR) technology"
url="http://www.openhmd.net/"
arch="all"
license="BSL-1.0"
makedepends="meson 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 \
--buildtype=plain \
-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"
|