You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
configure: add pkg-config check for libtheora
This allows libtheora to be found via pkg-config in addition to the existing approach. Signed-off-by: Hunter Kvalevog <hunter@kvog.sh>
This commit is contained in:
committed by
James Almer
parent
a554d0aa8a
commit
8f970a24d5
@@ -7472,7 +7472,8 @@ enabled libsvtav1 && require_pkg_config libsvtav1 "SvtAv1Enc >= 0.9.0" E
|
||||
enabled libsvtjpegxs && require_pkg_config libsvtjpegxs "SvtJpegxs >= 0.10.0" SvtJpegxsEnc.h svt_jpeg_xs_encoder_init
|
||||
enabled libtensorflow && require libtensorflow tensorflow/c/c_api.h TF_Version -ltensorflow
|
||||
enabled libtesseract && require_pkg_config libtesseract tesseract tesseract/capi.h TessBaseAPICreate
|
||||
enabled libtheora && require libtheora theora/theoraenc.h th_info_init -ltheoraenc -ltheoradec -logg
|
||||
enabled libtheora && { check_pkg_config libtheora theoraenc theora/theoraenc.h th_info_init ||
|
||||
require libtheora theora/theoraenc.h th_info_init -ltheoraenc -ltheoradec -logg; }
|
||||
enabled libtls && require_pkg_config libtls libtls tls.h tls_configure &&
|
||||
{ enabled gpl && ! enabled nonfree && die "ERROR: LibreSSL is incompatible with the gpl"; }
|
||||
enabled libtorch && check_cxxflags -std=c++17 && require_cxx libtorch torch/torch.h "torch::Tensor" -ltorch -lc10 -ltorch_cpu -lstdc++ -lpthread
|
||||
|
||||
Reference in New Issue
Block a user