Skip to content
Permalink
Browse files

debian packaging: drop ubuntu eoan add ubuntu groovy

  • Loading branch information
jef-n committed Nov 2, 2020
1 parent 47a08a4 commit 09d6185b069a7dcfdf22f4e62f1925103824e56d
Showing with 6 additions and 6 deletions.
  1. +1 −1 debian/compat.in
  2. +2 −2 debian/control.in
  3. +3 −3 debian/rules
@@ -1,2 +1,2 @@
#buster bionic eoan focal#9
#buster bionic groovy#9
#sid#10
@@ -412,7 +412,7 @@ Architecture: all
Section: python
Depends:
gdal-bin,
#eoan buster# python-gdal,
#buster# python-gdal,
python3-gdal,
python3-matplotlib,
libqgis-customwidgets (>= ${source:Version}),
@@ -421,7 +421,7 @@ Depends:
Breaks: python-qgis-common (<< ${source:Version})
Replaces: python-qgis-common (<< ${source:Version})
Suggests:
#eoan focal buster sid# otb-qgis,
#focal groovy buster sid# otb-qgis,
saga
Description: Python bindings to QGIS - architecture-independent files
QGIS is a Geographic Information System (GIS) which manages, analyzes and
@@ -40,7 +40,7 @@ endif

QT_PLUGINS_DIR = lib/$(DEB_BUILD_MULTIARCH)/qt5/plugins

ifneq ($(DISTRIBUTION),$(findstring $(DISTRIBUTION),"buster bionic eoan focal"))
ifneq ($(DISTRIBUTION),$(findstring $(DISTRIBUTION),"buster bionic focal groovy"))
DISTRIBUTION := sid
endif

@@ -73,7 +73,7 @@ else
TESTMAKE=ninja $(NINJA_OPTS)
endif

ifeq (,$(findstring $(DISTRIBUTION),"focal sid"))
ifeq (,$(findstring $(DISTRIBUTION),"focal groovy sid"))
PYTHON_LIBRARY=$(shell python3-config --ldflags | sed -e 's,-L\(.*\) -L/usr/lib -l\([^ ]*\) .*$$,\1/lib\2.so,')
else
PYTHON_LIBRARY=$(shell python3-config --ldflags --embed | sed -e 's,-L\(.*\) -L/usr/lib -l\([^ ]*\) .*$$,\1/lib\2.so,')
@@ -115,7 +115,7 @@ ifneq (,$(findstring $(DISTRIBUTION),"sid buster"))
CMAKE_OPTS += -DPOSTGRES_LIBRARY=/usr/lib/$(DEB_BUILD_MULTIARCH)/libpq.so
endif

ifneq (,$(findstring $(DISTRIBUTION),"sid buster bionic eoan focal"))
ifneq (,$(findstring $(DISTRIBUTION),"sid buster bionic focal groovy"))
CMAKE_OPTS += \
-DWITH_3D=TRUE \
-DGEOS_LIBRARY=/usr/lib/$(DEB_BUILD_MULTIARCH)/libgeos_c.so

0 comments on commit 09d6185

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