summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2024-04-04 13:09:55 -0300
committerDaniel Bermond2024-04-04 13:09:55 -0300
commit055dd84ee1436d3591fadd4c3911037c66736d44 (patch)
tree989a7ec985465d7c08458c18b3f4ed9a7c827e61
parent0a1418cb9a864f9c0458c711a5bad758e5dc3e85 (diff)
downloadaur-055dd84ee1436d3591fadd4c3911037c66736d44.tar.gz
Update svt hevc/vp9 patches. New upstream option: libquirc.
References ---------- https://git.ffmpeg.org/gitweb/ffmpeg.git/commit/030e1401451200566a5303f35cbe1456e31dd81e
-rw-r--r--.SRCINFO17
-rw-r--r--011-ffmpeg-add-svt-hevc-g78bcaa7.patch10
-rw-r--r--031-ffmpeg-add-svt-vp9-g3ecdf8f.patch10
-rw-r--r--PKGBUILD18
4 files changed, 14 insertions, 41 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 449cff19162c..60623ff78464 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = ffmpeg-full-git
pkgdesc = Complete solution to record, convert and stream audio and video (all possible features including libfdk-aac; git version)
- pkgver = 6.2.r114545.g199c479b9a
+ pkgver = 6.2.r114669.g240fd04db2
pkgrel = 1
url = https://www.ffmpeg.org/
arch = x86_64
@@ -91,6 +91,7 @@ pkgbase = ffmpeg-full-git
depends = openvino
depends = opus
depends = qrencode
+ depends = quirc
depends = rav1e
depends = rtmpdump
depends = rubberband
@@ -145,20 +146,16 @@ pkgbase = ffmpeg-full-git
provides = ffmpeg-git
conflicts = ffmpeg
source = git+https://git.ffmpeg.org/ffmpeg.git
- source = 010-ffmpeg-add-svt-hevc-g78bcaa7.patch::https://raw.githubusercontent.com/OpenVisualCloud/SVT-HEVC/78bcaa7bdefa0dd593149517ce41842d528d596f/ffmpeg_plugin/master-0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch
- source = 011-ffmpeg-add-svt-hevc-g78bcaa7.patch
- source = 020-ffmpeg-add-svt-hevc-docs-g78bcaa7.patch::https://raw.githubusercontent.com/OpenVisualCloud/SVT-HEVC/78bcaa7bdefa0dd593149517ce41842d528d596f/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.patch
- source = 030-ffmpeg-add-svt-vp9-g3ecdf8f.patch::https://raw.githubusercontent.com/OpenVisualCloud/SVT-VP9/3ecdf8f88037367e175198adda6e43662129af0b/ffmpeg_plugin/master-0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch
- source = 031-ffmpeg-add-svt-vp9-g3ecdf8f.patch
+ source = 010-ffmpeg-add-svt-hevc-ged80959.patch::https://raw.githubusercontent.com/OpenVisualCloud/SVT-HEVC/ed80959ebb5586aa7763c91a397d44be1798587c/ffmpeg_plugin/master-0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch
+ source = 020-ffmpeg-add-svt-hevc-docs-ged80959.patch::https://raw.githubusercontent.com/OpenVisualCloud/SVT-HEVC/ed80959ebb5586aa7763c91a397d44be1798587c/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.patch
+ source = 030-ffmpeg-add-svt-vp9-g3b9a3fa.patch::https://raw.githubusercontent.com/OpenVisualCloud/SVT-VP9/3b9a3fa43da4cc5fe60c7d22afe2be15341392ea/ffmpeg_plugin/master-0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch
source = 040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch
source = 060-ffmpeg-fix-segfault-with-avisynthplus.patch
source = LICENSE
sha256sums = SKIP
- sha256sums = 0d02cd40a3e742cae2f1af87025e2a4f68644a86cc1f4b67af125e0bb0c53332
- sha256sums = dccab7d1ad9bc7950b07b4a3f971bd57de922b56448ef702a5cc2b2755b6f965
+ sha256sums = 9047e18d34716812d4ea7eafc1d0fd8b376d922a4b6b4dc20237662fcaf0c996
sha256sums = a164ebdc4d281352bf7ad1b179aae4aeb33f1191c444bed96cb8ab333c046f81
- sha256sums = 81daf4d5ecfd505f4492981af5105d2786368be21d29329dd244d6c455c945c7
- sha256sums = e350b586a57706895ce3608c7bc456422a3f9b8e154db25298abe237640aa2c3
+ sha256sums = 59da61f2b2c556fbe0cdbf84bcc00977ee3d2447085decb21f6298226559f2aa
sha256sums = b54b47f4f3837ddc41227bd2202ea3c62e2ddb06c6cfbd7a9adc304d641d79ba
sha256sums = 0e277c0d5e33612ca7a11025958133b17bfbe23168b0aee5bd07f674f6fd7440
sha256sums = 04a7176400907fd7db0d69116b99de49e582a6e176b3bfb36a03e50a4cb26a36
diff --git a/011-ffmpeg-add-svt-hevc-g78bcaa7.patch b/011-ffmpeg-add-svt-hevc-g78bcaa7.patch
deleted file mode 100644
index 6391fc0bc67d..000000000000
--- a/011-ffmpeg-add-svt-hevc-g78bcaa7.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/libavcodec/libsvt_hevc.c
-+++ b/libavcodec/libsvt_hevc.c
-@@ -24,6 +24,7 @@
-
- #include "libavutil/common.h"
- #include "libavutil/frame.h"
-+#include "libavutil/mem.h"
- #include "libavutil/opt.h"
-
- #include "codec_internal.h"
diff --git a/031-ffmpeg-add-svt-vp9-g3ecdf8f.patch b/031-ffmpeg-add-svt-vp9-g3ecdf8f.patch
deleted file mode 100644
index ee3d673be741..000000000000
--- a/031-ffmpeg-add-svt-vp9-g3ecdf8f.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- a/libavcodec/libsvt_vp9.c
-+++ b/libavcodec/libsvt_vp9.c
-@@ -26,6 +26,7 @@
-
- #include "libavutil/common.h"
- #include "libavutil/frame.h"
-+#include "libavutil/mem.h"
- #include "libavutil/opt.h"
- #include "libavcodec/get_bits.h"
-
diff --git a/PKGBUILD b/PKGBUILD
index 4e6db08425e2..4a5c7553a2fb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,10 +1,10 @@
# Maintainer: Daniel Bermond <dbermond@archlinux.org>
pkgname=ffmpeg-full-git
-pkgver=6.2.r114545.g199c479b9a
+pkgver=6.2.r114669.g240fd04db2
pkgrel=1
-_svt_hevc_ver='78bcaa7bdefa0dd593149517ce41842d528d596f'
-_svt_vp9_ver='3ecdf8f88037367e175198adda6e43662129af0b'
+_svt_hevc_ver='ed80959ebb5586aa7763c91a397d44be1798587c'
+_svt_vp9_ver='3b9a3fa43da4cc5fe60c7d22afe2be15341392ea'
pkgdesc='Complete solution to record, convert and stream audio and video (all possible features including libfdk-aac; git version)'
arch=('x86_64')
url='https://www.ffmpeg.org/'
@@ -88,6 +88,7 @@ depends=(
'openvino'
'opus'
'qrencode'
+ 'quirc'
'rav1e'
'rtmpdump'
'rubberband'
@@ -140,19 +141,15 @@ source=('git+https://git.ffmpeg.org/ffmpeg.git'
#"005-ffmpeg-add-svt-hevc-g${_svt_hevc_ver:0:7}.patch"
#"006-ffmpeg-add-svt-vp9-g${_svt_vp9_ver:0:7}.patch"
"010-ffmpeg-add-svt-hevc-g${_svt_hevc_ver:0:7}.patch"::"https://raw.githubusercontent.com/OpenVisualCloud/SVT-HEVC/${_svt_hevc_ver}/ffmpeg_plugin/master-0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch"
- "011-ffmpeg-add-svt-hevc-g${_svt_hevc_ver:0:7}.patch"
"020-ffmpeg-add-svt-hevc-docs-g${_svt_hevc_ver:0:7}.patch"::"https://raw.githubusercontent.com/OpenVisualCloud/SVT-HEVC/${_svt_hevc_ver}/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.patch"
"030-ffmpeg-add-svt-vp9-g${_svt_vp9_ver:0:7}.patch"::"https://raw.githubusercontent.com/OpenVisualCloud/SVT-VP9/${_svt_vp9_ver}/ffmpeg_plugin/master-0001-Add-ability-for-ffmpeg-to-run-svt-vp9.patch"
- "031-ffmpeg-add-svt-vp9-g${_svt_vp9_ver:0:7}.patch"
'040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch'
'060-ffmpeg-fix-segfault-with-avisynthplus.patch'
'LICENSE')
sha256sums=('SKIP'
- '0d02cd40a3e742cae2f1af87025e2a4f68644a86cc1f4b67af125e0bb0c53332'
- 'dccab7d1ad9bc7950b07b4a3f971bd57de922b56448ef702a5cc2b2755b6f965'
+ '9047e18d34716812d4ea7eafc1d0fd8b376d922a4b6b4dc20237662fcaf0c996'
'a164ebdc4d281352bf7ad1b179aae4aeb33f1191c444bed96cb8ab333c046f81'
- '81daf4d5ecfd505f4492981af5105d2786368be21d29329dd244d6c455c945c7'
- 'e350b586a57706895ce3608c7bc456422a3f9b8e154db25298abe237640aa2c3'
+ '59da61f2b2c556fbe0cdbf84bcc00977ee3d2447085decb21f6298226559f2aa'
'b54b47f4f3837ddc41227bd2202ea3c62e2ddb06c6cfbd7a9adc304d641d79ba'
'0e277c0d5e33612ca7a11025958133b17bfbe23168b0aee5bd07f674f6fd7440'
'04a7176400907fd7db0d69116b99de49e582a6e176b3bfb36a03e50a4cb26a36')
@@ -166,10 +163,8 @@ prepare() {
# "030-ffmpeg-add-svt-vp9-g${_svt_vp9_ver:0:7}.patch"
#patch -Np1 -i "006-ffmpeg-add-svt-vp9-g${_svt_vp9_ver:0:7}.patch"
patch -d ffmpeg -Np1 -i "${srcdir}/010-ffmpeg-add-svt-hevc-g${_svt_hevc_ver:0:7}.patch"
- patch -d ffmpeg -Np1 -i "${srcdir}/011-ffmpeg-add-svt-hevc-g${_svt_hevc_ver:0:7}.patch"
patch -d ffmpeg -Np1 -i "${srcdir}/020-ffmpeg-add-svt-hevc-docs-g${_svt_hevc_ver:0:7}.patch"
patch -d ffmpeg -Np1 -i "${srcdir}/030-ffmpeg-add-svt-vp9-g${_svt_vp9_ver:0:7}.patch"
- patch -d ffmpeg -Np1 -i "${srcdir}/031-ffmpeg-add-svt-vp9-g${_svt_vp9_ver:0:7}.patch"
patch -d ffmpeg -Np1 -i "${srcdir}/040-ffmpeg-add-av_stream_get_first_dts-for-chromium.patch"
patch -d ffmpeg -Np1 -i "${srcdir}/060-ffmpeg-fix-segfault-with-avisynthplus.patch"
}
@@ -255,6 +250,7 @@ build() {
--enable-libplacebo \
--enable-libpulse \
--enable-libqrencode \
+ --enable-libquirc \
--enable-librabbitmq \
--enable-librav1e \
--enable-librist \