tesseract: fix build on x86_64.

* also declares compat on provides.
This commit is contained in:
Jerome Duval
2017-01-21 14:21:12 +01:00
parent 2f0696de2c
commit acd57fe5b8
2 changed files with 28 additions and 9 deletions

View File

@@ -13,16 +13,17 @@ HOMEPAGE="http://code.google.com/p/tesseract-ocr"
LICENSE="Apache v2"
COPYRIGHT="1985-1995 HP labs
2012 Google Inc."
SOURCE_URI="https://github.com/tesseract-ocr/tesseract/archive/3.02.02.tar.gz"
SOURCE_URI="https://github.com/tesseract-ocr/tesseract/archive/$portVersion.tar.gz"
CHECKSUM_SHA256="1566a78f81570e7dc656e881a0fa688fe1c700d4657041807f2160bf67fbb485"
REVISION="1"
REVISION="2"
PATCHES="tesseract-$portVersion.patchset"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
tesseract$secondaryArchSuffix = $portVersion
lib:libtesseract$secondaryArchSuffix = $portVersion
lib:libtesseract$secondaryArchSuffix = $portVersion compat >= 3
cmd:ambiguous_words$secondaryArchSuffix = $portVersion
cmd:classifier_tester$secondaryArchSuffix = $portVersion
cmd:cntraining$secondaryArchSuffix = $portVersion
@@ -36,7 +37,7 @@ PROVIDES="
"
PROVIDES_devel="
tesseract${secondaryArchSuffix}_devel = $portVersion
devel:libtesseract$secondaryArchSuffix = $portVersion
devel:libtesseract$secondaryArchSuffix = $portVersion compat >= 3
"
REQUIRES_devel="
@@ -70,7 +71,6 @@ BUILD_PREREQUIRES="
cmd:libtoolize
cmd:make
"
PATCHES="tesseract-3.02.02.patch"
PATCH()
{