tesseract-ocr: update to 3.05.02
Also fix tessdata download (use 3.04.00 data). Signed-off-by: Jürgen Buchmüller <pullmoll@t-online.de>
This commit is contained in:
parent
aa1f0b8e37
commit
12f1ec1cc5
2 changed files with 20 additions and 6 deletions
14
srcpkgs/tesseract-ocr/files/COPYING
Normal file
14
srcpkgs/tesseract-ocr/files/COPYING
Normal file
|
@ -0,0 +1,14 @@
|
|||
This repository contains language data for Tesseract Open Source
|
||||
OCR Engine. All data in the repository are licensed under the Apache
|
||||
License:
|
||||
|
||||
** Licensed under the Apache License, Version 2.0 (the "License");
|
||||
** you may not use this file except in compliance with the License.
|
||||
** You may obtain a copy of the License at
|
||||
** http://www.apache.org/licenses/LICENSE-2.0
|
||||
** Unless required by applicable law or agreed to in writing, software
|
||||
** distributed under the License is distributed on an "AS IS" BASIS,
|
||||
** WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
** See the License for the specific language governing permissions and
|
||||
** limitations under the License.
|
||||
|
|
@ -1,9 +1,9 @@
|
|||
# Template file for 'tesseract-ocr'
|
||||
pkgname=tesseract-ocr
|
||||
version=3.05.01
|
||||
revision=5
|
||||
version=3.05.02
|
||||
revision=1
|
||||
wrksrc=tesseract-${version}
|
||||
_tessdata_ver=3cf1e2df1fe1d1da29295c9ef0983796c7958b7d
|
||||
_tessdata_ver=074c37215b01ab8cc47a0e06ff7356383883d775
|
||||
build_style=gnu-configure
|
||||
configure_args="LIBLEPT_HEADERSDIR=${XBPS_CROSS_BASE}/usr/include"
|
||||
hostmakedepends="automake libtool pkg-config leptonica"
|
||||
|
@ -16,8 +16,8 @@ distfiles="
|
|||
https://github.com/tesseract-ocr/tesseract/archive/${version}.tar.gz>${pkgname}-${version}.tar.gz
|
||||
https://github.com/tesseract-ocr/tessdata/archive/${_tessdata_ver}.tar.gz>tessdata-${_tessdata_ver}.tar.gz"
|
||||
checksum="
|
||||
05898f93c5d057fada49b9a116fc86ad9310ff1726a0f499c3e5211b3af47ec1
|
||||
94c5957a6837e0bca86ab1f33a3c7c7ff2451f927f3daf458cca926a11f2c3f0"
|
||||
494d64ffa7069498a97b909a0e65a35a213989e0184f1ea15332933a90d43445
|
||||
e33dea2118f447848a76e0fa5d50d45a2b8630cccc6adeb8d58221a1d09d6007"
|
||||
|
||||
# Create a package for one specific language $1
|
||||
pkg_lang() {
|
||||
|
@ -48,7 +48,7 @@ post_install() {
|
|||
vdoc README.md
|
||||
vdoc testing/eurotext.tif
|
||||
vdoc testing/phototest.tif
|
||||
vlicense tessdata/COPYING LICENSE-tessdata
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue