* sync ffmpeg with main arch
This commit is contained in:
parent
e2fefa26df
commit
11f484231b
@ -7,7 +7,7 @@
|
||||
|
||||
pkgname=ffmpeg
|
||||
pkgver=4.2.2
|
||||
pkgrel=6
|
||||
pkgrel=8
|
||||
epoch=1
|
||||
pkgdesc='Complete solution to record, convert and stream audio and video'
|
||||
arch=(x86_64 powerpc64le)
|
||||
@ -60,6 +60,7 @@ depends=(
|
||||
opus
|
||||
sdl2
|
||||
speex
|
||||
srt
|
||||
v4l-utils
|
||||
xz
|
||||
zlib
|
||||
@ -69,7 +70,9 @@ makedepends=(
|
||||
git
|
||||
ladspa
|
||||
)
|
||||
optdepends=('ladspa: LADSPA filters')
|
||||
optdepends=(
|
||||
'ladspa: LADSPA filters'
|
||||
)
|
||||
provides=(
|
||||
libavcodec.so
|
||||
libavdevice.so
|
||||
@ -80,8 +83,10 @@ provides=(
|
||||
libswresample.so
|
||||
libswscale.so
|
||||
)
|
||||
source=(git+https://git.ffmpeg.org/ffmpeg.git#tag=192d1d34eb3668fa27f433e96036340e1e5077a0)
|
||||
sha256sums=(SKIP)
|
||||
source=(git+https://git.ffmpeg.org/ffmpeg.git#tag=192d1d34eb3668fa27f433e96036340e1e5077a0
|
||||
vmaf-model-path.patch)
|
||||
sha256sums=('SKIP'
|
||||
'8dff51f84a5f7460f8893f0514812f5d2bd668c3276ef7ab7713c99b71d7bd8d')
|
||||
|
||||
pkgver() {
|
||||
cd ffmpeg
|
||||
@ -93,11 +98,12 @@ prepare() {
|
||||
cd ffmpeg
|
||||
|
||||
git cherry-pick -n dc0806dd25882f41f6085c8356712f95fded56c7
|
||||
|
||||
patch -Np1 -i "${srcdir}/vmaf-model-path.patch"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd ffmpeg
|
||||
|
||||
if [ "${CARCH}" = "powerpc64le" ]; then
|
||||
EXTRA_CONFIGURE_FLAGS="--enable-vsx --enable-altivec --enable-power8"
|
||||
fi
|
||||
@ -131,6 +137,7 @@ build() {
|
||||
--enable-libpulse \
|
||||
--enable-libsoxr \
|
||||
--enable-libspeex \
|
||||
--enable-libsrt \
|
||||
--enable-libssh \
|
||||
--enable-libtheora \
|
||||
--enable-libv4l2 \
|
||||
|
Loading…
x
Reference in New Issue
Block a user