Skip to content

Commit 722a0bd

Browse files
Update leptonica to 1.79.0
Also fixed leptonica compiling with openjpeg support
1 parent e7167af commit 722a0bd

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

cross_compile_ffmpeg.sh

+4-3
Original file line numberDiff line numberDiff line change
@@ -795,10 +795,11 @@ build_intel_quicksync_mfx() { # i.e. qsv, disableable via command line switch...
795795

796796
build_libleptonica() {
797797
build_libjpeg_turbo
798-
do_git_checkout https://github.com/DanBloomberg/leptonica.git leptonica_git 387d398138783222148a5866514ae9e4eda872a5
798+
do_git_checkout https://github.com/DanBloomberg/leptonica.git leptonica_git 1.79.0
799799
cd leptonica_git
800-
generic_configure "--without-libopenjpeg" # never could quite figure out how to get it to work with jp2 stuffs...I think OPJ_STATIC or something, see issue for tesseract
801-
do_make_and_make_install
800+
export CPPFLAGS="-DOPJ_STATIC"
801+
generic_configure_make_install
802+
reset_cppflags
802803
cd ..
803804
}
804805

0 commit comments

Comments
 (0)