summaryrefslogtreecommitdiffstats
path: root/gentoo/trinity-base/kdebase-kioslaves/files/kdebase-3.5.13.1-fix-kioslaves-with-hal.patch
blob: ebde62e50df7ee045f3ac747ee4db5932b0b6b13 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff --git a/ConfigureChecks.cmake b/ConfigureChecks.cmake
index 3834f6d..8dc8a3f 100644
--- a/ConfigureChecks.cmake
+++ b/ConfigureChecks.cmake
@@ -233,7 +233,6 @@ find_package( TQt )
 find_package( TDE )
 
 
-# dbus-tqt need Qt flags
 # dbus (kdm, ksmserver)
 if( BUILD_KDM OR BUILD_KSMSERVER )
 
@@ -242,6 +241,11 @@ if( BUILD_KDM OR BUILD_KSMSERVER )
     tde_message_fatal( "dbus-1 is required, but was not found on your system" )
   endif( )
 
+endif( )
+
+
+# dbus-tqt (kdm, ksmserver, kioslaves(media))
+if( BUILD_KDM OR BUILD_KSMSERVER OR (BUILD_KIOSLAVES AND WITH_HAL) )
   # check for dbus-tqt
   pkg_check_modules( DBUS_TQT REQUIRED dbus-tqt )
   tde_save( CMAKE_REQUIRED_INCLUDES CMAKE_REQUIRED_LIBRARIES )