aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2020-12-16 18:32:14 +0100
committerRobby Workman <rworkman@slackbuilds.org>2021-04-17 23:24:33 -0500
commitbbd35092b188f132256d7a77593b28b87418328d (patch)
treede4605312599107a94bbf4bf71724fecc1f71ff8 /graphics
parent95db5616a1e301841461dfbcdb443f2d7118996f (diff)
graphics/gimagereader: Updated for version 20201201_2d32618.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/gimagereader/gimagereader.SlackBuild12
-rw-r--r--graphics/gimagereader/gimagereader.info6
2 files changed, 10 insertions, 8 deletions
diff --git a/graphics/gimagereader/gimagereader.SlackBuild b/graphics/gimagereader/gimagereader.SlackBuild
index 34b703f8c6109..8cf3197e8d278 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.2.3}
+VERSION=${VERSION:-20201201_2d32618}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -70,16 +70,18 @@ find -L . \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# Path where manual will be installed
-sed -i 's,"share/doc/gimagereader","doc/'$PRGNAM-$VERSION'",' CMakeLists.txt
+sed -i 's,"share/doc/gimagereader","doc/'$PRGNAM-$VERSION'",' CMakeLists.txt || exit 1
-# Interface type: qt4/qt5/gtk
+sed -i "s|QuaZip-Qt5-1\.0|QuaZip-Qt5-1.1|" CMakeLists.txt || exit 1
+
+# Interface type: 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 \
+ -DINTERFACE_TYPE=qt5 \
-DCMAKE_BUILD_TYPE=Release ..
make
make install DESTDIR=$PKG
@@ -89,7 +91,7 @@ find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | gr
| cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
-cp -a AUTHORS COPYING NEWS README $PKG/usr/doc/$PRGNAM-$VERSION
+cp -a AUTHORS COPYING NEWS README.md $PKG/usr/doc/$PRGNAM-$VERSION
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
mkdir -p $PKG/install
diff --git a/graphics/gimagereader/gimagereader.info b/graphics/gimagereader/gimagereader.info
index 8694e7743ebe0..20803afacff48 100644
--- a/graphics/gimagereader/gimagereader.info
+++ b/graphics/gimagereader/gimagereader.info
@@ -1,8 +1,8 @@
PRGNAM="gimagereader"
-VERSION="3.2.3"
+VERSION="20201201_2d32618"
HOMEPAGE="https://github.com/manisandro/gImageReader/"
-DOWNLOAD="https://github.com/manisandro/gImageReader/releases/download/v3.2.3/gimagereader-3.2.3.tar.xz"
-MD5SUM="f4af1b531812a4a3c7fa5a7d49436acd"
+DOWNLOAD="http://ponce.cc/slackware/sources/repo/gimagereader-20201201_2d32618.tar.xz"
+MD5SUM="56b696dff8ae247fa55b1cc4f91cdd52"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="tesseract qtspell podofo"