Add png support to ffmpeg

This commit is contained in:
jD91mZM2 2018-08-10 15:06:51 +02:00
parent be89cd2df8
commit 5f856a8795
No known key found for this signature in database
GPG Key ID: 3055D54729A72666

View File

@ -1,6 +1,7 @@
VERSION=4.0
GIT=https://github.com/FFmpeg/FFmpeg
BRANCH=release/$VERSION
BUILD_DEPENDS=(zlib)
function recipe_version {
echo "$VERSION"
@ -13,13 +14,19 @@ function recipe_update {
}
function recipe_build {
sysroot="$PWD/../sysroot"
export LDFLAGS="-L$sysroot/lib"
export CPPFLAGS="-I$sysroot/include -I$sysroot/include/ncurses"
./configure \
--enable-cross-compile \
--target-os=redox \
--arch=${ARCH} \
--cross_prefix=${HOST}- \
--prefix=/ \
--disable-network
--disable-network \
--enable-zlib \
--enable-encoder=png \
--enable-decoder=png
make
skip=1
}