guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/3] gnu: Add opusfile.


From: Paul van der Walt
Subject: [PATCH 1/3] gnu: Add opusfile.
Date: Mon, 19 Oct 2015 13:20:47 +0200

* gnu/packages/xiph.scm (opusfile): New variable.
---
 gnu/packages/xiph.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/xiph.scm b/gnu/packages/xiph.scm
index c4db640..78d4cfa 100644
--- a/gnu/packages/xiph.scm
+++ b/gnu/packages/xiph.scm
@@ -46,6 +46,7 @@
             libkate
             vorbis-tools
             opus
+            opusfile
             opus-tools))
 
 (define libogg
@@ -341,6 +342,33 @@ decoding .opus files.")
     (license license:bsd-3)
     (home-page "http://www.opus-codec.org";)))
 
+(define opusfile
+  (package
+    (name "opusfile")
+    (version "0.6")
+    (source (origin
+              (method url-fetch)
+              (uri (string-append
+                    "http://downloads.xiph.org/releases/opus/opusfile-"; version
+                    ".tar.gz"))
+              (sha256
+               (base32
+                "19iys2kld75k0210b807i4illrdmj3cmmnrgxlc9y4vf6mxp2a14"))))
+    (build-system gnu-build-system)
+    (propagated-inputs
+     `(("opus" ,opus)))
+    (inputs
+     `(("pkg-config" ,pkg-config)
+       ("libogg" ,libogg)
+       ("openssl" ,openssl)))
+    (synopsis "Versatile audio codec")
+    (description
+     "The opusfile library provides seeking, decode, and playback of Opus
+streams in the Ogg container (.opus files) including over http(s) on posix and
+windows systems.")
+    (license license:bsd-3)
+    (home-page "http://www.opus-codec.org";)))
+
 (define-public icecast
   (package
     (name "icecast")
-- 
2.6.1




reply via email to

[Prev in Thread] Current Thread [Next in Thread]