aboutsummaryrefslogtreecommitdiff
path: root/graphics/gimagereader
diff options
context:
space:
mode:
authorwru <gnuandpenguinos@gmail.com>2016-11-25 10:25:29 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-11-26 11:47:24 +0700
commitf41af7dcb296f28c4904769ddd1adf218aadafec (patch)
tree0a18a5bfa1b27b77b53195eea657cb7e2cec3039 /graphics/gimagereader
parent37854d6e4d41ae68302f304c3c5109f41d7d3287 (diff)
graphics/gimagereader: Updated for version 3.2.0.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
Diffstat (limited to 'graphics/gimagereader')
-rw-r--r--graphics/gimagereader/gimagereader.SlackBuild7
-rw-r--r--graphics/gimagereader/gimagereader.info8
2 files changed, 7 insertions, 8 deletions
diff --git a/graphics/gimagereader/gimagereader.SlackBuild b/graphics/gimagereader/gimagereader.SlackBuild
index 702bec89a6cf4..7663d1ff6627e 100644
--- a/graphics/gimagereader/gimagereader.SlackBuild
+++ b/graphics/gimagereader/gimagereader.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=gimagereader
-VERSION=${VERSION:-3.1.91}
+VERSION=${VERSION:-3.2.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -69,18 +69,17 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# Interface type
-sed -i 's,"qt5","qt4",' CMakeLists.txt
-
# Path where manual will be installed
sed -i 's,"share/doc/gimagereader","doc/'$PRGNAM-$VERSION'",' CMakeLists.txt
+# Interface type: qt4/qt5/gtk
mkdir -p build
cd build
cmake \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
+ -DINTERFACE_TYPE=qt4 \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
diff --git a/graphics/gimagereader/gimagereader.info b/graphics/gimagereader/gimagereader.info
index 90b1b1a80eaa8..68add32fec8c6 100644
--- a/graphics/gimagereader/gimagereader.info
+++ b/graphics/gimagereader/gimagereader.info
@@ -1,10 +1,10 @@
PRGNAM="gimagereader"
-VERSION="3.1.91"
+VERSION="3.2.0"
HOMEPAGE="https://github.com/manisandro/gImageReader/"
-DOWNLOAD="https://github.com/manisandro/gImageReader/releases/download/v3.1.91/gimagereader-3.1.91.tar.xz"
-MD5SUM="c7235895aabd0220ef8adaa3982423e2"
+DOWNLOAD="https://github.com/manisandro/gImageReader/releases/download/v3.2.0/gimagereader-3.2.0.tar.xz"
+MD5SUM="eaa2d7f8ac453b7472b4e118687d342e"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
-REQUIRES="tesseract qtspell"
+REQUIRES="tesseract qtspell podofo"
MAINTAINER="wru"
EMAIL="gnuandpenguinos@gmail.com"