summaryrefslogtreecommitdiff
path: root/libre-testing
diff options
context:
space:
mode:
authorFreemor <freemor@freemor.ca>2020-05-04 11:03:21 -0300
committerFreemor <freemor@freemor.ca>2020-05-04 11:03:21 -0300
commit60cea9d5505dc314ca0dadc17d83e8696df71261 (patch)
tree0cd0c86e64bfcf59cd1b5c4722df774ab286b26b /libre-testing
parent28db1b962323496d7cedb6a8ed5440a8e670df39 (diff)
downloadabslibre-60cea9d5505dc314ca0dadc17d83e8696df71261.tar.gz
abslibre-60cea9d5505dc314ca0dadc17d83e8696df71261.tar.bz2
abslibre-60cea9d5505dc314ca0dadc17d83e8696df71261.zip
Bump [libre-testing/ffmpeg]
Bump version Add the rest of the logic for ARM builds - ARM builds with error: semop(1): encountered an error: Function not implemented Possibly unrelated to the PKGBUILD.
Diffstat (limited to 'libre-testing')
-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