Subject: [PATCH] gnu: ffmpeg: add svt-av1 support

From: Andy Tai <[email-masked]>
Date: Wed, 26 Apr 2023 11:11:08 -0700

From 853b4367b37b5f27372d35ab3ae575f06c81cb8a Mon Sep 17 00:00:00 2001
From: Andy Tai <[email-masked]>
Date: Wed, 26 Apr 2023 11:04:47 -0700
Subject: [PATCH] gnu: ffmpeg: add svt-av1 support

* gnu/packages/video.scm (ffmpeg): Add support for svt-av1
  [inputs]: Add svt-av1
  [arguments] (configure-flags): Add "--enable-libsvtav1"
---
 gnu/packages/video.scm | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm
index 838dfe7aab..bc668eb04e 100644
--- a/gnu/packages/video.scm
+++ b/gnu/packages/video.scm
@@ -1631,6 +1631,7 @@ (define-public ffmpeg
             soxr
             speex
             srt
+            svt-av1
             twolame
             vidstab
             x265
@@ -1714,6 +1715,7 @@ (define-public ffmpeg
          "--enable-libsoxr"
          "--enable-libspeex"
          "--enable-libsrt"
+         "--enable-libsvtav1"
          "--enable-libtheora"
          "--enable-libtwolame"
          "--enable-libvidstab"
@@ -2204,7 +2206,7 @@ (define-public mpv
           (add-after 'unpack 'patch-file-names
             (lambda* (#:key inputs #:allow-other-keys)
               (substitute* "player/lua/ytdl_hook.lua"
-		(("\"yt-dlp\",")
+        (("\"yt-dlp\",")
                  (string-append
                   "\"" (search-input-file inputs "bin/yt-dlp") "\",")))))
           (add-before 'configure 'build-reproducibly
@@ -5626,7 +5628,7 @@ (define-public video-contact-sheet
    (source (origin
             (method url-fetch)
             (uri (string-append "http://p.outlyer.net/vcs/files/vcs-" version
-				".tar.gz"))
+                ".tar.gz"))
             (sha256
              (base32
               "0jsl93r0rnybjcipqbww5hwsr9ln6kz1qnf32qfxdvhfw52n27fw"))))

base-commit: e86851ccb3df1e87efca7138ee8d055a30832a4e
-- 
2.40.1