From 25f2982f60999774345d08014ca18b3bb541fdf6 Mon Sep 17 00:00:00 2001 From: Daniel Stolarski Date: Fri, 10 May 2019 23:47:45 +0700 Subject: [PATCH] gis/qmapshack: Updated for version 1.13.0. Signed-off-by: Willy Sudiarto Raharjo --- gis/qmapshack/README | 2 ++ gis/qmapshack/qmapshack.SlackBuild | 7 ++++--- gis/qmapshack/qmapshack.info | 8 ++++---- 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/\" && 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/\" && 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"