aboutsummaryrefslogtreecommitdiff
path: root/graphics/yagf
diff options
context:
space:
mode:
authorLarry Hajali <larryhaja[at]gmail[dot]com>2011-12-20 09:05:00 -0200
committerRobby Workman <rworkman@slackbuilds.org>2011-12-22 00:02:51 -0600
commit48b4a977160c8e3cea7a7f8e72fd4aceda433a13 (patch)
tree3b6bc9fc63f2f97d0b3f3b688f0afe53c70c9421 /graphics/yagf
parentfb0247c8b00ba2a1fb4efa1b914a5b60578bafb9 (diff)
graphics/yagf: Updated for version 0.8.9.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
Diffstat (limited to 'graphics/yagf')
-rw-r--r--graphics/yagf/README3
-rw-r--r--graphics/yagf/yagf.SlackBuild17
-rw-r--r--graphics/yagf/yagf.info6
3 files changed, 12 insertions, 14 deletions
diff --git a/graphics/yagf/README b/graphics/yagf/README
index 7462ffbf18673..7dbd397989313 100644
--- a/graphics/yagf/README
+++ b/graphics/yagf/README
@@ -4,4 +4,5 @@ XSane, perform images preprocessing and recognize texts using
cuneiform from a single command centre. YAGF also makes it easy
to scan and recognize several images sequentially.
-Yagf requires cuneiform. \ No newline at end of file
+Yagf requires cuneiform or tesseract. Cuneiform and tesseract
+are runtime requirements.
diff --git a/graphics/yagf/yagf.SlackBuild b/graphics/yagf/yagf.SlackBuild
index efe8cc088a4c9..88b41ea4da3f6 100644
--- a/graphics/yagf/yagf.SlackBuild
+++ b/graphics/yagf/yagf.SlackBuild
@@ -5,7 +5,7 @@
# Written by Larry Hajali <larryhaja[at]gmail[dot]com>
PRGNAM=yagf
-VERSION=${VERSION:-0.8.4}
+VERSION=${VERSION:-0.8.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -41,9 +41,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION-Source
-tar xvf $CWD/$PRGNAM-$VERSION-Source.tar.gz
-cd $PRGNAM-$VERSION-Source
+rm -rf $PRGNAM-$VERSION
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
+cd $PRGNAM-$VERSION
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -52,15 +52,12 @@ find . \
-exec chmod 644 {} \;
# Fix desktop menu item.
-sed -i 's|true|false|' YAGF.desktop
-
-# Make translations. Cmake doesn't handle them properly.
-lrelease src/*.ts
-mv src/*.qm .
+sed -i -e 's|true|false|' -e 's|OCR;|OCR;Graphics;Scanning;|' YAGF.desktop
+echo "" >> YAGF.desktop
mkdir -p build
cd build
- cmake \
+ cmake -G "Unix Makefiles" \
-DCMAKE_INSTALL_PREFIX:PATH=/usr \
-DLIB_PATH_SUFFIX="$LIBDIRSUFFIX" \
-DCPACK_BINARY_TGZ=ON \
diff --git a/graphics/yagf/yagf.info b/graphics/yagf/yagf.info
index 535b9c9bf8956..b0bc9ea63e2cb 100644
--- a/graphics/yagf/yagf.info
+++ b/graphics/yagf/yagf.info
@@ -1,8 +1,8 @@
PRGNAM="yagf"
-VERSION="0.8.4"
+VERSION="0.8.9"
HOMEPAGE="http://symmetrica.net/cuneiform-linux/yagf-en.html"
-DOWNLOAD="http://symmetrica.net/cuneiform-linux/yagf-0.8.4-Source.tar.gz"
-MD5SUM="77d4046d15196e3a7ec2847424ea92a3"
+DOWNLOAD="http://symmetrica.net/cuneiform-linux/yagf-0.8.9.tar.gz"
+MD5SUM="1ccb66b978162366fb608dbc31b4a946"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
MAINTAINER="Larry Hajali"