summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2020-10-19 13:45:11 +0200
committerGuillaume Le Vaillant <glv@posteo.net>2020-10-19 13:58:43 +0200
commit324057e8d6a48b8eb0c179f3e976b26dcee156cb (patch)
tree17dbcca505cd1f245cf87f68d018c76d5aa74325
parenta0e47fada717b23b8445fa2a7108a72a868742b2 (diff)
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.
-rw-r--r--gnu/packages/video.scm16
1 files changed, 12 insertions, 4 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 4b7f9a6ca7..9563b3c47e 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