upgpkg: wordpress 6.2.1-1
[ArchLinux/community.git] / openxr / trunk / PKGBUILD
blob3d79010bede319d8aa1495554e91be291b6c79da
1 # Maintainer: Sven-Hendrik Haase <svenstaro@archlinux.org>
2 pkgname=openxr
3 pkgver=1.0.27
4 pkgrel=1
5 pkgdesc='An open standard for virtual reality and augmented reality platforms and devices'
6 arch=('x86_64')
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')
10 license=('APACHE')
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'
14             'SKIP')
16 build() {
17   cd OpenXR-SDK-Source-release-${pkgver}
19   cmake \
20     -GNinja \
21     -Bbuild \
22     -DCMAKE_INSTALL_PREFIX=/usr \
23     -DCMAKE_INSTALL_LIBDIR=lib \
24     -DCMAKE_BUILD_TYPE=Release \
25     -DBUILD_TESTS=ON \
26     -DPRESENTATION_BACKEND=xlib \
27     -DDYNAMIC_LOADER=ON
28   ninja -C build
31 package() {
32   cd OpenXR-SDK-Source-release-${pkgver}
34   DESTDIR="$pkgdir" ninja -C build install