diff options
Diffstat (limited to 'gis/qgis/qgis.SlackBuild')
-rw-r--r-- | gis/qgis/qgis.SlackBuild | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/gis/qgis/qgis.SlackBuild b/gis/qgis/qgis.SlackBuild index ace7ff17dd..07840b4085 100644 --- a/gis/qgis/qgis.SlackBuild +++ b/gis/qgis/qgis.SlackBuild @@ -28,7 +28,7 @@ cd $(dirname $0) ; CWD=$(pwd) PRGNAM=qgis VERSION=${VERSION:-3.32.2} -BUILD=${BUILD:-1} +BUILD=${BUILD:-2} TAG=${TAG:-_SBo} PKGTYPE=${PKGTYPE:-tgz} @@ -84,6 +84,13 @@ else OCL="-DUSE_OPENCL=OFF " fi +if pkg-config --exists pdal; then + WITHPDAL="-DWITH_PDAL=OFF "; [ "${PDAL:-yes}" = "yes" ] && WITHPDAL="-DWITH_PDAL=ON " +else + WITHPDAL="-DWITH_PDAL=OFF " +fi + + if pkg-config --exists grass; then WITHGRASS="-DGRASS_PREFIX=$(pkg-config --variable=prefix grass) " else @@ -111,6 +118,7 @@ cd build -DWITH_3D=TRUE \ -Wno-dev \ $OCL \ + $WITHPDAL \ $WITHGRASS make |