diff options
author | Daniel Stolarski <daniel.stolarski@gmail.com> | 2020-06-17 14:31:42 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-06-17 23:43:35 +0700 |
commit | b086277611780b54f1fedb97540616e6ff554e60 (patch) | |
tree | e50502bf86f297d5055edb0b545bf02b2e7693d0 /gis/qmapshack/qmapshack.SlackBuild | |
parent | ca6ef24b4a5c6123b8002def330bb3786827493b (diff) |
gis/qmapshack: Updated for version 1.15.0.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'gis/qmapshack/qmapshack.SlackBuild')
-rw-r--r-- | gis/qmapshack/qmapshack.SlackBuild | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/gis/qmapshack/qmapshack.SlackBuild b/gis/qmapshack/qmapshack.SlackBuild index e239b42f8a2b1..c3f68f3c8e28e 100644 --- a/gis/qmapshack/qmapshack.SlackBuild +++ b/gis/qmapshack/qmapshack.SlackBuild @@ -1,7 +1,7 @@ #!/bin/sh # Slackware build script for qmapshack -# Copyright 2015 Daniel Stolarski <daniel.stolarski@gmail.com> +# Copyright 2015-2020 Daniel Stolarski <daniel.stolarski@gmail.com> # # This program is free software. It comes without any warranty, to # the extent permitted by applicable law. You can redistribute it @@ -10,7 +10,7 @@ # http://sam.zoy.org/wtfpl/COPYING for more details. PRGNAM=qmapshack -VERSION=${VERSION:-1.14.1} +VERSION=${VERSION:-1.15.0} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -46,10 +46,13 @@ set -e rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP -rm -rf $PRGNAM-$VERSION +rm -rf $PRGNAM-V_${VERSION} tar xvf $CWD/${PRGNAM}-${VERSION}.tar.gz cd ${PRGNAM}-V_${VERSION} +# Fix missing header file +patch -p1 < $CWD/QPainterPath.patch + # Apply patches provided in the source tree patch -p1 < FindPROJ4.patch patch -p1 < FindQuaZip5.patch @@ -65,7 +68,6 @@ find -L . \ 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 \ |