Skip to content
Permalink
Browse files

debian packaging: disable pdal provider on all dists except unstable

  • Loading branch information
jef-n committed Dec 22, 2020
1 parent 48c3f28 commit a75ff775f976aa044dd4439762a135cffda737fb
Showing with 6 additions and 3 deletions.
  1. +1 −1 debian/control.in
  2. +1 −1 debian/qgis-providers.install
  3. +4 −1 debian/rules
@@ -71,7 +71,7 @@ Build-Depends:
qtpositioning5-dev,
qttools5-dev-tools,
qttools5-dev,
libpdal-dev, pdal,
#sid# libpdal-dev, pdal,
libprotobuf-dev,
protobuf-compiler,
libzstd-dev,
@@ -20,5 +20,5 @@ usr/lib/qgis/plugins/libvirtuallayerprovider.so
usr/lib/qgis/plugins/libwcsprovider.so
usr/lib/qgis/plugins/libwfsprovider.so
usr/lib/qgis/plugins/libwmsprovider.so
usr/lib/qgis/plugins/libpdalprovider.so
#sid#usr/lib/qgis/plugins/libpdalprovider.so
usr/lib/*/qt?/plugins/sqldrivers/libqsqlspatialite.so
@@ -101,7 +101,6 @@ CMAKE_OPTS := \
-DWITH_QSPATIALITE=TRUE \
-DWITH_3D=TRUE \
-DGEOS_LIBRARY=/usr/lib/$(DEB_BUILD_MULTIARCH)/libgeos_c.so \
-DWITH_PDAL=TRUE \
-DWITH_EPT=TRUE

ifneq ($(SHA),)
@@ -115,6 +114,10 @@ ifeq ($(GRASSVER),7)
-DGRASS_PREFIX7=/usr/lib/$(GRASS)
endif

ifneq (,$(findstring $(DISTRIBUTION),"sid"))
CMAKE_OPTS += -DWITH_PDAL=TRUE
endif

ifneq (,$(findstring $(DISTRIBUTION),"sid buster"))
CMAKE_OPTS += -DPOSTGRES_LIBRARY=/usr/lib/$(DEB_BUILD_MULTIARCH)/libpq.so
endif

0 comments on commit a75ff77

Please sign in to comment.
You can’t perform that action at this time.