ScoopInstaller_Main/bucket/tesseract.json

68 lines
2.4 KiB
JSON

{
"version": "5.3.0.20221214",
"description": "Open Source OCR Engine",
"homepage": "https://github.com/UB-Mannheim/tesseract/wiki",
"license": "Apache-2.0",
"notes": [
"Recognition data files can be installed via \"scoop install tesseract-languages\"",
"or downloaded manually from https://github.com/tesseract-ocr/tessdata_fast"
],
"suggest": {
"tesseract-languages": "tesseract-languages"
},
"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"
}
},
"pre_install": "Expand-7zipArchive \"$dir\\dl.7z_\" \"$dir\" -Removal -Switches '-x!*.exe.nsis -x!$PLUGINSDIR'",
"bin": [
"ambiguous_words.exe",
"classifier_tester.exe",
"cntraining.exe",
"combine_lang_model.exe",
"combine_tessdata.exe",
"dawg2wordlist.exe",
"lstmeval.exe",
"lstmtraining.exe",
"merge_unicharsets.exe",
"mftraining.exe",
"set_unicharset_properties.exe",
"shapeclustering.exe",
"tesseract.exe",
"text2image.exe",
"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"
},
"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_"
}
}
}
}