aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRutger Helling <rhelling@mykolab.com>2019-03-03 10:54:38 +0100
committerRutger Helling <rhelling@mykolab.com>2019-03-03 11:01:51 +0100
commitea3510f8a7f0fe7add54d072b077236756ab3c54 (patch)
treea8c643da8c89bbc3245fc530840b5aef4fb4e9dc /gnu
parentdbb1ef51c8e6b83fb58aafe93b4a712c3539a12b (diff)
downloadpatches-ea3510f8a7f0fe7add54d072b077236756ab3c54.tar
patches-ea3510f8a7f0fe7add54d072b077236756ab3c54.tar.gz
gnu: Add faudio.
* gnu/packages/audio.scm (faudio): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/audio.scm28
1 files changed, 28 insertions, 0 deletions
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 <brendan.tildesley@openmailbox.org>
;;; Copyright © 2019 Pierre Langlois <pierre.langlois@gmx.com>
;;; Copyright © 2019 Leo Famulari <leo@famulari.name>
+;;; Copyright © 2019 Rutger Helling <rhelling@mykolab.com>
;;;
;;; 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)))