[FFmpeg-devel] [PATCH] configure: add pkg-config check for libopenvino

Zhao Zhili quinkblack at foxmail.com
Thu Jun 8 06:33:38 EEST 2023


On Thu, 2023-05-04 at 11:59 +0800, Zhao Zhili wrote:
> From: Zhao Zhili <zhilizhao at tencent.com>
> 
> Signed-off-by: Zhao Zhili <zhilizhao at tencent.com>
> ---
>  configure | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
> 
> diff --git a/configure b/configure
> index bb7be67676..7be98ed2ba 100755
> --- a/configure
> +++ b/configure
> @@ -6661,7 +6661,8 @@ enabled libopenh264       && require_pkg_config
> libopenh264 openh264 wels/codec_
>  enabled libopenjpeg       && { check_pkg_config libopenjpeg
> "libopenjp2 >= 2.1.0" openjpeg.h opj_version ||
>                                 { require_pkg_config libopenjpeg
> "libopenjp2 >= 2.1.0" openjpeg.h opj_version -DOPJ_STATIC &&
> add_cppflags -DOPJ_STATIC; } }
>  enabled libopenmpt        && require_pkg_config libopenmpt
> "libopenmpt >= 0.2.6557" libopenmpt/libopenmpt.h
> openmpt_module_create -lstdc++ && append libopenmpt_extralibs "-
> lstdc++"
> -enabled libopenvino       && require libopenvino c_api/ie_c_api.h
> ie_c_api_version -linference_engine_c_api
> +enabled libopenvino       && { check_pkg_config libopenvino openvino
> c_api/ie_c_api.h ie_c_api_version ||
> +                               require libopenvino c_api/ie_c_api.h
> ie_c_api_version -linference_engine_c_api; }
>  enabled libopus           && {
>      enabled libopus_decoder && {
>          require_pkg_config libopus opus opus_multistream.h
> opus_multistream_decoder_create

Pushed.



More information about the ffmpeg-devel mailing list