diff options
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 e239b42f8a2b..c3f68f3c8e28 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 \ |