summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Bermond2019-06-01 13:33:33 +0000
committerDaniel Bermond2019-06-01 13:48:06 +0000
commit2114cb1fc12fdf62e5103f62661db81fd30e409e (patch)
treea4a3268442a7b00dd1e30e34a09dbfb7787f5d9b
parent965cce06a776bf3045b2b94acc7bbb038983f2c6 (diff)
downloadaur-2114cb1fc12fdf62e5103f62661db81fd30e409e.tar.gz
Add intel-svt support only on x86_64
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD40
2 files changed, 33 insertions, 31 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 48c28462726..16f39a14df0 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 nvenc, qsv and libfdk-aac; git version)
- pkgver = 4.2.r93953.g5a6fc87443
+ pkgver = 4.2.r93954.g76ef18fd39
pkgrel = 1
url = https://www.ffmpeg.org/
arch = i686
@@ -99,9 +99,6 @@ pkgbase = ffmpeg-full-git
depends = openh264
depends = libopenmpt-svn
depends = shine
- depends = intel-svt-hevc
- depends = intel-svt-av1
- depends = svt-vp9-git
depends = vo-amrwbenc
depends = xavs
depends = xavs2
@@ -122,20 +119,23 @@ pkgbase = ffmpeg-full-git
provides = ffmpeg-git
conflicts = ffmpeg
source = git+https://git.ffmpeg.org/ffmpeg.git
- source = ffmpeg-full-git-add-intel-svt-hevc.patch::https://raw.githubusercontent.com/OpenVisualCloud/SVT-HEVC/v1.3.0/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch
- source = ffmpeg-full-git-add-intel-svt-hevc-docs.patch
- source = ffmpeg-full-git-add-intel-svt-av1.patch::https://raw.githubusercontent.com/OpenVisualCloud/SVT-AV1/v0.5.0/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch
- source = ffmpeg-full-git-add-intel-svt-vp9.patch::https://raw.githubusercontent.com/OpenVisualCloud/SVT-VP9/9c96f478e4a281f6019c8b0de39c2b7caba56371/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-vp9-with-svt-hevc-av1.patch
source = LICENSE
sha256sums = SKIP
- sha256sums = cc8ba4ff56cdb38a59650203999c4c8c83fc40bdb905b87b678ff68a4538444d
- sha256sums = d6f29cbe57cba0fdfcb97111aa089154509db3a7bfdfa7f978692b68652e6fb5
- sha256sums = 490952c315404ecaa633d55cdb3456d1e518180c8375f374f3fb85d226fff476
- sha256sums = 7690a4f6bdc4a57e35c7ff5b6e87f2fe6d056d452eff9e767eaccff41832f4d7
sha256sums = 04a7176400907fd7db0d69116b99de49e582a6e176b3bfb36a03e50a4cb26a36
+ source_x86_64 = ffmpeg-full-git-add-intel-svt-hevc.patch::https://raw.githubusercontent.com/OpenVisualCloud/SVT-HEVC/v1.3.0/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch
+ source_x86_64 = ffmpeg-full-git-add-intel-svt-hevc-docs.patch
+ source_x86_64 = ffmpeg-full-git-add-intel-svt-av1.patch::https://raw.githubusercontent.com/OpenVisualCloud/SVT-AV1/v0.5.0/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch
+ source_x86_64 = ffmpeg-full-git-add-intel-svt-vp9.patch::https://raw.githubusercontent.com/OpenVisualCloud/SVT-VP9/9c96f478e4a281f6019c8b0de39c2b7caba56371/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-vp9-with-svt-hevc-av1.patch
depends_x86_64 = cuda
+ depends_x86_64 = intel-svt-hevc
+ depends_x86_64 = intel-svt-av1
+ depends_x86_64 = svt-vp9-git
depends_x86_64 = intel-media-sdk
makedepends_x86_64 = vmaf
+ sha256sums_x86_64 = cc8ba4ff56cdb38a59650203999c4c8c83fc40bdb905b87b678ff68a4538444d
+ sha256sums_x86_64 = d6f29cbe57cba0fdfcb97111aa089154509db3a7bfdfa7f978692b68652e6fb5
+ sha256sums_x86_64 = 490952c315404ecaa633d55cdb3456d1e518180c8375f374f3fb85d226fff476
+ sha256sums_x86_64 = 7690a4f6bdc4a57e35c7ff5b6e87f2fe6d056d452eff9e767eaccff41832f4d7
pkgname = ffmpeg-full-git
diff --git a/PKGBUILD b/PKGBUILD
index 5a637081651..5bfe5d7ba29 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ffmpeg-full-git
_srcname=ffmpeg
-pkgver=4.2.r93953.g5a6fc87443
+pkgver=4.2.r93954.g76ef18fd39
pkgrel=1
pkgdesc='Complete solution to record, convert and stream audio and video (all possible features including nvenc, qsv and libfdk-aac; git version)'
arch=('i686' 'x86_64')
@@ -23,15 +23,14 @@ depends=(
'zlib' 'libomxil-bellagio' 'libva' 'libdrm' 'libvdpau'
# AUR:
'chromaprint-fftw' 'dav1d-git' 'codec2' 'davs2' 'flite1-patched' 'libilbc'
- 'libklvanc-git' 'kvazaar' 'openh264' 'libopenmpt-svn' 'shine' 'intel-svt-hevc'
- 'intel-svt-av1' 'svt-vp9-git' 'vo-amrwbenc' 'xavs' 'xavs2' 'libmysofa'
- 'pocketsphinx' 'rockchip-mpp'
+ 'libklvanc-git' 'kvazaar' 'openh264' 'libopenmpt-svn' 'shine' 'vo-amrwbenc'
+ 'xavs' 'xavs2' 'libmysofa' 'pocketsphinx' 'rockchip-mpp'
)
depends_x86_64=(
# official repositories:
'cuda'
# AUR:
- 'intel-media-sdk'
+ 'intel-svt-hevc' 'intel-svt-av1' 'svt-vp9-git' 'intel-media-sdk'
)
makedepends=(
# official repositories:
@@ -48,26 +47,29 @@ provides=('libavcodec.so' 'libavdevice.so' 'libavfilter.so' 'libavformat.so'
'libswresample.so' 'ffmpeg' 'ffmpeg-full' 'ffmpeg-git')
conflicts=('ffmpeg')
source=('git+https://git.ffmpeg.org/ffmpeg.git'
- 'ffmpeg-full-git-add-intel-svt-hevc.patch'::'https://raw.githubusercontent.com/OpenVisualCloud/SVT-HEVC/v1.3.0/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch'
- 'ffmpeg-full-git-add-intel-svt-hevc-docs.patch'
- 'ffmpeg-full-git-add-intel-svt-av1.patch'::'https://raw.githubusercontent.com/OpenVisualCloud/SVT-AV1/v0.5.0/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch'
- 'ffmpeg-full-git-add-intel-svt-vp9.patch'::'https://raw.githubusercontent.com/OpenVisualCloud/SVT-VP9/9c96f478e4a281f6019c8b0de39c2b7caba56371/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-vp9-with-svt-hevc-av1.patch'
'LICENSE')
+source_x86_64=('ffmpeg-full-git-add-intel-svt-hevc.patch'::'https://raw.githubusercontent.com/OpenVisualCloud/SVT-HEVC/v1.3.0/ffmpeg_plugin/0001-lavc-svt_hevc-add-libsvt-hevc-encoder-wrapper.patch'
+ 'ffmpeg-full-git-add-intel-svt-hevc-docs.patch'
+ 'ffmpeg-full-git-add-intel-svt-av1.patch'::'https://raw.githubusercontent.com/OpenVisualCloud/SVT-AV1/v0.5.0/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-av1-with-svt-hevc.patch'
+ 'ffmpeg-full-git-add-intel-svt-vp9.patch'::'https://raw.githubusercontent.com/OpenVisualCloud/SVT-VP9/9c96f478e4a281f6019c8b0de39c2b7caba56371/ffmpeg_plugin/0001-Add-ability-for-ffmpeg-to-run-svt-vp9-with-svt-hevc-av1.patch')
sha256sums=('SKIP'
- 'cc8ba4ff56cdb38a59650203999c4c8c83fc40bdb905b87b678ff68a4538444d'
- 'd6f29cbe57cba0fdfcb97111aa089154509db3a7bfdfa7f978692b68652e6fb5'
- '490952c315404ecaa633d55cdb3456d1e518180c8375f374f3fb85d226fff476'
- '7690a4f6bdc4a57e35c7ff5b6e87f2fe6d056d452eff9e767eaccff41832f4d7'
'04a7176400907fd7db0d69116b99de49e582a6e176b3bfb36a03e50a4cb26a36')
+sha256sums_x86_64=('cc8ba4ff56cdb38a59650203999c4c8c83fc40bdb905b87b678ff68a4538444d'
+ 'd6f29cbe57cba0fdfcb97111aa089154509db3a7bfdfa7f978692b68652e6fb5'
+ '490952c315404ecaa633d55cdb3456d1e518180c8375f374f3fb85d226fff476'
+ '7690a4f6bdc4a57e35c7ff5b6e87f2fe6d056d452eff9e767eaccff41832f4d7')
prepare() {
cd "$_srcname"
# add intel-svt support for hevc, av1 and vp9
- patch -Np1 -i "${srcdir}/ffmpeg-full-git-add-intel-svt-hevc.patch"
- patch -Np1 -i "${srcdir}/ffmpeg-full-git-add-intel-svt-hevc-docs.patch"
- patch -Np1 -i "${srcdir}/ffmpeg-full-git-add-intel-svt-av1.patch"
- patch -Np1 -i "${srcdir}/ffmpeg-full-git-add-intel-svt-vp9.patch"
+ if [ "$CARCH" = 'x86_64' ]
+ then
+ patch -Np1 -i "${srcdir}/ffmpeg-full-git-add-intel-svt-hevc.patch"
+ patch -Np1 -i "${srcdir}/ffmpeg-full-git-add-intel-svt-hevc-docs.patch"
+ patch -Np1 -i "${srcdir}/ffmpeg-full-git-add-intel-svt-av1.patch"
+ patch -Np1 -i "${srcdir}/ffmpeg-full-git-add-intel-svt-vp9.patch"
+ fi
}
pkgver() {
@@ -91,7 +93,7 @@ build() {
if [ "$CARCH" = 'x86_64' ]
then
local _libvmaf='--enable-libvmaf'
- local _cudasdk='--enable-cuda-nvcc'
+ local _cudanvcc='--enable-cuda-nvcc'
local _libmfx='--enable-libmfx'
local _libnpp='--enable-libnpp'
@@ -230,7 +232,7 @@ build() {
--enable-xlib \
--enable-zlib \
\
- $_cudasdk \
+ $_cudanvcc \
--enable-cuvid \
--enable-ffnvcodec \
--enable-libdrm \