From 5cf7b0b2eec64ea9f3c353ee6e0f356fc9634696 Mon Sep 17 00:00:00 2001 From: Logan Rathbone Date: Sat, 9 Nov 2019 08:17:50 +0700 Subject: graphics/tesseract: Updated for version 4.1.0. Signed-off-by: Willy Sudiarto Raharjo --- graphics/tesseract/tesseract.SlackBuild | 10 ++++++++-- graphics/tesseract/tesseract.info | 14 +++++++------- 2 files changed, 15 insertions(+), 9 deletions(-) (limited to 'graphics') diff --git a/graphics/tesseract/tesseract.SlackBuild b/graphics/tesseract/tesseract.SlackBuild index 20be19b845..bbf18f24fb 100644 --- a/graphics/tesseract/tesseract.SlackBuild +++ b/graphics/tesseract/tesseract.SlackBuild @@ -3,6 +3,8 @@ # Copyright 2009-2010 Pierre Cazenave # Copyright 2013-2015 LukenShiro, Italy +# Copyright 2019 Logan Rathbone +# # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -31,7 +33,7 @@ # Modified by Willy Sudiarto Raharjo 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 1a4862f2a0..cbf8028f65 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" -- cgit v1.2.3