unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 1/3] gnu: Add openal.
@ 2014-09-05 18:53 David Thompson
  2014-09-05 18:53 ` [PATCH 2/3] gnu: Add irrlicht David Thompson
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: David Thompson @ 2014-09-05 18:53 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/games.scm (openal): New variable.
---
 gnu/packages/games.scm | 34 +++++++++++++++++++++++++++++++++-
 1 file changed, 33 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm
index 84e09aa..e6ef402 100644
--- a/gnu/packages/games.scm
+++ b/gnu/packages/games.scm
@@ -41,7 +41,10 @@
   #:use-module (gnu packages sqlite)
   #:use-module (gnu packages sdl)
   #:use-module (gnu packages texinfo)
-  #:use-module (guix build-system gnu))
+  #:use-module (gnu packages pulseaudio)
+  #:use-module (gnu packages linux)
+  #:use-module (guix build-system gnu)
+  #:use-module (guix build-system cmake))
 
 (define-public gnubg
   (package
@@ -321,3 +324,32 @@ and Makruk.  Several lesser-known variants are also supported.  It presents a
 fully interactive graphical interface and it can load and save games in the
 Portable Game Notation.")
     (license gpl3+)))
+
+(define-public openal
+  (package
+    (name "openal")
+    (version "1.15.1")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://kcat.strangesoft.net/openal-releases/openal-soft-"
+                    version ".tar.bz2"))
+              (sha256
+               (base32
+                "0mmhdqiyb3c9dzvxspm8h2v8jibhi8pfjxnf6m0wn744y1ia2a8f"))))
+    (build-system cmake-build-system)
+    (arguments
+     `(#:tests? #f)) ; no check target
+    (inputs
+     `(("alsa-lib" ,alsa-lib)
+       ("pulseaudio" ,pulseaudio)))
+    (synopsis "3D audio API")
+    (description
+     "OpenAL provides capabilities for playing audio in a virtual 3D
+environment.  Distance attenuation, doppler shift, and directional sound
+emitters are among the features handled by the API.  More advanced effects,
+including air absorption, occlusion, and environmental reverb, are available
+through the EFX extension.  It also facilitates streaming audio, multi-channel
+buffers, and audio capture.")
+    (home-page "http://kcat.strangesoft.net/openal.html")
+    (license lgpl2.0+)))
-- 
2.1.0

^ permalink raw reply related	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2014-09-06 18:26 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-05 18:53 [PATCH 1/3] gnu: Add openal David Thompson
2014-09-05 18:53 ` [PATCH 2/3] gnu: Add irrlicht David Thompson
2014-09-05 19:10   ` Eric Bavier
2014-09-05 19:42     ` David Thompson
2014-09-05 18:53 ` [PATCH 3/3] gnu: Add minetest David Thompson
2014-09-05 20:18   ` Ludovic Courtès
2014-09-06  3:56     ` David Thompson
2014-09-06 10:52       ` Ludovic Courtès
2014-09-06 18:26         ` David Thompson
2014-09-05 20:13 ` [PATCH 1/3] gnu: Add openal Ludovic Courtès

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).