aboutsummaryrefslogtreecommitdiff
path: root/graphics/tesseract
diff options
context:
space:
mode:
authorLogan Rathbone <poprocks@gmail.com>2019-11-09 08:17:50 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-11-09 08:17:50 +0700
commit5cf7b0b2eec64ea9f3c353ee6e0f356fc9634696 (patch)
treef99851cdbcec699bd1366c345d73c2294b7522c0 /graphics/tesseract
parentf5ff088b0f9a866ffa5cf2fd1c75a7f1301580d7 (diff)
graphics/tesseract: Updated for version 4.1.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'graphics/tesseract')
-rw-r--r--graphics/tesseract/tesseract.SlackBuild10
-rw-r--r--graphics/tesseract/tesseract.info14
2 files changed, 15 insertions, 9 deletions
diff --git a/graphics/tesseract/tesseract.SlackBuild b/graphics/tesseract/tesseract.SlackBuild
index 20be19b845292..bbf18f24fb8e6 100644
--- a/graphics/tesseract/tesseract.SlackBuild
+++ b/graphics/tesseract/tesseract.SlackBuild
@@ -3,6 +3,8 @@
# Copyright 2009-2010 Pierre Cazenave <pwcazenave {at} gmail [dot] com>
# Copyright 2013-2015 LukenShiro, Italy
+# Copyright 2019 Logan Rathbone <poprocks@gmail.com>
+#
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -31,7 +33,7 @@
# Modified by Willy Sudiarto Raharjo <willysr@slackware-id.org>
PRGNAM=tesseract
-VERSION=${VERSION:-3.04.00}
+VERSION=${VERSION:-4.1.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -62,7 +64,7 @@ else
LIBDIRSUFFIX=""
fi
-DOCFILES="AUTHORS COPYING ChangeLog INSTALL NEWS README ReleaseNotes"
+DOCFILES="AUTHORS CONTRIBUTING.md ChangeLog LICENSE README.md"
# Language data files
# replace this with the 3-character ISO 639-2 language code of the language(s)
# you want to install: different language data files can coexist nicely.
@@ -117,6 +119,10 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
find $PKG/usr/man -type f -exec gzip -9 {} \;
for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done
+# Uncomment when migrating to 15.0:
+## Don't ship .la files:
+#rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCFILES \
$PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/graphics/tesseract/tesseract.info b/graphics/tesseract/tesseract.info
index 1a4862f2a0fcf..cbf8028f65d14 100644
--- a/graphics/tesseract/tesseract.info
+++ b/graphics/tesseract/tesseract.info
@@ -1,12 +1,12 @@
PRGNAM="tesseract"
-VERSION="3.04.00"
+VERSION="4.1.0"
HOMEPAGE="https://github.com/tesseract-ocr"
-DOWNLOAD="https://github.com/tesseract-ocr/tesseract/archive/3.04.00.tar.gz \
- https://github.com/tesseract-ocr/tessdata/raw/3.04.00/eng.traineddata"
-MD5SUM="078130b9c7d28c558a0e49d432505864 \
- 59a99c829aa385ae8cde35775e32e57f"
+DOWNLOAD="https://github.com/tesseract-ocr/tesseract/archive/4.1.0/tesseract-4.1.0.tar.gz \
+ https://github.com/tesseract-ocr/tessdata/raw/4.0.0/eng.traineddata"
+MD5SUM="88572a88fc757bc7b43ae81502f921a2 \
+ 57e0df3d84fed9fbf8c7a8e589f8f012"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="leptonica"
-MAINTAINER="LukenShiro"
-EMAIL="lukenshiro@ngi.it"
+MAINTAINER="Logan Rathbone"
+EMAIL="poprocks@gmail.com"