1222 lines
32 KiB
Bash
1222 lines
32 KiB
Bash
# Template file for 'tesseract-ocr'
|
|
pkgname=tesseract-ocr
|
|
version=4.1.1
|
|
revision=4
|
|
_tessdataver=4.0.0
|
|
wrksrc="tesseract-${version}"
|
|
build_style=gnu-configure
|
|
configure_args="LIBLEPT_HEADERSDIR=${XBPS_CROSS_BASE}/usr/include $(vopt_enable openmp)"
|
|
make_build_args="all training"
|
|
hostmakedepends="automake libtool pkg-config leptonica libxslt asciidoc"
|
|
makedepends="cairo-devel pango-devel leptonica-devel $(vopt_if openmp libgomp-devel) icu-devel"
|
|
short_desc="Tesseract Open Source OCR engine"
|
|
maintainer="Orphaned <orphan@voidlinux.org>"
|
|
license="Apache-2.0"
|
|
homepage="https://github.com/tesseract-ocr/tesseract"
|
|
distfiles="
|
|
https://github.com/tesseract-ocr/tesseract/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz
|
|
https://github.com/tesseract-ocr/tessdata/archive/${_tessdataver}.tar.gz>tessdata-${_tessdataver}.tar.gz"
|
|
checksum="2a66ff0d8595bff8f04032165e6c936389b1e5727c3ce5a27b3e059d218db1cb
|
|
38c637d3a1763f6c3d32e8f1d979f045668676ec5feb8ee1869ee77cedd31b08"
|
|
patch_args=-Np0
|
|
|
|
build_options="openmp"
|
|
build_options_default="openmp"
|
|
desc_option_openmp="Enable Open MP (gomp)"
|
|
|
|
# Create a package for one specific language $1
|
|
pkg_lang() {
|
|
local f script lang=$1
|
|
case "$1" in
|
|
script-*)
|
|
script=/script
|
|
lang=${1#script-}
|
|
;;
|
|
*) script=
|
|
lang=$1
|
|
;;
|
|
esac
|
|
vmkdir usr/share/tessdata${script}
|
|
for f in $(find ${wrksrc}/tessdata -name "${lang}.*" \
|
|
-o -name "${lang}_frak.*" \
|
|
-o -name "${lang}_vert.*" ); do
|
|
vinstall $f 644 usr/share/tessdata${script}
|
|
rm $f
|
|
done
|
|
}
|
|
|
|
post_extract() {
|
|
mv ${XBPS_BUILDDIR}/tessdata-${_tessdataver}/* ${wrksrc}/tessdata
|
|
rmdir ${XBPS_BUILDDIR}/tessdata-${_tessdataver}
|
|
}
|
|
pre_configure() {
|
|
NOCONFIGURE=1 ./autogen.sh
|
|
}
|
|
do_check() {
|
|
: # submodule not in tarball
|
|
}
|
|
post_install() {
|
|
local lang
|
|
# Rename binary to avoid conflict with tesseract package
|
|
mv ${DESTDIR}/usr/bin/tesseract{,-ocr}
|
|
mv ${DESTDIR}/usr/share/man/man1/tesseract{,-ocr}.1
|
|
vdoc ChangeLog
|
|
vdoc README.md
|
|
vlicense ${FILESDIR}/COPYING LICENSE-tessdata
|
|
# Move the pseudo languges "equ" (math / equation detection) and
|
|
# "osd" (orientation and script detection) to the main package
|
|
for lang in equ osd; do
|
|
$(pkg_lang ${lang})
|
|
done
|
|
}
|
|
tesseract-ocr-tools_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Tools (development)"
|
|
pkg_install() {
|
|
local f
|
|
make DESTDIR=${PKGDESTDIR} training-install
|
|
vmkdir usr/share/tesseract
|
|
vmkdir usr/share/man/man1
|
|
vmkdir usr/share/man/man5
|
|
# Copy shell scripts
|
|
for f in language-specific.sh tesstrain.sh tesstrain_utils.sh; do
|
|
if [ -e ${wrksrc}/training/${f} ]; then
|
|
cp -a ${wrksrc}/training/${f} \
|
|
${PKGDESTDIR}/usr/share/tesseract
|
|
fi
|
|
done
|
|
# Move tool manual pages
|
|
for f in ambiguous_words cntraining combine_tessdata \
|
|
dawg2wordlist mftraining shapeclustering unicharambigs \
|
|
unicharset unicharset_extractor wordlist2dawg; do
|
|
for n in 1 5; do
|
|
if [ -e ${DESTDIR}/usr/share/man/man${n}/${f}.${n} ]; then
|
|
vmove usr/share/man/man${n}/${f}.${n}
|
|
fi
|
|
done
|
|
done
|
|
}
|
|
}
|
|
tesseract-ocr-devel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - development files"
|
|
pkg_install() {
|
|
vmove usr/include/tesseract
|
|
vmove usr/lib/pkgconfig
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|
|
tesseract-ocr-basic_package() {
|
|
local lang
|
|
build_style=meta
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
conflicts="tesseract-ocr-all>=0"
|
|
short_desc+=" - basic languages data"
|
|
# A number of basic (mostly European) languages
|
|
for lang in bel dan deu eng fin fra hun ita nld nor pol por rus spa swe tur; do
|
|
depends+=" tesseract-ocr-${lang}>=${version}_${revision}"
|
|
done
|
|
}
|
|
tesseract-ocr-all_package() {
|
|
local lang
|
|
build_style=meta
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
conflicts="tesseract-ocr-basic>=0"
|
|
short_desc+=" - all languages data"
|
|
# All available languages
|
|
for lang in afr amh ara asm aze aze_cyrl bel ben bod bos bre bul cat ceb \
|
|
ces chi_sim chi_tra chr cos cym dan deu div dzo ell eng enm epo est eus fao \
|
|
fas fil fin fra frk frm fry gla gle glg grc guj hat heb hin hrv hun hye iku ind isl ita \
|
|
ita_old jav jpn kan kat kat_old kaz khm kir kor kur kur_ara lao lat lav lit ltz mal mar \
|
|
mkd mlt mon mri msa mya nep nld nor oci ori pan pol por que pus ron rus san sin slk slv \
|
|
snd spa spa_old sqi srp srp_latn sun swa swe syr tam tat tel tgk tgl tha tir ton tur \
|
|
uig ukr urd uzb uzb_cyrl vie yid yor \
|
|
script-Arabic script-Armenian script-Bengali script-Canadian_Aboriginal script-Cherokee \
|
|
script-Cyrillic script-Devanagari script-Ethiopic script-Fraktur script-Georgian \
|
|
script-Greek script-Gujarati script-Gurmukhi script-HanS script-HanT script-Hangul \
|
|
script-Hebrew script-Japanese script-Kannada script-Khmer script-Lao script-Latin \
|
|
script-Malayalam script-Myanmar script-Oriya script-Sinhala script-Syriac script-Tamil \
|
|
script-Telugu script-Thaana script-Thai script-Tibetan script-Vietnamese; do
|
|
depends+=" tesseract-ocr-${lang}>=${version}_${revision}"
|
|
done
|
|
}
|
|
tesseract-ocr-afr_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Afrikaans language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-amh_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Amharic language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-ara_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Arabic language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-asm_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Assamese language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-aze_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Azerbaijani language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-aze_cyrl_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Azerbaijani (cyrillic) language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-bel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Belarusian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-ben_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Bengali language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-bod_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Tibetan language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-bos_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Bosnian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-bre_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Breton language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-bul_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Bulgarian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-cat_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Catalan language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-ceb_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Cebuano language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-ces_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Czech language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-chi_sim_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Chinese (Simplified) language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-chi_tra_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Chinese (Traditional) language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-chr_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Cherokee language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-cos_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Corsican language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-cym_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Welsh language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-dan_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Danish language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-deu_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - German language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-div_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Dhivehi language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-dzo_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Dzongkha language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-ell_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Greek language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-eng_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - English language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-enm_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Middle English (1100-1500) language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-epo_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Esperanto language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-est_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Estonian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-eus_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Basque language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-fao_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Faroese language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-fas_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Persian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-fil_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Filipino language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-fin_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Finnish language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-fra_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - French language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-frk_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Frankish language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-frm_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Middle French (ca. 1400-1600) language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-fry_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Frisian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-gla_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Scottish Gaelic language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-gle_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Irish language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-glg_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Galician language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-grc_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Ancient Greek Language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-guj_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Gujarati Language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-hat_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Haitian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-heb_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Hebrew language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-hin_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Hindi language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-hrv_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Croatian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-hun_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Hungarian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-hye_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Armenian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-iku_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Inuktitut language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-ind_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Indonesian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-isl_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Icelandic language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-ita_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Italian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-ita_old_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Italian (Old) language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-jav_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Javanese language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-jpn_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Japanese language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-kan_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Kannada language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-kat_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Georgian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-kat_old_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Georgian (old) language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-kaz_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Kazakh language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-khm_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Central Khmer language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-kir_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Kirghiz language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-kor_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Korean language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-kur_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Kurdish language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-kur_ara_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Kurdish (Arabic) language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-lao_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Lao language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-lat_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Latin language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-lav_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Latvian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-lit_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Lithuanian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-ltz_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Luxembourgish language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-mal_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Malayalam language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-mar_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Marathi language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-mkd_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Macedonian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-mlt_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Maltese language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-mon_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Mongolian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-mri_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Maori language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-msa_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Malay language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-mya_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Burmese language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-nep_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Nepalese language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-nld_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Dutch language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-nor_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Norwegian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-oci_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Occitan (post 1500) language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-ori_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Oriya language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-pan_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Panjabi language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-pol_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Polish language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-por_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Portuguese language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-pus_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Pushto language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-que_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Quechua language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-ron_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Romanian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-rus_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Russian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-san_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Sanskrit language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-sin_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Sinhala language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-slk_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Slovakian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-slv_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Slovenian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-snd_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Sindhi language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-spa_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Spanish language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-spa_old_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Spanish (Old) language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-sqi_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Albanian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-srp_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Serbian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-srp_latn_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Serbian (Latin) language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-sun_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Sundanese language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-swa_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Swahili language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-swe_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Swedish language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-syr_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Syriac language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-tam_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Tamil language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-tat_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Tatar language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-tel_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Telugu language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-tgk_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Tajik language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-tgl_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Tagalog language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-tha_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Thai language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-tir_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Tigrinya language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-ton_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Tonga language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-tur_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Turkish language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-uig_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Uighur language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-ukr_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Ukrainian language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-urd_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Urdu language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-uzb_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Uzbek language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-uzb_cyrl_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Uzbek (Cyrillic) language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-vie_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Vietnamese language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-yid_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Yiddish language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-yor_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Yoruba language data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Arabic_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Arabic script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Armenian_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Armenian script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Bengali_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Bengali script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Canadian_Aboriginal_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Canadian Aboriginal script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Cherokee_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Cherokee script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Cyrillic_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Cyrillic script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Devanagari_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Devanagari script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Ethiopic_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Ethiopic script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Fraktur_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Fraktur script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Georgian_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Georgian script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Greek_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Greek script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Gujarati_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Gujarati script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Gurmukhi_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Gurmukhi script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-HanS_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - HanS script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-HanT_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - HanT script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Hangul_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Hangul script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Hebrew_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Hebrew script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Japanese_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Japanese script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Kannada_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Kannada script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Khmer_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Khmer script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Lao_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Lao script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Latin_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Latin script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Malayalam_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Malayalam script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Myanmar_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Myanmar script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Oriya_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Oriya script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Sinhala_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Sinhala script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Syriac_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Syriac script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Tamil_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Tamil script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Telugu_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Telugu script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Thaana_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Thaana script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Thai_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Thai script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Tibetan_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Tibetan script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|
|
tesseract-ocr-script-Vietnamese_package() {
|
|
depends="${sourcepkg}>=${version}_${revision}"
|
|
short_desc+=" - Vietnamese script data"
|
|
pkg_install() {
|
|
$(pkg_lang ${pkgname#tesseract-ocr-})
|
|
}
|
|
}
|