From 324057e8d6a48b8eb0c179f3e976b26dcee156cb Mon Sep 17 00:00:00 2001 From: Guillaume Le Vaillant Date: Mon, 19 Oct 2020 13:45:11 +0200 Subject: [PATCH] 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 4b7f9a6ca7..9563b3c47e 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1635,11 +1635,19 @@ (define-public ffmpeg-3.4 "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