blob: 641f856f7e0521c8b21d3878e1b2972729794c5f (
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
|
# Maintainer: Guillaume Meunier <guillaume.meunier@centraliens.net>
pkgname=wivrn-dashboard
pkgver=0.22
pkgrel=2
pkgdesc="A wireless Monado-based OpenXR runtime for standalone headsets."
arch=(x86_64)
url="https://github.com/WiVRn/WiVRn"
license=("GPL-3.0-only")
depends=(
"gcc-libs"
"glibc"
"hicolor-icon-theme"
"qt6-base"
"wivrn-server"
"polkit"
"libcap"
"boost-libs"
)
makedepends=(
"cmake"
"boost"
"librsvg"
"glib2-devel"
"qt6-tools"
"nlohmann-json"
)
source=("$pkgname-$pkgver.tar.gz::https://github.com/WiVRn/WiVRn/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('e05e56f53ae7650eddbecf84a9a01decb73286a9b44e5ba29e446d9f1a958cb4')
build() {
cd "WiVRn-$pkgver"
cmake -B build-dashboard . \
-DGIT_DESC=v${pkgver} \
-DWIVRN_BUILD_CLIENT=OFF \
-DWIVRN_BUILD_SERVER=OFF \
-DWIVRN_BUILD_WIVRNCTL=OFF \
-DWIVRN_BUILD_DASHBOARD=ON \
-DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX="/usr" \
-Wno-dev
cmake --build build-dashboard
}
package() {
cd "WiVRn-$pkgver"
DESTDIR="$pkgdir" cmake --install build-dashboard
}
|