summary refs log tree commit diff
path: root/gnu/packages/audio.scm
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/packages/audio.scm')
-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)))