blob: ab6f139af6320f7a97c77e472ac31d436fc62d50 [file] [log] [blame]
Andrew Geissler517393d2023-01-13 08:55:19 -06001Upstream-Status: Inappropriate
2
3RPI-Distro repo clones original ffmpeg and applies patches to enable
4raspiberry pi support.
5
6--- a/configure
7+++ b/configure
8@@ -6471,11 +6471,9 @@ enabled mbedtls && { check_pkg
9 die "ERROR: mbedTLS not found"; }
10 enabled mediacodec && { enabled jni || die "ERROR: mediacodec requires --enable-jni"; }
11 ( enabled rpi ||
12- enabled mmal ) && { check_lib mmal interface/mmal/mmal.h mmal_port_connect -lmmal_core -lmmal_util -lmmal_vc_client -lbcm_host ||
13- { ! enabled cross_compile &&
14- add_cflags -isystem/opt/vc/include/ -isystem/opt/vc/include/interface/vmcs_host/linux -isystem/opt/vc/include/interface/vcos/pthreads -fgnu89-inline &&
15- add_ldflags -L/opt/vc/lib/ &&
16- check_lib mmal interface/mmal/mmal.h mmal_port_connect -lmmal_core -lmmal_util -lmmal_vc_client -lbcm_host -lvcos -lvcsm -lvchostif -lvchiq_arm; } ||
17+ enabled mmal ) && { { add_cflags -isystem/opt/vc/include/ -isystem/opt/vc/include/interface/vmcs_host/linux -isystem/opt/vc/include/interface/vcos/pthreads -fgnu89-inline &&
18+ add_ldflags -L/opt/vc/lib/ &&
19+ check_lib mmal interface/mmal/mmal.h mmal_port_connect -lmmal_core -lmmal_util -lmmal_vc_client -lbcm_host -lvcsm -lvchostif -lvchiq_arm -lvcos; } ||
20 die "ERROR: mmal not found" &&
21 check_func_headers interface/mmal/mmal.h "MMAL_PARAMETER_VIDEO_MAX_NUM_CALLBACKS"; }
22 enabled openal && { { for al_extralibs in "${OPENAL_LIBS}" "-lopenal" "-lOpenAL32"; do