aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArne Babenhauserheide <arne_bab@web.de>2019-03-05 17:04:00 -0500
committerLeo Famulari <leo@famulari.name>2019-03-05 18:29:20 -0500
commit84eb265eb8076876d2b569bcdff1e44b44b4b295 (patch)
tree5879d0400d8a3ef9c53afdad3c40809c7862b0fd
parenta7afa45401164b78757536bbe95ecc70100d62ac (diff)
downloadpatches-84eb265eb8076876d2b569bcdff1e44b44b4b295.tar
patches-84eb265eb8076876d2b569bcdff1e44b44b4b295.tar.gz
gnu: FFmpeg: Build with AV1 support.
* gnu/packages/video.scm (ffmpeg)[inputs]: Add libaom. [arguments]: Pass '--enable-libaom' to #:configure-flags. (ffmpeg-3.4)[inputs, arguments]: Filter out libaom.
-rw-r--r--gnu/packages/video.scm10
1 files changed, 9 insertions, 1 deletions
diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 4f864a6502..de466b9dfe 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -745,6 +745,7 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).")
("opus" ,opus)
("ladspa" ,ladspa)
("lame" ,lame)
+ ("libaom" ,libaom)
("libass" ,libass)
("libbluray" ,libbluray)
("libcaca" ,libcaca)
@@ -831,6 +832,7 @@ standards (MPEG-2, MPEG-4 ASP/H.263, MPEG-4 AVC/H.264, and VC-1/VMW3).")
"--enable-fontconfig"
"--enable-gnutls"
"--enable-ladspa"
+ "--enable-libaom"
"--enable-libass"
"--enable-libbluray"
"--enable-libcaca"
@@ -913,7 +915,13 @@ audio/video codec library.")
version ".tar.xz"))
(sha256
(base32
- "0b59qk5wpc5ksiha76jbhb859g5gxa4w0k6afh3kgvgajiivs73l"))))))
+ "0b59qk5wpc5ksiha76jbhb859g5gxa4w0k6afh3kgvgajiivs73l"))))
+ (arguments
+ (substitute-keyword-arguments (package-arguments ffmpeg)
+ ((#:configure-flags flags)
+ `(delete "--enable-libaom" ,flags))))
+ (inputs (alist-delete "libaom"
+ (package-inputs ffmpeg)))))
(define-public ffmpeg-for-stepmania
(hidden-package