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. QMapShack is the successor of QLandkarteGT.
Note: Linux 32bit versions is no longer supported. 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. # http://sam.zoy.org/wtfpl/COPYING for more details.
PRGNAM=qmapshack PRGNAM=qmapshack
VERSION=${VERSION:-1.12.3} VERSION=${VERSION:-1.13.0}
BUILD=${BUILD:-1} BUILD=${BUILD:-1}
TAG=${TAG:-_SBo} TAG=${TAG:-_SBo}
@ -56,12 +56,13 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
# QuaZip path issue. thx to pAcAs for the hint # 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 #whereis quazip |grep -qE "/include/\<quazip\>" && sed -i 's!quazip5!quazip!g' cmake/Modules/FindQuaZip.cmake
mkdir -p build mkdir -p build
cd build cd build
cmake \ cmake \
-DACCEPT_USE_OF_DEPRECATED_PROJ_API_H=1 \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_PREFIX=/usr \

View file

@ -1,10 +1,10 @@
PRGNAM="qmapshack" PRGNAM="qmapshack"
VERSION="1.12.3" VERSION="1.13.0"
HOMEPAGE="https://bitbucket.org/maproom/qmapshack/wiki/Home" HOMEPAGE="https://bitbucket.org/maproom/qmapshack/wiki/Home"
DOWNLOAD="UNSUPPORTED" DOWNLOAD="UNSUPPORTED"
MD5SUM="" MD5SUM=""
DOWNLOAD_x86_64="https://bitbucket.org/maproom/qmapshack/downloads/qmapshack-1.12.3.tar.gz" DOWNLOAD_x86_64="https://bitbucket.org/maproom/qmapshack/downloads/qmapshack-1.13.0.tar.gz"
MD5SUM_x86_64="ca62a15bb12525dbf256f71e4119bd34" MD5SUM_x86_64="68eacea307dd95562ca160a7c721da72"
REQUIRES="gdal qt5-webkit routino quazip" REQUIRES="gdal qt5-webkit routino quazip-qt5 %README%"
MAINTAINER="Daniel Stolarski" MAINTAINER="Daniel Stolarski"
EMAIL="daniel.stolarski@gmail.com" EMAIL="daniel.stolarski@gmail.com"