From 0f494af17e4b7fb3d91e677616528eb796a30713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Tue, 28 Jan 2020 18:53:43 +0100 Subject: ffmpeg: enable OMX --- ffmpeg/APKBUILD | 9 +++++---- 1 file 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 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 -- cgit v1.2.3