From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 1/4] gnu: Add openal. Date: Sun, 16 Nov 2014 10:58:11 -0500 Message-ID: <87fvdjqgrw.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> References: <87ioifqgta.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:46736) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xq2DP-0003ax-9E for guix-devel@gnu.org; Sun, 16 Nov 2014 10:58:16 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Xq2DO-0005Px-6a for guix-devel@gnu.org; Sun, 16 Nov 2014 10:58:15 -0500 Received: from mail.fsf.org ([208.118.235.13]:33245) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Xq2DO-0005Pt-3H for guix-devel@gnu.org; Sun, 16 Nov 2014 10:58:14 -0500 Received: from 209-6-40-86.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.40.86]:50251 helo=izanagi) by mail.fsf.org with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1Xq2DN-0008I8-Qc for guix-devel@gnu.org; Sun, 16 Nov 2014 10:58:13 -0500 In-Reply-To: <87ioifqgta.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> 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 --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-gnu-Add-openal.patch >From 7c819bab67f9bb3c91010d3a1435b6c12b4cd9d4 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 18 Jul 2014 23:19:30 -0400 Subject: [PATCH 1/4] gnu: Add openal. * gnu/packages/games.scm (openal): New variable. --- gnu/packages/games.scm | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/gnu/packages/games.scm b/gnu/packages/games.scm index a05d389..2b6475b 100644 --- a/gnu/packages/games.scm +++ b/gnu/packages/games.scm @@ -52,7 +52,10 @@ #:use-module (gnu packages perl) #:use-module (gnu packages qt) #:use-module (gnu packages compression) + #:use-module (gnu packages pulseaudio) + #:use-module (gnu packages linux) #:use-module (guix build-system gnu) + #:use-module (guix build-system cmake) #:use-module (guix build-system trivial)) (define-public gnubg @@ -535,3 +538,32 @@ clone.") ;; As noted in 'COPYING', part of it is under GPLv2+, while the rest is ;; under BSD-2. (license gpl2+))) + +(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.1 --=-=-= Content-Type: text/plain -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate --=-=-=--