Update debian/{control,rules} for Qt4→Qt5 switch.
authorgregor herrmann <gregoa@debian.org>
Sun, 1 Oct 2017 16:00:14 +0000 (18:00 +0200)
committergregor herrmann <gregoa@debian.org>
Sun, 1 Oct 2017 16:00:14 +0000 (18:00 +0200)
debian/control
debian/rules

index 46168243e4e123677aa632dcb7f3de2fc403b944..bb13e44773d35d5164ca7e01966be4606dd6bcc3 100644 (file)
@@ -3,7 +3,7 @@ Section: utils
 Priority: optional
 Maintainer: gregor herrmann <gregoa@debian.org>
 Uploaders: tony mancill <tmancill@debian.org>
-Build-Depends: debhelper (>= 10), libqt4-dev
+Build-Depends: debhelper (>= 10), qtbase5-dev
 Standards-Version: 3.9.8
 Homepage: http://www.toastfreeware.priv.at/confclerk
 Vcs-Git: git://git.toastfreeware.priv.at/debian/confclerk.git
@@ -12,7 +12,7 @@ Vcs-Browser: http://git.toastfreeware.priv.at/debian/confclerk.git/
 Package: confclerk
 Architecture: any
 Depends: ${shlibs:Depends}, ${misc:Depends},
- libqt4-sql-sqlite (>= ${qtsqlite:Depends})
+ libqt5sql5-sqlite
 Description: offline conference schedule application
  ConfClerk is an application written in Qt, which makes conference schedules
  available offline. It displays the conference schedule from various views,
index 3de99f26a476ea812383b14907b3a8022c8bce73..f13a6868d4cbdeb2bbac6dbb5fdf7cd7da1a6b6d 100755 (executable)
@@ -1,7 +1,6 @@
 #!/usr/bin/make -f
 
-QTSQLITE = $(shell dpkg-query --show --showformat='$${Version}\n' libqt4-sql | sed -e 's/-[^-]\+$$//')
-
+export QT_SELECT=5
 export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
 
 %:
@@ -12,7 +11,3 @@ override_dh_auto_test:
 
 override_dh_installchangelogs:
        dh_installchangelogs NEWS
-
-override_dh_gencontrol:
-       dh_gencontrol -- \
-               -Vqtsqlite:Depends="$(QTSQLITE)"