commit: d292dd627abbd248b2216b6487fe01e530d537d9
parent: d7950fd1821eac8b6597906e7cb5d39201ba0b02
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date: Fri, 24 Jul 2020 00:17:27 +0200
media-libs/monado: New package (-9999)
Diffstat:
2 files changed, 41 insertions(+), 0 deletions(-)
diff --git a/media-libs/monado/metadata.xml b/media-libs/monado/metadata.xml
@@ -0,0 +1,8 @@
+<?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>
+</pkgmetadata>
diff --git a/media-libs/monado/monado-9999.ebuild b/media-libs/monado/monado-9999.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2020 Haelwenn (lanodan) Monnier <contact@hacktivis.me>
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake git-r3
+
+DESCRIPTION="The open source OpenXR runtime."
+HOMEPAGE="https://monado.dev"
+EGIT_REPO_URI="https://gitlab.freedesktop.org/monado/monado.git"
+LICENSE="boost"
+SLOT="0"
+
+# TODO: OpenHMD
+BDEPEND=""
+DEPEND="
+ media-libs/openxr-loader
+ media-libs/mesa
+ dev-cpp/eigen:3
+ dev-util/glslang
+ virtual/libusb
+ virtual/libudev
+ media-libs/libv4l
+"
+RDEPEND="${DEPEND}"
+
+src_configure() {
+ local ecmakeargs=(
+ -DSYSTEM_CJSON=ON
+ )
+
+ cmake_src_configure
+}