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