mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-20 03:44:18 +08:00
Merge branch 'ffmpeg' into 'master'
Add png support to ffmpeg See merge request redox-os/cookbook!171
This commit is contained in:
commit
bd55838ee9
@ -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"
|
||||
./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
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user