Skip to content
Snippets Groups Projects

Add png support to ffmpeg

Merged jD91mZM2 requested to merge jD91mZM2/cookbook:ffmpeg into master
All threads resolved!
1 file
+ 8
1
Compare changes
  • Side-by-side
  • Inline
+ 8
1
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
}
}
Loading