guix-commits
[Top][All Lists]
Advanced

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

02/02: gnu: FFmpeg: Build with AV1 support.


From: guix-commits
Subject: 02/02: gnu: FFmpeg: Build with AV1 support.
Date: Tue, 5 Mar 2019 18:29:30 -0500 (EST)

lfam pushed a commit to branch master
in repository guix.

commit 84eb265eb8076876d2b569bcdff1e44b44b4b295
Author: Arne Babenhauserheide <address@hidden>
Date:   Tue Mar 5 17:04:00 2019 -0500

    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.
---
 gnu/packages/video.scm | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 4f864a6..de466b9 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



reply via email to

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