diff options
-rw-r--r-- | graphics/yagf/README | 3 | ||||
-rw-r--r-- | graphics/yagf/yagf.SlackBuild | 17 | ||||
-rw-r--r-- | graphics/yagf/yagf.info | 6 |
3 files changed, 12 insertions, 14 deletions
diff --git a/graphics/yagf/README b/graphics/yagf/README index 7462ffbf1867..7dbd39798931 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 efe8cc088a4c..88b41ea4da3f 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 535b9c9bf895..b0bc9ea63e2c 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" |