Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
F
ffmpeg.wasm-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Linshizhi
ffmpeg.wasm-core
Commits
864d124b
Commit
864d124b
authored
Sep 01, 2014
by
Clément Bœsch
Committed by
Clément Bœsch
Sep 15, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: simplify libwebp check
Tested (compilation and runtime) with libwebp 0.2.0, 0.2.1 and 0.4.1.
parent
21561610
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
configure
configure
+1
-3
No files found.
configure
View file @
864d124b
...
...
@@ -4860,9 +4860,7 @@ enabled libvpx && {
enabled libvpx_vp9_decoder
&&
{
check_lib2
"vpx/vpx_decoder.h vpx/vp8dx.h"
"vpx_codec_vp9_dx"
-lvpx
||
disable libvpx_vp9_decoder
;
}
enabled libvpx_vp9_encoder
&&
{
check_lib2
"vpx/vpx_encoder.h vpx/vp8cx.h"
"vpx_codec_vp9_cx VP9E_SET_AQ_MODE"
-lvpx
||
disable libvpx_vp9_encoder
;
}
}
enabled libwavpack
&&
require libwavpack wavpack/wavpack.h WavpackOpenFileOutput
-lwavpack
enabled libwebp
&&
require_pkg_config libwebp webp/encode.h WebPGetEncoderVersion
&&
{
check_code cc webp/encode.h
"WebPPicture wp; wp.use_argb++"
||
die
"ERROR: libwebp too old."
;
}
enabled libwebp
&&
require_pkg_config
"libwebp >= 0.2.0"
webp/encode.h WebPGetEncoderVersion
enabled libx264
&&
require libx264 x264.h x264_encoder_encode
-lx264
&&
{
check_cpp_condition x264.h
"X264_BUILD >= 118"
||
die
"ERROR: libx264 must be installed and version must be >= 0.118."
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment