summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
Diffstat (limited to 'graphics')
-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 702bec89a6..7663d1ff66 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 90b1b1a80e..68add32fec 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"