[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/01: gnu: Add openvr.
From: |
guix-commits |
Subject: |
01/01: gnu: Add openvr. |
Date: |
Sat, 22 Jun 2019 06:59:11 -0400 (EDT) |
ambrevar pushed a commit to branch master
in repository guix.
commit 545946f6571c3dd01a450de738e2b37bdf148061
Author: Pierre Neidhardt <address@hidden>
Date: Sat Jun 22 12:57:56 2019 +0200
gnu: Add openvr.
* gnu/packages/game-development.scm (openvr): New variable.
---
gnu/packages/game-development.scm | 26 ++++++++++++++++++++++++++
1 file changed, 26 insertions(+)
diff --git a/gnu/packages/game-development.scm
b/gnu/packages/game-development.scm
index 63ccd20..1fb90b9 100644
--- a/gnu/packages/game-development.scm
+++ b/gnu/packages/game-development.scm
@@ -1511,3 +1511,29 @@ added. The permanent goal is to create the open source
Quake 3 distribution
upon which people base their games, ports to new platforms, and other
projects.")
(license license:gpl2))))
+
+(define-public openvr
+ (package
+ (name "openvr")
+ (version "1.4.18")
+ (home-page "https://github.com/ValveSoftware/openvr/")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url home-page)
+ (commit (string-append "v" version))))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0m92634j6g0f2xybbzklm79cnq20vidbk1jc62pnz12aabwixvyh"))))
+ (build-system cmake-build-system)
+ (arguments
+ ;; No tests.
+ '(#:tests? #f
+ #:configure-flags (list "-DBUILD_SHARED=1")))
+ (synopsis "Virtual reality software development kit")
+ (description "OpenVR is an API and runtime that allows access to VR
+hardware from multiple vendors without requiring that applications have
+specific knowledge of the hardware they are targeting.")
+ (license license:bsd-3)))