* update ffmpeg to 2:6.1-3
This commit is contained in:
parent
db61a31303
commit
ede7516e03
@ -1,3 +1,4 @@
|
|||||||
|
# POWER Maintainer: Alexander Baldeck <alex.bldck@gmail.com>
|
||||||
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
|
# Maintainer: Maxime Gauduin <alucryd@archlinux.org>
|
||||||
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
|
||||||
# Contributor: Ionut Biru <ibiru@archlinux.org>
|
# Contributor: Ionut Biru <ibiru@archlinux.org>
|
||||||
@ -6,7 +7,7 @@
|
|||||||
|
|
||||||
pkgname=ffmpeg
|
pkgname=ffmpeg
|
||||||
pkgver=6.1
|
pkgver=6.1
|
||||||
pkgrel=1
|
pkgrel=3
|
||||||
epoch=2
|
epoch=2
|
||||||
pkgdesc='Complete solution to record, convert and stream audio and video'
|
pkgdesc='Complete solution to record, convert and stream audio and video'
|
||||||
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
arch=(x86_64 powerpc64le powerpc64 powerpc riscv64)
|
||||||
@ -16,8 +17,11 @@ depends=(
|
|||||||
alsa-lib
|
alsa-lib
|
||||||
aom
|
aom
|
||||||
bzip2
|
bzip2
|
||||||
|
cairo
|
||||||
fontconfig
|
fontconfig
|
||||||
fribidi
|
fribidi
|
||||||
|
glib2
|
||||||
|
glibc
|
||||||
gmp
|
gmp
|
||||||
gnutls
|
gnutls
|
||||||
gsm
|
gsm
|
||||||
@ -31,14 +35,17 @@ depends=(
|
|||||||
libdrm
|
libdrm
|
||||||
libfreetype.so
|
libfreetype.so
|
||||||
libgl
|
libgl
|
||||||
|
libharfbuzz.so
|
||||||
libiec61883
|
libiec61883
|
||||||
libjxl.so
|
libjxl.so
|
||||||
libmodplug
|
libmodplug
|
||||||
libopenmpt.so
|
libopenmpt.so
|
||||||
|
libplacebo.so
|
||||||
libpulse
|
libpulse
|
||||||
librav1e.so
|
librav1e.so
|
||||||
libraw1394
|
libraw1394
|
||||||
librsvg-2.so
|
librsvg-2.so
|
||||||
|
librubberband.so
|
||||||
libsoxr
|
libsoxr
|
||||||
libssh
|
libssh
|
||||||
libtheora
|
libtheora
|
||||||
@ -65,6 +72,7 @@ depends=(
|
|||||||
openjpeg2
|
openjpeg2
|
||||||
opus
|
opus
|
||||||
sdl2
|
sdl2
|
||||||
|
snappy
|
||||||
speex
|
speex
|
||||||
srt
|
srt
|
||||||
svt-av1
|
svt-av1
|
||||||
@ -81,6 +89,8 @@ makedepends=(
|
|||||||
amf-headers
|
amf-headers
|
||||||
avisynthplus
|
avisynthplus
|
||||||
clang
|
clang
|
||||||
|
ffnvcodec-headers
|
||||||
|
frei0r-plugins
|
||||||
git
|
git
|
||||||
ladspa
|
ladspa
|
||||||
mesa
|
mesa
|
||||||
@ -88,17 +98,15 @@ makedepends=(
|
|||||||
vulkan-headers
|
vulkan-headers
|
||||||
)
|
)
|
||||||
makedepends_x86_64=(
|
makedepends_x86_64=(
|
||||||
ffnvcodec-headers
|
|
||||||
nasm
|
nasm
|
||||||
)
|
)
|
||||||
optdepends=(
|
optdepends=(
|
||||||
'avisynthplus: AviSynthPlus support'
|
'avisynthplus: AviSynthPlus support'
|
||||||
'ladspa: LADSPA filters'
|
'frei0r-plugins: Frei0r video effects support'
|
||||||
)
|
|
||||||
optdepends_x86_64=(
|
|
||||||
'intel-media-sdk: Intel QuickSync support (legacy)'
|
'intel-media-sdk: Intel QuickSync support (legacy)'
|
||||||
'onevpl-intel-gpu: Intel QuickSync support'
|
'ladspa: LADSPA filters'
|
||||||
'nvidia-utils: Nvidia NVDEC/NVENC support'
|
'nvidia-utils: Nvidia NVDEC/NVENC support'
|
||||||
|
'onevpl-intel-gpu: Intel QuickSync support'
|
||||||
)
|
)
|
||||||
provides=(
|
provides=(
|
||||||
libavcodec.so
|
libavcodec.so
|
||||||
@ -112,7 +120,6 @@ provides=(
|
|||||||
)
|
)
|
||||||
options=(
|
options=(
|
||||||
debug
|
debug
|
||||||
!distcc
|
|
||||||
)
|
)
|
||||||
_tag=3cdfac27d3ea06f8719faed48b4ae2e75e94a463
|
_tag=3cdfac27d3ea06f8719faed48b4ae2e75e94a463
|
||||||
source=(
|
source=(
|
||||||
@ -135,6 +142,11 @@ prepare() {
|
|||||||
# use non-deprecated nvenc GUID for conftest
|
# use non-deprecated nvenc GUID for conftest
|
||||||
git cherry-pick -n 03823ac0c6a38bd6ba972539e3203a592579792f
|
git cherry-pick -n 03823ac0c6a38bd6ba972539e3203a592579792f
|
||||||
git cherry-pick -n d2b46c1ef768bc31ba9180f6d469d5b8be677500
|
git cherry-pick -n d2b46c1ef768bc31ba9180f6d469d5b8be677500
|
||||||
|
# Fix VDPAU vo
|
||||||
|
git cherry-pick -n e9c93009fc34ca9dfcf0c6f2ed90ef1df298abf7
|
||||||
|
# Fix bug in av_fft_end
|
||||||
|
git cherry-pick -n a562cfee2e214252f8b3f516527272ae32ef9532
|
||||||
|
git cherry-pick -n 250471ea1745fc703eb346a2a662304536a311b1
|
||||||
|
|
||||||
patch -Np1 -i ../powerpc-altivec.patch
|
patch -Np1 -i ../powerpc-altivec.patch
|
||||||
}
|
}
|
||||||
@ -150,7 +162,6 @@ build() {
|
|||||||
case "${CARCH}" in
|
case "${CARCH}" in
|
||||||
x86_64) _configure_flags=(
|
x86_64) _configure_flags=(
|
||||||
--enable-cuda-llvm
|
--enable-cuda-llvm
|
||||||
--enable-libmfx
|
|
||||||
--enable-nvdec
|
--enable-nvdec
|
||||||
--enable-nvenc
|
--enable-nvenc
|
||||||
--enable-libvpl
|
--enable-libvpl
|
||||||
@ -167,6 +178,7 @@ build() {
|
|||||||
--enable-avisynth \
|
--enable-avisynth \
|
||||||
--enable-lto \
|
--enable-lto \
|
||||||
--enable-fontconfig \
|
--enable-fontconfig \
|
||||||
|
--enable-frei0r \
|
||||||
--enable-gmp \
|
--enable-gmp \
|
||||||
--enable-gnutls \
|
--enable-gnutls \
|
||||||
--enable-gpl \
|
--enable-gpl \
|
||||||
@ -180,6 +192,7 @@ build() {
|
|||||||
--enable-libfreetype \
|
--enable-libfreetype \
|
||||||
--enable-libfribidi \
|
--enable-libfribidi \
|
||||||
--enable-libgsm \
|
--enable-libgsm \
|
||||||
|
--enable-libharfbuzz \
|
||||||
--enable-libiec61883 \
|
--enable-libiec61883 \
|
||||||
--enable-libjack \
|
--enable-libjack \
|
||||||
--enable-libjxl \
|
--enable-libjxl \
|
||||||
@ -190,9 +203,12 @@ build() {
|
|||||||
--enable-libopenjpeg \
|
--enable-libopenjpeg \
|
||||||
--enable-libopenmpt \
|
--enable-libopenmpt \
|
||||||
--enable-libopus \
|
--enable-libopus \
|
||||||
|
--enable-libplacebo \
|
||||||
--enable-libpulse \
|
--enable-libpulse \
|
||||||
--enable-librav1e \
|
--enable-librav1e \
|
||||||
--enable-librsvg \
|
--enable-librsvg \
|
||||||
|
--enable-librubberband \
|
||||||
|
--enable-libsnappy \
|
||||||
--enable-libsoxr \
|
--enable-libsoxr \
|
||||||
--enable-libspeex \
|
--enable-libspeex \
|
||||||
--enable-libsrt \
|
--enable-libsrt \
|
||||||
@ -215,7 +231,7 @@ build() {
|
|||||||
--enable-opengl \
|
--enable-opengl \
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-version3 \
|
--enable-version3 \
|
||||||
--enable-vulkan ${_configure_flags[@]}
|
--enable-vulkan
|
||||||
make
|
make
|
||||||
make tools/qt-faststart
|
make tools/qt-faststart
|
||||||
make doc/ff{mpeg,play}.1
|
make doc/ff{mpeg,play}.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user