summaryrefslogtreecommitdiffstats
path: root/kde5-net/ktorrent/DEPENDS
diff options
context:
space:
mode:
Diffstat (limited to 'kde5-net/ktorrent/DEPENDS')
-rwxr-xr-xkde5-net/ktorrent/DEPENDS12
1 files changed, 8 insertions, 4 deletions
diff --git a/kde5-net/ktorrent/DEPENDS b/kde5-net/ktorrent/DEPENDS
index c4b17949b2..31fc7877ae 100755
--- a/kde5-net/ktorrent/DEPENDS
+++ b/kde5-net/ktorrent/DEPENDS
@@ -1,5 +1,11 @@
. "$GRIMOIRE/KDE5_DEPENDS" &&
-depends qtscript &&
+if is_depends_enabled $SPELL qt6base;then
+ optional_depends qt6declarative '' '' '' &&
+ optional_depends qt6webengine '' '' 'search and syndication plugins'
+else
+ optional_depends qtdeclarative '' '' '' &&
+ optional_depends qtwebengine '' '' 'search and syndication plugins'
+fi &&
depends kcrash &&
depends kcmutils &&
depends kconfig &&
@@ -33,6 +39,4 @@ optional_depends kplotting '' '' 'statistics plugin' &&
optional_depends ktextwidgets '' '' 'IP Filter plugin' &&
optional_depends phonon '' '' 'multimedia plugin' &&
-optional_depends syndication '' ' -DENABLE_SYNDICATION_PLUGIN=0' 'syndication plugin' &&
-optional_depends qtdeclarative '' '' '' &&
-optional_depends qtwebengine '' '' 'search and syndication plugins'
+optional_depends syndication '' ' -DENABLE_SYNDICATION_PLUGIN=0' 'syndication plugin'