gis/qmapshack: Updated for version 1.13.0.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Daniel Stolarski 2019-05-10 23:47:45 +07:00 committed by Willy Sudiarto Raharjo
parent a5059a0c2d
commit 25f2982f60
No known key found for this signature in database
GPG key ID: 887B8374D7333381
3 changed files with 10 additions and 7 deletions

View file

@ -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.

View file

@ -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 \

View file

@ -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"