summaryrefslogtreecommitdiffstats
path: root/gentoo/trinity-base/kdebase-kioslaves/files/kdebase-3.5.13.1-fix-kioslaves-with-hal.patch
diff options
context:
space:
mode:
Diffstat (limited to 'gentoo/trinity-base/kdebase-kioslaves/files/kdebase-3.5.13.1-fix-kioslaves-with-hal.patch')
-rw-r--r--gentoo/trinity-base/kdebase-kioslaves/files/kdebase-3.5.13.1-fix-kioslaves-with-hal.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/gentoo/trinity-base/kdebase-kioslaves/files/kdebase-3.5.13.1-fix-kioslaves-with-hal.patch b/gentoo/trinity-base/kdebase-kioslaves/files/kdebase-3.5.13.1-fix-kioslaves-with-hal.patch
new file mode 100644
index 000000000..ebde62e50
--- /dev/null
+++ b/gentoo/trinity-base/kdebase-kioslaves/files/kdebase-3.5.13.1-fix-kioslaves-with-hal.patch
@@ -0,0 +1,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 )