From 1deaab559dff0a038e61f34ed2353d61de20310f Mon Sep 17 00:00:00 2001 From: FriederHannenheim Date: Thu, 14 Mar 2024 20:42:40 +0100 Subject: [PATCH] New package: openxr-loader-1.0.34 --- common/shlibs | 1 + srcpkgs/OpenXR-SDK-devel | 1 + srcpkgs/OpenXR-SDK/template | 25 +++++++++++++++++++++++++ 3 files changed, 27 insertions(+) create mode 120000 srcpkgs/OpenXR-SDK-devel create mode 100644 srcpkgs/OpenXR-SDK/template diff --git a/common/shlibs b/common/shlibs index d3298e21003df2..561c237876e1a0 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1512,6 +1512,7 @@ libxshmfence.so.1 libxshmfence-1.1_1 libgoffice-0.10.so.10 goffice-0.10.9_1 libc++.so.1 libcxx-3.4_1 libopenobex.so.2 openobex-1.7.1_1 +libopenxr_loader.so.1 OpenXR-SDK-1.0.34_1 libnotmuch.so.5 libnotmuch-0.25_1 libatomic_ops_gpl.so.1 libatomic_ops-7.4.2_1 libatomic_ops.so.1 libatomic_ops-7.4.2_1 diff --git a/srcpkgs/OpenXR-SDK-devel b/srcpkgs/OpenXR-SDK-devel new file mode 120000 index 00000000000000..32ed0b625ffb05 --- /dev/null +++ b/srcpkgs/OpenXR-SDK-devel @@ -0,0 +1 @@ +srcpkgs/OpenXR-SDK/ \ No newline at end of file diff --git a/srcpkgs/OpenXR-SDK/template b/srcpkgs/OpenXR-SDK/template new file mode 100644 index 00000000000000..53050bd1d4e7c3 --- /dev/null +++ b/srcpkgs/OpenXR-SDK/template @@ -0,0 +1,25 @@ +# Template file for 'OpenXR-SDK' +pkgname=OpenXR-SDK +version=1.0.34 +revision=1 +archs="~armv6* *" # OpenXR-SDK currently doesn't build on armv6 https://github.com/KhronosGroup/OpenXR-SDK-Source/issues/465 +build_style=cmake +makedepends="MesaLib-devel Vulkan-Headers libxcb-devel libXrandr-devel libXxf86vm-devel" +short_desc="OpenXR is a open standard that provides access to AR and VR devices" +maintainer="Frieder Hannenheim " +license="Apache-2.0" +homepage="https://www.khronos.org/openxr/" +changelog="https://raw.githubusercontent.com/KhronosGroup/OpenXR-SDK/main/CHANGELOG.SDK.md" +distfiles="https://github.com/KhronosGroup/OpenXR-SDK/archive/refs/tags/release-${version}.tar.gz" +checksum=5fa2fac1b442a31e267ea522799a247e3aff6e6f5a418b1e31c337b8ca835b69 + +OpenXR-SDK-devel_package() { + depends="${sourcepkg}>=${version}_${revision}" + short_desc+=" - development files" + make_install_args="--component Headers" + pkg_install() { + vmove usr/include + vmove usr/lib/cmake + vmove usr/lib/pkgconfig + } +}