blob: b6e6f6e8d600b6306bdb35079fdfda2b873484ea (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=monado
pkgver=21.0.0
pkgrel=7
pkgdesc="The open source OpenXR runtime"
url="https://monado.freedesktop.org"
# ppc64le, s390x blocked by opencv -> vtk -> netcdf
arch="all !ppc64le !s390x"
license="BSL-1.0"
depends="xr-hardware"
makedepends="
cmd:glslangValidator
cmd:wayland-scanner
doxygen
eigen-dev
eudev-dev
graphviz
libjpeg-turbo-dev
libsurvive-dev
libxrandr-dev
mesa-dev
meson
opencv-dev
openhmd-dev
sdl2-dev
v4l-utils-dev
vulkan-loader-dev
wayland-dev
wayland-protocols
zlib-dev
"
source="https://gitlab.freedesktop.org/monado/monado/-/archive/v$pkgver/monado-v$pkgver.tar.gz
fix-build.patch
vulkan-1.2.174-compat.patch
"
builddir="$srcdir/$pkgname-v$pkgver"
build() {
# Steam is not available on Alpine and probably never will be
# It can be ran in a Flatpak on Alpine but Monado installed on the host
# can never work with it, so there is no need for us to build it
abuild-meson . output \
-Ddrivers=auto,ohmd,survive \
-Dsteamvr_plugin=false
meson compile -C output
}
check() {
meson test --no-rebuild --print-errorlogs -C output
}
package() {
DESTDIR="$pkgdir" meson install --no-rebuild -C output
}
sha512sums="
d4f723da9d4b6b62bef4e4c4553e1573fa23a239e01337087859a1395c5cfe9fb10e89474e0e6d2747206e463bcded6fc9e85d5bbd37e082828216cc0d8e9933 monado-v21.0.0.tar.gz
58b19c33f32d958934683250b381f00f52c530f83c6ae512225f1dff61a42534839a7a778fc3e0ee7d5ce51dc0f01cc6effc69b727b9f969dab06edd6d9825e5 fix-build.patch
df9958375997ac24c20992a492c0b2e74294d06513eff5043eb6263ce9c07dbe557e838b990b754ded03a08644ff9e7216bbe6989098cdd1bbe2f16b47de9b1e vulkan-1.2.174-compat.patch
"
|