From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 1/3] gnu: Add openal. Date: Fri, 5 Sep 2014 14:53:16 -0400 Message-ID: <1409943198-858-1-git-send-email-dthompson2@worcester.edu> Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50463) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPydj-0000wV-LF for guix-devel@gnu.org; Fri, 05 Sep 2014 14:53:50 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XPydZ-00059I-8o for guix-devel@gnu.org; Fri, 05 Sep 2014 14:53:43 -0400 Received: from na3sys009aog111.obsmtp.com ([74.125.149.205]:39789) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XPydZ-000594-2T for guix-devel@gnu.org; Fri, 05 Sep 2014 14:53:33 -0400 Received: by mail-yh0-f51.google.com with SMTP id i57so850791yha.24 for ; Fri, 05 Sep 2014 11:53:30 -0700 (PDT) List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * 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