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.
This commit is contained in:
Guillaume Le Vaillant 2020-10-19 13:45:11 +02:00
parent a0e47fada7
commit 324057e8d6
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -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