summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre-testing/ffmpeg/PKGBUILD57
1 files changed, 54 insertions, 3 deletions
diff --git a/libre-testing/ffmpeg/PKGBUILD b/libre-testing/ffmpeg/PKGBUILD
index dcf05b065..037a0b529 100644
--- a/libre-testing/ffmpeg/PKGBUILD
+++ b/libre-testing/ffmpeg/PKGBUILD
@@ -8,8 +8,8 @@
pkgname=ffmpeg
pkgver=4.2.2
-pkgrel=5
-pkgrel+=parabola1
+pkgrel=6
+pkgrel+=.parabola1
epoch=1
pkgdesc='Complete solution to record, convert and stream audio and video'
arch=('x86_64' 'i686' 'armv7h')
@@ -33,7 +33,6 @@ depends=(
libdrm
libfreetype.so
libiec61883
- libmfx
libmodplug
libomxil-bellagio
libpulse
@@ -67,6 +66,11 @@ depends=(
xz
zlib
)
+if [ "$CARCH" != "armv7h" ]; then
+ depends+=(libmfx)
+fi
+
+
makedepends=(
git
ladspa
@@ -104,6 +108,7 @@ prepare() {
build() {
cd ffmpeg
+if [ "$CARCH" != "armv7h" ]; then
./configure \
--prefix=/usr \
--disable-debug \
@@ -149,6 +154,52 @@ build() {
--enable-omx \
--enable-shared \
--enable-version3
+else
+ ./configure \
+ --prefix=/usr \
+ --disable-debug \
+ --disable-static \
+ --disable-stripping \
+ --enable-fontconfig \
+ --enable-gmp \
+ --enable-gnutls \
+ --enable-gpl \
+ --enable-ladspa \
+ --enable-libaom \
+ --enable-libass \
+ --enable-libbluray \
+ --enable-libdav1d \
+ --enable-libdrm \
+ --enable-libfreetype \
+ --enable-libfribidi \
+ --enable-libgsm \
+ --enable-libiec61883 \
+ --enable-libjack \
+ --enable-libmodplug \
+ --enable-libmp3lame \
+ --enable-libopencore_amrnb \
+ --enable-libopencore_amrwb \
+ --enable-libopenjpeg \
+ --enable-libopus \
+ --enable-libpulse \
+ --enable-libsoxr \
+ --enable-libspeex \
+ --enable-libssh \
+ --enable-libtheora \
+ --enable-libv4l2 \
+ --enable-libvidstab \
+ --enable-libvorbis \
+ --enable-libvpx \
+ --enable-libwebp \
+ --enable-libx264 \
+ --enable-libx265 \
+ --enable-libxcb \
+ --enable-libxml2 \
+ --enable-libxvid \
+ --enable-omx \
+ --enable-shared \
+ --enable-version3
+fi
make
make tools/qt-faststart