Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
C
cookbook
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
redox-os
cookbook
Merge requests
!171
Add png support to ffmpeg
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Add png support to ffmpeg
jD91mZM2/cookbook:ffmpeg
into
master
Overview
2
Commits
2
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Merged
jD91mZM2
requested to merge
jD91mZM2/cookbook:ffmpeg
into
master
6 years ago
Overview
2
Commits
2
Pipelines
0
Changes
1
All threads resolved!
Hide all comments
Expand
1
0
Merge request reports
Compare
master
version 1
5f856a87
6 years ago
master (base)
and
latest version
latest version
4f340bd2
2 commits,
6 years ago
version 1
5f856a87
1 commit,
6 years ago
1 file
+
8
−
1
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
recipes/ffmpeg/recipe.sh
+
8
−
1
Options
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