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

Enable ffplay

parent 1c296913
No related branches found
No related tags found
No related merge requests found
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) BUILD_DEPENDS=(liborbital llvm mesa sdl2 zlib)
function recipe_version { function recipe_version {
echo "$VERSION" echo "$VERSION"
...@@ -9,9 +9,8 @@ function recipe_version { ...@@ -9,9 +9,8 @@ function recipe_version {
} }
function recipe_build { function recipe_build {
sysroot="$PWD/../sysroot" export CPPFLAGS="-I${COOKBOOK_SYSROOT}/include"
export CPPFLAGS="-I$sysroot/include" export LDFLAGS="-L${COOKBOOK_SYSROOT}/lib -static"
export LDFLAGS="-L$sysroot/lib -static"
./configure \ ./configure \
--enable-cross-compile \ --enable-cross-compile \
--target-os=redox \ --target-os=redox \
...@@ -19,6 +18,7 @@ function recipe_build { ...@@ -19,6 +18,7 @@ function recipe_build {
--cross_prefix=${HOST}- \ --cross_prefix=${HOST}- \
--prefix=/ \ --prefix=/ \
--disable-network \ --disable-network \
--enable-sdl2 \
--enable-zlib \ --enable-zlib \
--enable-encoder=png \ --enable-encoder=png \
--enable-decoder=png --enable-decoder=png
......
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