mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-01 06:32:51 +02:00
graphics/yagf: Updated for version 0.8.9.
Signed-off-by: Niels Horn <niels.horn@slackbuilds.org>
This commit is contained in:
parent
fb0247c8b0
commit
48b4a97716
3 changed files with 12 additions and 14 deletions
|
@ -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.
|
||||
Yagf requires cuneiform or tesseract. Cuneiform and tesseract
|
||||
are runtime requirements.
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue