mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
gis/qmapshack: Fix build.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
43caa708c0
commit
9920a1ad63
3 changed files with 4 additions and 6 deletions
|
@ -5,5 +5,3 @@ 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.
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
|
||||
PRGNAM=qmapshack
|
||||
VERSION=${VERSION:-1.13.0}
|
||||
BUILD=${BUILD:-1}
|
||||
BUILD=${BUILD:-2}
|
||||
TAG=${TAG:-_SBo}
|
||||
|
||||
if [ -z "$ARCH" ]; then
|
||||
|
@ -56,8 +56,8 @@ 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 Obsolete with V. 1.13.0
|
||||
#whereis quazip |grep -qE "/include/\<quazip\>" && sed -i 's!quazip5!quazip!g' cmake/Modules/FindQuaZip.cmake
|
||||
# Qmapshack expects proj to provide package information files created by cmake, the proj version on slackbuilds.org, however, is built using autotools, thus the config script fails. Again, thx to pAcAs for the hint.
|
||||
cat $CWD/FindPROJ4.cmake > cmake/Modules/FindPROJ4.cmake
|
||||
|
||||
mkdir -p build
|
||||
cd build
|
||||
|
|
|
@ -5,6 +5,6 @@ DOWNLOAD="UNSUPPORTED"
|
|||
MD5SUM=""
|
||||
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%"
|
||||
REQUIRES="gdal qt5-webkit routino quazip-qt5"
|
||||
MAINTAINER="Daniel Stolarski"
|
||||
EMAIL="daniel.stolarski@gmail.com"
|
||||
|
|
Loading…
Reference in a new issue