guix-commits
[Top][All Lists]
Advanced

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

branch master updated: gnu: ffmpeg-3.4: Fix configuration.


From: guix-commits
Subject: branch master updated: gnu: ffmpeg-3.4: Fix configuration.
Date: Mon, 19 Oct 2020 08:56:38 -0400

This is an automated email from the git hooks/post-receive script.

glv pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 324057e  gnu: ffmpeg-3.4: Fix configuration.
324057e is described below

commit 324057e8d6a48b8eb0c179f3e976b26dcee156cb
Author: Guillaume Le Vaillant <glv@posteo.net>
AuthorDate: Mon Oct 19 13:45:11 2020 +0200

    gnu: ffmpeg-3.4: Fix configuration.
    
    ffmpeg-3.4 doesn't support "--enable-libsrt".
    
    * gnu/packages/video.scm (ffmpeg-3.4)[arguments]: Remove "--enable-libsrt"
      from 'configure-flags'.
      [inputs]: Remove srt.
---
 gnu/packages/video.scm | 16 ++++++++++++----
 1 file changed, 12 insertions(+), 4 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 4b7f9a6..9563b3c 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1635,11 +1635,19 @@ audio/video codec library.")
                "1j7mdk9szrljgv4sdx69bm1pnbb3cldbdxbkr42jbdi9zn11gl7g"))))
     (arguments
      (substitute-keyword-arguments (package-arguments ffmpeg)
+       ((#:modules modules %gnu-build-system-modules)
+        `((srfi srfi-1)
+          ,@modules))
        ((#:configure-flags flags)
-        `(delete "--enable-libdav1d" (delete "--enable-libaom" (delete 
"--enable-librav1e"
-                  ,flags))))))
-    (inputs (alist-delete "dav1d" (alist-delete "libaom" (alist-delete "rav1e"
-                           (package-inputs ffmpeg)))))))
+        `(fold delete
+               ,flags
+               '("--enable-libdav1d"
+                 "--enable-libaom"
+                 "--enable-librav1e"
+                 "--enable-libsrt")))))
+    (inputs (fold alist-delete
+                  (package-inputs ffmpeg)
+                  '("dav1d" "libaom" "rav1e" "srt")))))
 
 (define-public ffmpeg-2.8
   (package



reply via email to

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