Skip to content
Permalink
Browse files
debian packaging: fix install of sip files on impish and unstable
  • Loading branch information
jef-n committed Oct 27, 2021
1 parent 570d754 commit 6c95845d865720b304f8d69e44449a875741030c
Showing with 9 additions and 2 deletions.
  1. +1 −2 debian/libqgis-dev.install.in
  2. +8 −0 debian/rules
@@ -9,5 +9,4 @@ usr/lib/libqgis_server.so
usr/lib/libqgisgrass?.so
usr/lib/libqgispython.so
usr/share/qgis/FindQGIS.cmake
usr/share/sip/qgis
#sid#usr/lib/python?/*-packages/qgis
#!sid !impish#usr/share/sip/qgis
@@ -329,6 +329,12 @@ override_dh_auto_install:
install -o root -g root -m 755 $(CURDIR)/debian/qgis.sh $(CURDIR)/debian/qgis/usr/bin/qgis
install -o root -g root -m 755 $(CURDIR)/debian/qgis.sh $(CURDIR)/debian/qgis/usr/bin/qgis_process

ifneq (,$(findstring $(DISTRIBUTION),"sid impish"))
mkdir -p $(CURDIR)/debian/libqgis-dev
cd $(CURDIR)/debian/tmp && find . -name "*.sip" | tar --remove-files -cf - -T - | tar -C $(CURDIR)/debian/libqgis-dev -xf - --xform 's,\./usr/lib/python./dist-packages/qgis,usr/share/sip/qgis,'
find $(CURDIR)/debian/tmp/ -depth -empty -type d -delete
endif

override_dh_missing:
dh_missing --fail-missing

@@ -349,7 +355,9 @@ override_dh_installmime:
override_dh_python3:
dh_python3
dh_python3 usr/share/qgis/grass/scripts
ifeq (,$(findstring $(DISTRIBUTION),"sid impish"))
dh_sip3 -ppython3-qgis
endif

override_dh_compress:
dh_compress --exclude=pdf

0 comments on commit 6c95845

Please sign in to comment.