summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-27 11:36:51 -0500
committerRobby Workman <rworkman@slackbuilds.org>2022-02-27 22:27:51 -0600
commitd5c79548ed0a0051bad81f5015bf74e2edc22d86 (patch)
tree5425da5d174e416d94773e0010f957a0718805cd /graphics
parent38795c4b65a727c919aae4964d71a4efdeeb849b (diff)
downloadslackbuilds-d5c79548ed0a0051bad81f5015bf74e2edc22d86.tar.gz
graphics/gimagereader: Updated for version 3.4.0.
Signed-off-by: B. Watson <yalhcru@gmail.com>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gimagereader/gimagereader.SlackBuild12
-rw-r--r--graphics/gimagereader/gimagereader.info6
2 files changed, 9 insertions, 9 deletions
diff --git a/graphics/gimagereader/gimagereader.SlackBuild b/graphics/gimagereader/gimagereader.SlackBuild
index d7b9279bd8..62fb815fa8 100644
--- a/graphics/gimagereader/gimagereader.SlackBuild
+++ b/graphics/gimagereader/gimagereader.SlackBuild
@@ -22,10 +22,13 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
+# 20220222 bkw: Modified by SlackBuilds.org: fix build on 15.0,
+# by updating for v3.4.0. Necessary because of tesseract API changes.
+
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=gimagereader
-VERSION=${VERSION:-20201201_2d32618}
+VERSION=${VERSION:-3.4.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -38,9 +41,6 @@ if [ -z "$ARCH" ]; then
esac
fi
-# If the variable PRINT_PACKAGE_NAME is set, then this script will report what
-# the name of the created package would be, and then exit. This information
-# could be useful to other scripts.
if [ ! -z "${PRINT_PACKAGE_NAME}" ]; then
echo "$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.$PKGTYPE"
exit 0
@@ -75,9 +75,9 @@ cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
- -o -perm 511 \) -exec chmod 755 {} \; -o \
+ -o -perm 511 \) -exec chmod 755 {} \+ -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \+
# Path where manual will be installed
sed -i 's,"share/doc/gimagereader","doc/'$PRGNAM-$VERSION'",' CMakeLists.txt || exit 1
diff --git a/graphics/gimagereader/gimagereader.info b/graphics/gimagereader/gimagereader.info
index 20803afacf..34b9945f50 100644
--- a/graphics/gimagereader/gimagereader.info
+++ b/graphics/gimagereader/gimagereader.info
@@ -1,8 +1,8 @@
PRGNAM="gimagereader"
-VERSION="20201201_2d32618"
+VERSION="3.4.0"
HOMEPAGE="https://github.com/manisandro/gImageReader/"
-DOWNLOAD="http://ponce.cc/slackware/sources/repo/gimagereader-20201201_2d32618.tar.xz"
-MD5SUM="56b696dff8ae247fa55b1cc4f91cdd52"
+DOWNLOAD="https://github.com/manisandro/gImageReader/releases/download/v3.4.0/gimagereader-3.4.0.tar.xz"
+MD5SUM="278df50a692414e637689fe3ed77ad5e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="tesseract qtspell podofo"