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
ffb9025f
Commit
ffb9025f
authored
Dec 04, 2016
by
Diego Biurrun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure: Simplify MMAL check
parent
660470cd
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
7 deletions
+6
-7
configure
configure
+6
-7
No files found.
configure
View file @
ffb9025f
...
...
@@ -4678,13 +4678,12 @@ enabled libx265 && require_pkg_config x265 x265.h x265_api_get &&
enabled libxavs
&&
require libxavs
"stdint.h xavs.h"
xavs_encoder_encode
-lxavs
enabled libxvid
&&
require libxvid xvid.h xvid_global
-lxvidcore
enabled mmal
&&
{
check_lib interface/mmal/mmal.h mmal_port_connect
-lmmal_core
-lmmal_util
-lmmal_vc_client
-lbcm_host
||
{
!
enabled cross_compile
&&
{
add_cflags
-isystem
/opt/vc/include/
-isystem
/opt/vc/include/interface/vmcs_host/linux
-isystem
/opt/vc/include/interface/vcos/pthreads
-fgnu89-inline
;
add_extralibs
-L
/opt/vc/lib/
-lmmal_core
-lmmal_util
-lmmal_vc_client
-lbcm_host
;
check_lib interface/mmal/mmal.h mmal_port_connect
;
}
check_lib interface/mmal/mmal.h mmal_port_connect
;
}
||
die
"ERROR: mmal not found"
;
}
enabled mmal
&&
check_func_headers interface/mmal/mmal.h
"MMAL_PARAMETER_VIDEO_MAX_NUM_CALLBACKS"
{
!
enabled cross_compile
&&
add_cflags
-isystem
/opt/vc/include/
-isystem
/opt/vc/include/interface/vmcs_host/linux
-isystem
/opt/vc/include/interface/vcos/pthreads
-fgnu89-inline
&&
add_ldflags
-L
/opt/vc/lib/
&&
check_lib interface/mmal/mmal.h mmal_port_connect
-lmmal_core
-lmmal_util
-lmmal_vc_client
-lbcm_host
;
}
||
die
"ERROR: mmal not found"
&&
check_func_headers interface/mmal/mmal.h
"MMAL_PARAMETER_VIDEO_MAX_NUM_CALLBACKS"
;
}
enabled omx_rpi
&&
enable
omx
enabled omx
&&
{
check_header OMX_Core.h
||
{
!
enabled cross_compile
&&
enabled omx_rpi
&&
{
...
...
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