From 5f856a87950408c480e79ac4c2337c4e4075284c Mon Sep 17 00:00:00 2001 From: jD91mZM2 <me@krake.one> Date: Fri, 10 Aug 2018 15:06:51 +0200 Subject: [PATCH] Add png support to ffmpeg --- recipes/ffmpeg/recipe.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/recipes/ffmpeg/recipe.sh b/recipes/ffmpeg/recipe.sh index 7454e41fa..93ab89c39 100644 --- a/recipes/ffmpeg/recipe.sh +++ b/recipes/ffmpeg/recipe.sh @@ -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 } -- GitLab