This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 8f970a24d5 configure: add pkg-config check for libtheora
8f970a24d5 is described below

commit 8f970a24d51ba1fadfbee14a3c78ea112cf91329
Author:     Hunter Kvalevog <[email protected]>
AuthorDate: Mon Jun 15 13:56:07 2026 -0500
Commit:     James Almer <[email protected]>
CommitDate: Wed Jun 17 02:31:43 2026 +0000

    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 <[email protected]>
---
 configure | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index e67aa362ad..ceb11ac8d0 100755
--- a/configure
+++ b/configure
@@ -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

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to