From ea3510f8a7f0fe7add54d072b077236756ab3c54 Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Sun, 3 Mar 2019 10:54:38 +0100 Subject: gnu: Add faudio. * gnu/packages/audio.scm (faudio): New variable. --- gnu/packages/audio.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/audio.scm b/gnu/packages/audio.scm index d395a52f29..70bbc3e49a 100644 --- a/gnu/packages/audio.scm +++ b/gnu/packages/audio.scm @@ -20,6 +20,7 @@ ;;; Copyright © 2018 Brendan Tildesley ;;; Copyright © 2019 Pierre Langlois ;;; Copyright © 2019 Leo Famulari +;;; Copyright © 2019 Rutger Helling ;;; ;;; This file is part of GNU Guix. ;;; @@ -87,6 +88,7 @@ #:use-module (gnu packages python-xyz) #:use-module (gnu packages rdf) #:use-module (gnu packages readline) + #:use-module (gnu packages sdl) #:use-module (gnu packages serialization) #:use-module (gnu packages telephony) #:use-module (gnu packages tls) @@ -3673,3 +3675,29 @@ surround).") high-quality editing and playback of audio, and is based on the JUCE library.") (license license:lgpl3+))) + +(define-public faudio + (package + (name "faudio") + (version "19.03") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/FNA-XNA/FAudio.git") + (commit version))) + (file-name (string-append name "-" version "-checkout")) + (sha256 + (base32 "0v5l67ixr5kd9jz5sza8xgzxamqnlgn3gs1q8gg6ir60g0jvzbd4")))) + (arguments + '(#:tests? #f ; No tests. + #:configure-flags '("-DFFMPEG=ON"))) + (build-system cmake-build-system) + (native-inputs `(("pkg-config" ,pkg-config))) + (inputs `(("ffmpeg" ,ffmpeg) + ("sdl2" ,sdl2))) + (home-page "https://github.com/FNA-XNA/FAudio") + (synopsis "XAudio reimplementation") + (description "FAudio is an XAudio reimplementation that focuses solely on +developing fully accurate DirectX Audio runtime libraries.") + (license license:zlib))) -- cgit v1.2.3