From ac67b69ee789b1bcfcfbb7846a670a71062a7254 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sandro=20Knau=C3=9F?= Date: Sat, 5 Oct 2024 20:06:34 +0200 Subject: [PATCH] Use pkgkde-getqmldepends to detect qml depends. --- debian/control | 9 +-------- debian/rules | 3 +++ 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/debian/control b/debian/control index 74142e273..b7c7fbec3 100644 --- a/debian/control +++ b/debian/control @@ -54,15 +54,8 @@ Depends: libnextcloudsync0t64 (= ${binary:Version}), libqt5sql5-sqlite, nextcloud-desktop-common, nextcloud-desktop-l10n, - qml-module-qt-labs-platform, - qml-module-qtgraphicaleffects, - qml-module-qtqml, - qml-module-qtqml-models2, - qml-module-qtquick-controls2, - qml-module-qtquick-layouts, - qml-module-qtquick-window2, - qml-module-qtquick2, ${misc:Depends}, + ${qml6:Depends}, ${shlibs:Depends}, Recommends: nextcloud-desktop-doc, Description: Nextcloud folder synchronization tool diff --git a/debian/rules b/debian/rules index 83e5feab7..e98ea82dc 100755 --- a/debian/rules +++ b/debian/rules @@ -48,3 +48,6 @@ execute_after_dh_sphinxdoc: execute_after_dh_link-indep: jdupes -rl debian/nextcloud-desktop-doc/usr + +execute_before_dh_gencontrol: + pkgkde-getqmldepends -p nextcloud-desktop --qt 6 -- -qmlFiles src/gui/*qml src/gui/filedetails/*qml src/gui/tray/*qml -- 2.30.2