tesseract: code style.

This commit is contained in:
Jerome Duval
2018-08-03 07:25:08 +02:00
parent fc1cdb1c9f
commit 112d5da841

View File

@@ -10,12 +10,12 @@ It was one of the top 3 engines in the 1995 UNLV Accuracy test. Between \
improved extensively by Google. It is released under the Apache License \
2.0."
HOMEPAGE="http://code.google.com/p/tesseract-ocr"
LICENSE="Apache v2"
COPYRIGHT="1985-1995 HP labs
2012 Google Inc."
LICENSE="Apache v2"
REVISION="4"
SOURCE_URI="https://github.com/tesseract-ocr/tesseract/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="1566a78f81570e7dc656e881a0fa688fe1c700d4657041807f2160bf67fbb485"
REVISION="4"
PATCHES="tesseract-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
@@ -36,15 +36,6 @@ PROVIDES="
cmd:unicharset_extractor$secondaryArchSuffix = $portVersion
cmd:wordlist2dawg$secondaryArchSuffix = $portVersion
"
PROVIDES_devel="
tesseract${secondaryArchSuffix}_devel = $portVersion
devel:libtesseract$secondaryArchSuffix = $portVersion compat >= 3
"
REQUIRES_devel="
tesseract$secondaryArchSuffix == $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:liblept$secondaryArchSuffix
@@ -54,6 +45,14 @@ REQUIRES="
lib:libwebp$secondaryArchSuffix
lib:libz$secondaryArchSuffix"
PROVIDES_devel="
tesseract${secondaryArchSuffix}_devel = $portVersion
devel:libtesseract$secondaryArchSuffix = $portVersion compat >= 3
"
REQUIRES_devel="
tesseract$secondaryArchSuffix == $portVersion
"
BUILD_REQUIRES="
devel:liblept$secondaryArchSuffix
devel:libgif$secondaryArchSuffix