diff options
author | Karel Kočí <cynerd@email.cz> | 2020-01-28 18:53:43 +0100 |
---|---|---|
committer | Karel Kočí <cynerd@email.cz> | 2020-01-28 18:53:43 +0100 |
commit | 0f494af17e4b7fb3d91e677616528eb796a30713 (patch) | |
tree | e98c190312731a8388b10e278026345e3bdeffc3 | |
parent | 660b0e60f46ddf2e5c5418510c2dd9dddff627cb (diff) | |
download | alpine-personal-pkgs-0f494af17e4b7fb3d91e677616528eb796a30713.tar.gz alpine-personal-pkgs-0f494af17e4b7fb3d91e677616528eb796a30713.tar.bz2 alpine-personal-pkgs-0f494af17e4b7fb3d91e677616528eb796a30713.zip |
ffmpeg: enable OMX
-rw-r--r-- | ffmpeg/APKBUILD | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/ffmpeg/APKBUILD b/ffmpeg/APKBUILD index 442a50f..a40c64b 100644 --- a/ffmpeg/APKBUILD +++ b/ffmpeg/APKBUILD @@ -4,7 +4,7 @@ # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=ffmpeg pkgver=4.2.2 -pkgrel=0 +pkgrel=1 pkgdesc="Complete and free Internet live audio and video broadcasting solution for Linux/Unix" url="https://ffmpeg.org/" arch="all" @@ -106,11 +106,12 @@ esac build() { local _dbg="--disable-debug" - local _asm="" + local _arch_opts="" [ -n "$DEBUG" ] && _dbg="--enable-debug" case "$CARCH" in - x86) _asm="--disable-asm" ;; + x86) _arch_opts="--disable-asm" ;; + aarch64|arm*) _arch_opts="- --enable-omx --enable-omx-rpi --enable-nonfree" ;; esac ./configure \ @@ -140,7 +141,7 @@ build() { --enable-vaapi \ --enable-vdpau \ --enable-libopus \ - $_asm $_aom $_dbg + $_arch_opts $_aom $_dbg make ${CC:-gcc} -o tools/qt-faststart $CFLAGS tools/qt-faststart.c make doc/ffmpeg.1 doc/ffplay.1 |