From dff543e889d3e1793809ef6d5d1af8bb155590aa Mon Sep 17 00:00:00 2001 From: Rutger Helling Date: Wed, 27 Dec 2017 10:42:29 +0100 Subject: gnu: Add ffmpeg-git. * gnu/packages/video.scm (ffmpeg-git): New variable. --- gnu/packages/video.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) 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") -- cgit v1.2.3