summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Schneider2020-05-05 23:34:33 +0200
committerThomas Schneider2020-05-05 23:34:33 +0200
commit9057ca4d56ae0b73653b5db0f425408bdb61f4f6 (patch)
treed07ae8f86f0240394cb47998b6943d8f9f81bd9a
parent5109be9d1bcdc1d8f49bdb55255f43775c682600 (diff)
downloadaur-9057ca4d56ae0b73653b5db0f425408bdb61f4f6.tar.gz
Obviously he didn't...
What a guy. I wonder if he's single Has to be...
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD10
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 32cb3eb5b42a..6994613265cb 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -73,7 +73,7 @@ pkgbase = ffmpeg-svt
provides = libswscale.so
conflicts = ffmpeg
replaces = ffmpeg
- source = git+https://git.ffmpeg.org/ffmpeg.git#tag=n4.2.2
+ source = ffmpeg::git+https://git.ffmpeg.org/ffmpeg.git#tag=n4.2.2
source = ffmpeg-full-add-svt-hevc-1.4.3.patch::https://raw.githubusercontent.com/OpenVisualCloud/SVT-HEVC/v1.4.3/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch
source = ffmpeg-full-add-svt-hevc-docs-1.4.3.patch::https://raw.githubusercontent.com/OpenVisualCloud/SVT-HEVC/v1.4.3/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.patch
source = ffmpeg-full-add-svt-av1-0.8.2.patch::https://raw.githubusercontent.com/OpenVisualCloud/SVT-AV1/v0.8.2/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch
diff --git a/PKGBUILD b/PKGBUILD
index 84269365fca6..0910e807fb5f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -89,7 +89,8 @@ provides=(
)
replaces=('ffmpeg')
conflicts=('ffmpeg')
-source=(git+https://git.ffmpeg.org/ffmpeg.git#tag=n${pkgver}
+source=(ffmpeg::git+https://git.ffmpeg.org/ffmpeg.git#tag=n${pkgver}
+# ffmpeg-${pkgver}::git+https://git.ffmpeg.org/ffmpeg.git#tag=n${pkgver}
"ffmpeg-full-add-svt-hevc-${_svt_hevc_ver}.patch"::"https://raw.githubusercontent.com/OpenVisualCloud/SVT-HEVC/v${_svt_hevc_ver}/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch"
"ffmpeg-full-add-svt-hevc-docs-${_svt_hevc_ver}.patch"::"https://raw.githubusercontent.com/OpenVisualCloud/SVT-HEVC/v${_svt_hevc_ver}/ffmpeg_plugin/0002-doc-Add-libsvt_hevc-encoder-docs.patch"
"ffmpeg-full-add-svt-av1-${_svt_av1_ver}.patch"::"https://raw.githubusercontent.com/OpenVisualCloud/SVT-AV1/v${_svt_av1_ver}/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch"
@@ -102,9 +103,9 @@ sha256sums=('SKIP'
'7690a4f6bdc4a57e35c7ff5b6e87f2fe6d056d452eff9e767eaccff41832f4d7')
prepare() {
- cd $srcdir/ffmpeg
+ ln -sf $srcdir/ffmpeg $srcdir/ffmpeg-${pkgver}
rm -f "ffmpeg-${pkgver}/libavcodec/"libsvt_{hevc,av1,vp9}.c
- sed -i 's/eb_init_handle/svt_av1_enc_init_handle/' "ffmpeg-full-add-svt-vp9-${_svt_vp9_ver}.patch"
+ sed -i 's/eb_init_handle/svt_av1_enc_init_handle/' "${srcdir}/ffmpeg-full-add-svt-vp9-${_svt_vp9_ver}.patch"
patch -d "ffmpeg-${pkgver}" -Np1 -i "${srcdir}/ffmpeg-full-add-svt-hevc-${_svt_hevc_ver}.patch"
patch -d "ffmpeg-${pkgver}" -Np1 -i "${srcdir}/ffmpeg-full-add-svt-hevc-docs-${_svt_hevc_ver}.patch"
patch -d "ffmpeg-${pkgver}" -Np1 -i "${srcdir}/ffmpeg-full-add-svt-av1-${_svt_av1_ver}.patch"
@@ -159,8 +160,7 @@ build() {
--enable-omx \
--enable-shared \
--enable-version3 \
- --enable-libsvtav1 \
- --enable-rav1e
+ --enable-libsvtav1
make