mirror of
https://github.com/tesseract-ocr/tesseract.git
synced 2025-01-18 06:30:14 +08:00
Merge pull request #979 from stweil/update
Update from Leptonica 1.74.1 to 1.74.2
This commit is contained in:
commit
22bcf4d1a2
@ -5,7 +5,7 @@ language: cpp
|
||||
dist: trusty
|
||||
|
||||
env:
|
||||
- LEPT_VER=1.74.1
|
||||
- LEPT_VER=1.74.2
|
||||
|
||||
notifications:
|
||||
email: false
|
||||
@ -45,8 +45,8 @@ before_install:
|
||||
install:
|
||||
#- if [[ $LINUX && "$CXX" = "g++" ]]; then export CXX="g++-6" CC="gcc-6"; fi
|
||||
- if test ! -d leptonica-$LEPT_VER/src; then curl -Ls https://github.com/DanBloomberg/leptonica/archive/$LEPT_VER.tar.gz | tar -xz; fi
|
||||
- if test ! -d leptonica-$LEPT_VER/build/src; then cmake -Hleptonica-$LEPT_VER -Bleptonica-$LEPT_VER/build; fi
|
||||
- if test ! -e leptonica-$LEPT_VER/build/src/libleptonica.so; then make -C leptonica-$LEPT_VER/build; fi
|
||||
- if test ! -d leptonica-$LEPT_VER/usr; then cmake -Hleptonica-$LEPT_VER -Bleptonica-$LEPT_VER/build -DCMAKE_INSTALL_PREFIX=leptonica-$LEPT_VER/usr; fi
|
||||
- if test ! -e leptonica-$LEPT_VER/usr/lib/libleptonica.so; then make -C leptonica-$LEPT_VER/build install; fi
|
||||
|
||||
script:
|
||||
- mkdir build
|
||||
|
@ -30,5 +30,5 @@ parts:
|
||||
- libcairo2-dev
|
||||
after: [leptonica]
|
||||
leptonica:
|
||||
source: http://www.leptonica.org/source/leptonica-1.74.1.tar.gz
|
||||
source: http://www.leptonica.org/source/leptonica-1.74.2.tar.gz
|
||||
plugin: autotools
|
||||
|
Loading…
Reference in New Issue
Block a user