summary refs log tree commit diff
diff options
context:
space:
mode:
authorRutger Helling <rhelling@mykolab.com>2017-12-27 10:42:29 +0100
committerRutger Helling <rhelling@mykolab.com>2017-12-27 10:51:26 +0100
commitdff543e889d3e1793809ef6d5d1af8bb155590aa (patch)
tree0a7a746ecd510a33577fd29e3156f999236ef062
parent84276503059d46c0a42240f8770f59090614d863 (diff)
downloadguix-dff543e889d3e1793809ef6d5d1af8bb155590aa.tar.gz
gnu: Add ffmpeg-git.
* gnu/packages/video.scm (ffmpeg-git): New variable.
-rw-r--r--gnu/packages/video.scm19
1 files changed, 19 insertions, 0 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 42abe30fba..95739a2fcf 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -782,6 +782,25 @@ audio/video codec library.")
                     flag))
               ,flags))))))
 
+;; Annoyingly enough, the latest mpv release does not build with the stable
+;; release of ffmpeg. Use a git commit until the situation is fixed.
+(define-public ffmpeg-git
+  (let ((commit "3f887440677328c9cfed97ad81d14051ffa32aae")
+        (revision "1"))
+    (package
+     (inherit ffmpeg)
+     (name "ffmpeg-git")
+     (version (string-append "3.4-" revision "." (string-take commit 9)))
+     (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/FFmpeg/FFmpeg.git")
+                    (commit commit)))
+              (file-name (string-append name "-" version "-checkout"))
+              (sha256
+               (base32
+                "1b7n3g4m2rbvrwsgbfl8wl91z42g1ld42clwxs8qpl9ny5rwz6sq")))))))
+
 (define-public vlc
   (package
     (name "vlc")