1 # Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
5 pkgdesc='An open standard for virtual reality and augmented reality platforms and devices'
7 url='https://www.khronos.org/openxr/'
8 depends=('jsoncpp' 'libx11' 'vulkan-icd-loader' 'libglvnd' 'libxrandr' 'libxxf86vm')
9 makedepends=('cmake' 'vulkan-headers' 'python' 'ninja' 'wayland' 'mesa')
11 source=("https://github.com/KhronosGroup/OpenXR-SDK-Source/releases/download/release-${pkgver}/OpenXR-SDK-Source-release-${pkgver}.tar.gz"{,.asc})
12 validpgpkeys=(F029455EAB70F520FF4A03BD7F534CD56F00321E)
13 sha512sums=('b7a94d9f3cb30d9349e1f65e587dfdd9e0685b5370e619d15da86c1b4408404d2456c0fa7c6bf4fb080eb0d7c216107d949817d3975c98bb8280ee0fa76f1723'
17 cd OpenXR-SDK-Source-release-${pkgver}
22 -DCMAKE_INSTALL_PREFIX=/usr \
23 -DCMAKE_INSTALL_LIBDIR=lib \
24 -DCMAKE_BUILD_TYPE=Release \
26 -DPRESENTATION_BACKEND=xlib \
32 cd OpenXR-SDK-Source-release-${pkgver}
34 DESTDIR="$pkgdir" ninja -C build install