commit: d7950fd1821eac8b6597906e7cb5d39201ba0b02
parent: e7c09b4e57a82bec6640f0377d2cc76db6ed4ab2
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 24 Jul 2020 00:00:38 +0200
media-libs/openxr-loader: New package (-9999)
Diffstat:
2 files changed, 43 insertions(+), 0 deletions(-)
diff --git a/media-libs/openxr-loader/metadata.xml b/media-libs/openxr-loader/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>contact@hacktivis.me</email>
+ <name>Haelwenn (lanodan) Monnier</name>
+ </maintainer>
+ <upstream>
+ <remote-id type="github">KhronosGroup/OpenXR-SDK</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/media-libs/openxr-loader/openxr-loader-9999.ebuild b/media-libs/openxr-loader/openxr-loader-9999.ebuild
@@ -0,0 +1,32 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+MY_PN=OpenXR-SDK
+inherit cmake
+
+if [[ ${PV} == *9999* ]]; then
+ EGIT_REPO_URI="https://github.com/KhronosGroup/${MY_PN}.git"
+ inherit git-r3
+else
+ SRC_URI="https://github.com/KhronosGroup/${MY_PN}/archive/release-${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64"
+ S="${WORKDIR}"/${MY_PN}-${PV}
+fi
+
+DESCRIPTION="OpenXR loader"
+HOMEPAGE="https://github.com/KhronosGroup/OpenXR-SDK"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+BDEPEND=">=dev-util/cmake-3.10.2"
+DEPEND="
+ media-libs/vulkan-loader
+ x11-libs/libxcb
+ x11-libs/xcb-util-keysyms
+ x11-libs/libXrandr
+ x11-libs/libXxf86vm
+ media-libs/mesa
+"