summaryrefslogtreecommitdiff
path: root/gis/qmapshack
diff options
context:
space:
mode:
authorDaniel Stolarski <daniel.stolarski@gmail.com>2019-05-10 23:47:45 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-05-10 23:47:45 +0700
commit25f2982f60999774345d08014ca18b3bb541fdf6 (patch)
tree6e8549a42631d2627b739025a84417526adde845 /gis/qmapshack
parenta5059a0c2d8e84db56ad432ae7cc326d44f0bdaf (diff)
downloadslackbuilds-25f2982f60999774345d08014ca18b3bb541fdf6.tar.gz
gis/qmapshack: Updated for version 1.13.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/qmapshack')
-rw-r--r--gis/qmapshack/README2
-rw-r--r--gis/qmapshack/qmapshack.SlackBuild7
-rw-r--r--gis/qmapshack/qmapshack.info8
3 files changed, 10 insertions, 7 deletions
diff --git a/gis/qmapshack/README b/gis/qmapshack/README
index 3c20bb1593..873626e22d 100644
--- a/gis/qmapshack/README
+++ b/gis/qmapshack/README
@@ -5,3 +5,5 @@ edit your GPX tracks.
QMapShack is the successor of QLandkarteGT.
Note: Linux 32bit versions is no longer supported.
+Note 2: Starting with qmapshack 1.13.0, proj needs to be rebuilt
+using cmake in order to be found during configuration.
diff --git a/gis/qmapshack/qmapshack.SlackBuild b/gis/qmapshack/qmapshack.SlackBuild
index 5e01aa4ad6..6c259396d8 100644
--- a/gis/qmapshack/qmapshack.SlackBuild
+++ b/gis/qmapshack/qmapshack.SlackBuild
@@ -10,7 +10,7 @@
# http://sam.zoy.org/wtfpl/COPYING for more details.
PRGNAM=qmapshack
-VERSION=${VERSION:-1.12.3}
+VERSION=${VERSION:-1.13.0}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -56,12 +56,13 @@ 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 {} \;
-# QuaZip path issue. thx to pAcAs for the hint
-whereis quazip |grep -qE "/include/\<quazip\>" && sed -i 's!quazip5!quazip!g' cmake/Modules/FindQuaZip.cmake
+# QuaZip path issue. thx to pAcAs for the hint Obsolete with V. 1.13.0
+#whereis quazip |grep -qE "/include/\<quazip\>" && sed -i 's!quazip5!quazip!g' cmake/Modules/FindQuaZip.cmake
mkdir -p build
cd build
cmake \
+ -DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \
diff --git a/gis/qmapshack/qmapshack.info b/gis/qmapshack/qmapshack.info
index 38f96ad4db..68b8893f75 100644
--- a/gis/qmapshack/qmapshack.info
+++ b/gis/qmapshack/qmapshack.info
@@ -1,10 +1,10 @@
PRGNAM="qmapshack"
-VERSION="1.12.3"
+VERSION="1.13.0"
HOMEPAGE="https://bitbucket.org/maproom/qmapshack/wiki/Home"
DOWNLOAD="UNSUPPORTED"
MD5SUM=""
-DOWNLOAD_x86_64="https://bitbucket.org/maproom/qmapshack/downloads/qmapshack-1.12.3.tar.gz"
-MD5SUM_x86_64="ca62a15bb12525dbf256f71e4119bd34"
-REQUIRES="gdal qt5-webkit routino quazip"
+DOWNLOAD_x86_64="https://bitbucket.org/maproom/qmapshack/downloads/qmapshack-1.13.0.tar.gz"
+MD5SUM_x86_64="68eacea307dd95562ca160a7c721da72"
+REQUIRES="gdal qt5-webkit routino quazip-qt5 %README%"
MAINTAINER="Daniel Stolarski"
EMAIL="daniel.stolarski@gmail.com"