gis/qgis: Support QCA path on current.

Signed-off-by: Benjamin Trigona-Harany <slackbuilds@jaxartes.net>

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Benjamin Trigona-Harany 2021-01-01 14:27:20 +01:00 committed by Willy Sudiarto Raharjo
parent 6b590625a4
commit 4ba7e3ac5f
No known key found for this signature in database
GPG key ID: 3F617144D7238786

View file

@ -3,7 +3,7 @@
# Slackware build script for QGIS
# Copyright 2011 David Spencer, Baildon, West Yorkshire, U.K.
# Copyright 2013-2020 Benjamin Trigona-Harany
# Copyright 2013-2021 Benjamin Trigona-Harany
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@ -77,6 +77,7 @@ else
fi
sed -i 's|${SIP_BINARY_PATH}|/usr/bin/python3-sip|' cmake/SIPMacros.cmake
sed -i 's|PATH_SUFFIXES|PATH_SUFFIXES qt5/Qca-qt5/QtCrypto|' cmake/FindQCA.cmake
sed -i '/CMAKE_POLICY (SET CMP0071 NEW)/d' CMakeLists.txt
sed -i 's/Protobuf_/PROTOBUF_/' CMakeLists.txt src/core/CMakeLists.txt
@ -97,6 +98,7 @@ cd build
-DQSCINTILLA_INCLUDE_DIR=/usr/include/qt5 \
-DENABLE_TESTS=FALSE \
-DWITH_3D=TRUE \
-Wno-dev \
$WITHGRASS
make install DESTDIR=$PKG