[arch-commits] Commit in openxr/repos (community-x86_64 community-x86_64/PKGBUILD)
Sven-Hendrik Haase
svenstaro at archlinux.org
Sat Nov 21 21:00:57 UTC 2020
Date: Saturday, November 21, 2020 @ 21:00:57
Author: svenstaro
Revision: 758598
archrelease: copy trunk to community-x86_64
Added:
openxr/repos/community-x86_64/
openxr/repos/community-x86_64/PKGBUILD
(from rev 758597, openxr/trunk/PKGBUILD)
----------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
Copied: openxr/repos/community-x86_64/PKGBUILD (from rev 758597, openxr/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2020-11-21 21:00:57 UTC (rev 758598)
@@ -0,0 +1,35 @@
+# Maintainer: Sven-Hendrik Haase <svenstaro at gmail.com>
+pkgname=openxr
+pkgver=1.0.12
+pkgrel=1
+pkgdesc='An open standard for virtual reality and augmented reality platforms and devices'
+arch=('x86_64')
+url='https://www.khronos.org/openxr/'
+depends=('jsoncpp' 'libx11' 'vulkan-icd-loader' 'libglvnd' 'libxrandr' 'libxxf86vm')
+makedepends=('cmake' 'vulkan-headers' 'python' 'ninja' 'wayland' 'mesa')
+license=('APACHE')
+source=("https://github.com/KhronosGroup/OpenXR-SDK-Source/releases/download/release-${pkgver}/OpenXR-SDK-Source-release-${pkgver}.tar.gz"{,.asc})
+validpgpkeys=(F029455EAB70F520FF4A03BD7F534CD56F00321E)
+sha512sums=('e7c358dbd730ef24798993225e882cf35fc474426536aee9f54cbe610422f70c467b3c83876b993d1a45f0d8c3b6869f93efba8fb356baf64b5ade73dee885c9'
+ 'SKIP')
+
+build() {
+ cd OpenXR-SDK-Source-release-${pkgver}
+
+ cmake \
+ -GNinja \
+ -Bbuild \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DBUILD_TESTS=ON \
+ -DPRESENTATION_BACKEND=xlib \
+ -DDYNAMIC_LOADER=ON
+ ninja -C build
+}
+
+package() {
+ cd OpenXR-SDK-Source-release-${pkgver}
+
+ DESTDIR="$pkgdir" ninja -C build install
+}
More information about the arch-commits
mailing list