Skip to content
Snippets Groups Projects
Commit bd55838e authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Merge branch 'ffmpeg' into 'master'

Add png support to ffmpeg

See merge request !171
parents be89cd2d 4f340bd2
1 merge request!171Add png support to ffmpeg
VERSION=4.0 VERSION=4.0
GIT=https://github.com/FFmpeg/FFmpeg GIT=https://github.com/FFmpeg/FFmpeg
BRANCH=release/$VERSION BRANCH=release/$VERSION
BUILD_DEPENDS=(zlib)
function recipe_version { function recipe_version {
echo "$VERSION" echo "$VERSION"
...@@ -13,13 +14,19 @@ function recipe_update { ...@@ -13,13 +14,19 @@ function recipe_update {
} }
function recipe_build { function recipe_build {
sysroot="$PWD/../sysroot"
export LDFLAGS="-L$sysroot/lib"
export CPPFLAGS="-I$sysroot/include"
./configure \ ./configure \
--enable-cross-compile \ --enable-cross-compile \
--target-os=redox \ --target-os=redox \
--arch=${ARCH} \ --arch=${ARCH} \
--cross_prefix=${HOST}- \ --cross_prefix=${HOST}- \
--prefix=/ \ --prefix=/ \
--disable-network --disable-network \
--enable-zlib \
--enable-encoder=png \
--enable-decoder=png
make make
skip=1 skip=1
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment