From: Andy Tai <atai@atai.org>
To: Leo Famulari <leo@famulari.name>
Cc: 46500@debbugs.gnu.org
Subject: [bug#46500] [PATCH] gnu: Add monado
Date: Sat, 20 Feb 2021 21:47:18 -0800 [thread overview]
Message-ID: <CAJsg1E-ETsSm88Bb2b8xYdOVa8Q+4CmccyXg0b35mm=j92DrsQ@mail.gmail.com> (raw)
In-Reply-To: <YDGgrfpqzUmiWZ+H@jasmine.lan>
[-- Attachment #1: Type: text/plain, Size: 118 bytes --]
review comments addressed;
lint passed cleanly (except the one for Software Heritage)
install fixed and no error now
[-- Attachment #2: 0001-gnu-Add-monado.patch --]
[-- Type: text/x-patch, Size: 2913 bytes --]
From 99878cebc1e046369100cdae54d69dde3ade7448 Mon Sep 17 00:00:00 2001
From: Andy Tai <atai@atai.org>
Date: Sat, 20 Feb 2021 21:42:24 -0800
Subject: [PATCH] gnu: Add monado
* gnu/packages/graphics.scm (monado): New variable
---
gnu/packages/graphics.scm | 42 +++++++++++++++++++++++++++++++++++++++
1 file changed, 42 insertions(+)
diff --git a/gnu/packages/graphics.scm b/gnu/packages/graphics.scm
index 7cb4aecec2..0b1c33401e 100644
--- a/gnu/packages/graphics.scm
+++ b/gnu/packages/graphics.scm
@@ -24,6 +24,7 @@
;;; Copyright © 2020 Maxim Cournoyer <maxim.cournoyer@gmail.com>
;;; Copyright © 2020 Gabriel Arazas <foo.dogsquared@gmail.com>
;;; Copyright © 2021 Antoine Côté <antoine.cote@posteo.net>
+;;; Copyright © 2021 Andy Tai <atai@atai.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -74,6 +75,7 @@
#:use-module (gnu packages imagemagick)
#:use-module (gnu packages jemalloc)
#:use-module (gnu packages kde-frameworks)
+ #:use-module (gnu packages libusb)
#:use-module (gnu packages linux)
#:use-module (gnu packages lua)
#:use-module (gnu packages maths)
@@ -97,6 +99,7 @@
#:use-module (gnu packages tbb)
#:use-module (gnu packages upnp)
#:use-module (gnu packages video)
+ #:use-module (gnu packages vulkan)
#:use-module (gnu packages xiph)
#:use-module (gnu packages xml)
#:use-module (gnu packages xorg)
@@ -1914,3 +1917,42 @@ Some feature highlights:
@item Automatic port forwarding with UPnP
@end itemize\n")
(license license:gpl3+))))
+
+
+(define-public monado
+ (package
+ (name "monado")
+ (version "21.0.0")
+ (source (origin
+ (method url-fetch)
+ (uri (string-append "https://gitlab.freedesktop.org/" name "/"
+ name "/-/archive/v" version "/"
+ name "-v" version ".tar.bz2"))
+ (sha256
+ (base32
+ "0n04k7a8b0i8ga0kbzh7qxmvni1ijawgk98s83519vxg4d0yyjbq"))))
+ (build-system meson-build-system)
+ (inputs
+ `(("ffmpeg" ,ffmpeg)
+ ("glslang" ,glslang)
+ ("libudev" ,eudev)
+ ("libusb" ,libusb)
+ ("libxcb" ,libxcb)
+ ("libxrandr" ,libxrandr)
+ ("opengl" ,mesa)
+ ("v4l" ,v4l-utils)
+ ("vulkan-loader" ,vulkan-loader)))
+ (native-inputs
+ `(("eigen" ,eigen)
+ ("pkg-config" ,pkg-config)
+ ("vulkan-headers" ,vulkan-headers)))
+ (arguments
+ `(#:configure-flags
+ (list "-Dinstall-active-runtime=false")))
+ (home-page "https://monado.freedesktop.org/")
+ (synopsis "OpenXR runtime")
+ (description "Monado is an OpenXR runtime delivering immersive experiences
+such as VR and AR on mobile, PC/desktop, and any other device. Monado aims to be
+a complete and conforming implementation of the OpenXR API made by Khronos.")
+ (license license:boost1.0)))
+
--
2.30.0
next prev parent reply other threads:[~2021-02-21 5:49 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-02-14 2:12 [bug#46500] [PATCH] gnu: Add monado Andy Tai
2021-02-20 23:52 ` Leo Famulari
2021-02-21 5:47 ` Andy Tai [this message]
2021-02-24 16:42 ` bug#46500: " Leo Famulari
2021-02-24 19:02 ` [bug#46500] " Andy Tai
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
List information: https://guix.gnu.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAJsg1E-ETsSm88Bb2b8xYdOVa8Q+4CmccyXg0b35mm=j92DrsQ@mail.gmail.com' \
--to=atai@atai.org \
--cc=46500@debbugs.gnu.org \
--cc=leo@famulari.name \
/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.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).