guix-commits
[Top][All Lists]
Advanced

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

01/03: gnu: ffmpeg: Re-add 2.8.6.


From: Ludovic Courtès
Subject: 01/03: gnu: ffmpeg: Re-add 2.8.6.
Date: Mon, 18 Apr 2016 10:09:02 +0000

civodul pushed a commit to branch master
in repository guix.

commit 940778c71c6be6987cf401a308261be6d33935a3
Author: Ludovic Courtès <address@hidden>
Date:   Mon Apr 18 11:26:30 2016 +0200

    gnu: ffmpeg: Re-add 2.8.6.
    
    * gnu/packages/video.scm (ffmpeg-2.8): New variable.
---
 gnu/packages/video.scm |   20 ++++++++++++++++++++
 1 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 334f843..4907a41 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -536,6 +536,26 @@ convert and stream audio and video.  It includes the 
libavcodec
 audio/video codec library.")
     (license license:gpl2+)))
 
+(define-public ffmpeg-2.8
+  (package
+    (inherit ffmpeg)
+    (version "2.8.6")
+    (source (origin
+             (method url-fetch)
+             (uri (string-append "https://ffmpeg.org/releases/ffmpeg-";
+                                 version ".tar.xz"))
+             (sha256
+              (base32
+               "1yh7dvm7zwdlsspdaq524s5qaggma5md9h95qc4kvb5dmyyyvg15"))))
+    (arguments
+     (substitute-keyword-arguments (package-arguments ffmpeg)
+       ((#:configure-flags flags)
+        `(map (lambda (flag)
+                (if (string=? flag "--disable-mipsdsp")
+                    "--disable-mipsdspr1"
+                    flag))
+              ,flags))))))
+
 (define-public vlc
   (package
     (name "vlc")



reply via email to

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