Skip to content

Commit

Permalink
tesseract: Drop 32bit & Update to version 5.3.1.20230401 (#4883)
Browse files Browse the repository at this point in the history
  • Loading branch information
HUMORCE authored Jun 14, 2023
1 parent d4e1c8a commit 12c9525
Showing 1 changed file with 15 additions and 22 deletions.
37 changes: 15 additions & 22 deletions bucket/tesseract.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"version": "5.3.0.20221214",
"version": "5.3.1.20230401",
"description": "Open Source OCR Engine",
"homepage": "https://github.com/UB-Mannheim/tesseract/wiki",
"license": "Apache-2.0",
Expand All @@ -12,15 +12,21 @@
},
"architecture": {
"64bit": {
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-v5.3.0.20221214.exe#/dl.7z_",
"hash": "175a326853f87474132c284072a821dd819c63b707b01879b309f80bd6c0ab1e"
},
"32bit": {
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w32-setup-v5.3.0.20221214.exe#/dl.7z_",
"hash": "7683df36c38b2173a36e581a47f2143d342385b7c791db9b207c825152ad046e"
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-5.3.1.20230401.exe#/dl.7z_",
"hash": "ac0ce1748b83b993a5c3244d485303695b73ff1ccf0206a6a2ae44040e5a8ed4"
}
},
"pre_install": "Expand-7zipArchive \"$dir\\dl.7z_\" \"$dir\" -Removal -Switches '-x!*.exe.nsis -x!$PLUGINSDIR'",
"post_install": [
"$langdir = versiondir tesseract-languages current $global",
"if (Test-Path $langdir) {",
" env \"TESSDATA_PREFIX\" $global $langdir",
"}"
],
"env_set": {
"SCROLLVIEW_PATH": "$persist_dir\\tessdata",
"TESSDATA_PREFIX": "$persist_dir\\tessdata"
},
"bin": [
"ambiguous_words.exe",
"classifier_tester.exe",
Expand All @@ -39,28 +45,15 @@
"unicharset_extractor.exe",
"wordlist2dawg.exe"
],
"env_set": {
"TESSDATA_PREFIX": "$persist_dir\\tessdata",
"SCROLLVIEW_PATH": "$persist_dir\\tessdata"
},
"persist": "tessdata",
"post_install": [
"$langdir = versiondir tesseract-languages current $global",
"if (Test-Path $langdir) {",
" env \"TESSDATA_PREFIX\" $global $langdir",
"}"
],
"checkver": {
"url": "https://digi.bib.uni-mannheim.de/tesseract/?C=M;O=D",
"regex": "tesseract-ocr-w32-setup-v([\\w.-]+)\\.exe"
"regex": "tesseract-ocr-w64-setup-([\\d.]+)\\.exe"
},
"autoupdate": {
"architecture": {
"64bit": {
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-v$version.exe#/dl.7z_"
},
"32bit": {
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w32-setup-v$version.exe#/dl.7z_"
"url": "https://digi.bib.uni-mannheim.de/tesseract/tesseract-ocr-w64-setup-$version.exe#/dl.7z_"
}
}
}
Expand Down

0 comments on commit 12c9525

Please sign in to comment.