Github messages for voidlinux
 help / color / mirror / Atom feed
From: FriederHannenheim <FriederHannenheim@users.noreply.github.com>
To: ml@inbox.vuxu.org
Subject: Re: [PR PATCH] [Updated] New package: openxr-loader-1.0.34
Date: Thu, 14 Mar 2024 23:38:49 +0100	[thread overview]
Message-ID: <20240314223849.91E782CA66@inbox.vuxu.org> (raw)
In-Reply-To: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-49294@inbox.vuxu.org>

[-- Attachment #1: Type: text/plain, Size: 1609 bytes --]

There is an updated pull request by FriederHannenheim against master on the void-packages repository

https://github.com/FriederHannenheim/void-packages openxr-package
https://github.com/void-linux/void-packages/pull/49294

New package: openxr-loader-1.0.34
<!-- Uncomment relevant sections and delete options which are not applicable -->
This packages the OpenXR loader as well as development files. It is required to run OpenXR applications and games.

I got the available arches from this file at line 40:
https://github.com/KhronosGroup/OpenXR-SDK/blob/main/src/common/platform_utils.hpp
I'm not sure it is exactly right since there armv7a-vfp is supported but I didn't find it in `common/cross-profiles`


#### Testing the changes
- I tested the changes in this PR: **YES**

#### New package
- This new package conforms to the [package requirements](https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#package-requirements): **YES**

<!-- Note: If the build is likely to take more than 2 hours, please add ci skip tag as described in
https://github.com/void-linux/void-packages/blob/master/CONTRIBUTING.md#continuous-integration
and test at least one native build and, if supported, at least one cross build.
Ignore this section if this PR is not skipping CI.
-->
#### Local build testing
- I built this PR locally for my native architecture, (x86_64-glibc)
- I built this PR locally for these architectures (if supported. mark crossbuilds):
  - aarch64
  - x86_64-musl

A patch file from https://github.com/void-linux/void-packages/pull/49294.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-openxr-package-49294.patch --]
[-- Type: text/x-diff, Size: 2451 bytes --]

From c6cfc5cc049a37a7167f45c8aea20cbf5bf44beb Mon Sep 17 00:00:00 2001
From: FriederHannenheim <frieder.hannenheim@proton.me>
Date: Thu, 14 Mar 2024 20:42:40 +0100
Subject: [PATCH] New package: openxr-loader-1.0.34

---
 common/shlibs                  |  1 +
 srcpkgs/openxr-loader-devel    |  1 +
 srcpkgs/openxr-loader/template | 25 +++++++++++++++++++++++++
 3 files changed, 27 insertions(+)
 create mode 120000 srcpkgs/openxr-loader-devel
 create mode 100644 srcpkgs/openxr-loader/template

diff --git a/common/shlibs b/common/shlibs
index d3298e21003df2..6f13744e211ec8 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-loader-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-loader-devel b/srcpkgs/openxr-loader-devel
new file mode 120000
index 00000000000000..b643dc211201b5
--- /dev/null
+++ b/srcpkgs/openxr-loader-devel
@@ -0,0 +1 @@
+openxr-loader
\ No newline at end of file
diff --git a/srcpkgs/openxr-loader/template b/srcpkgs/openxr-loader/template
new file mode 100644
index 00000000000000..d1c2f8b3b5b13e
--- /dev/null
+++ b/srcpkgs/openxr-loader/template
@@ -0,0 +1,25 @@
+# Template file for 'openxr-loader'
+pkgname=openxr-loader
+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 <frieder.hannenheim@proton.me>"
+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-loader-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
+	}
+}

  parent reply	other threads:[~2024-03-14 22:38 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-14 19:48 [PR PATCH] " FriederHannenheim
2024-03-14 22:36 ` [PR PATCH] [Updated] " FriederHannenheim
2024-03-14 22:38 ` FriederHannenheim [this message]
2024-03-15 11:32 ` FriederHannenheim
2024-03-15 11:57 ` [PR PATCH] [Updated] " FriederHannenheim
2024-03-15 19:22 ` New package: OpenXR-SDK-1.0.34 Chocimier
2024-03-16  8:15 ` [PR PATCH] [Updated] " FriederHannenheim
2024-03-16  8:16 ` FriederHannenheim
2024-04-17  8:58 ` [PR PATCH] [Updated] " FriederHannenheim
2024-04-17  9:00 ` FriederHannenheim

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240314223849.91E782CA66@inbox.vuxu.org \
    --to=friederhannenheim@users.noreply.github.com \
    --cc=ml@inbox.vuxu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).