|
|
be6326b |
Index: rsibreak-0.9.0/CMakeLists.txt
|
|
|
be6326b |
===================================================================
|
|
|
be6326b |
--- rsibreak-0.9.0.orig/CMakeLists.txt 2009-01-13 14:46:43.000000000 -0500
|
|
|
be6326b |
+++ rsibreak-0.9.0/CMakeLists.txt 2009-01-13 14:47:12.000000000 -0500
|
|
|
be6326b |
@@ -3,19 +3,13 @@
|
|
|
be6326b |
|
|
|
be6326b |
find_package (KDE4 REQUIRED)
|
|
|
be6326b |
include(KDE4Defaults)
|
|
|
be6326b |
-macro_optional_find_package(Plasma)
|
|
|
be6326b |
-
|
|
|
be6326b |
-macro_log_feature(PLASMA_FOUND "Plasma" "Plasma libraries and header files" "http://plasma.kde.org/" FALSE "" "Plasma is needed for Plasma applet of rsibreak. Install kdebase-workspace.")
|
|
|
be6326b |
-
|
|
|
be6326b |
|
|
|
be6326b |
|
|
|
be6326b |
add_definitions (${QT_DEFINITIONS} ${KDE4_DEFINITIONS})
|
|
|
be6326b |
include_directories ( ${KDE4_INCLUDES} ${BLITZ_INCLUDES} )
|
|
|
be6326b |
ADD_SUBDIRECTORY( icons )
|
|
|
be6326b |
ADD_SUBDIRECTORY( src )
|
|
|
be6326b |
-if (PLASMA_FOUND)
|
|
|
be6326b |
- ADD_SUBDIRECTORY( plasma )
|
|
|
be6326b |
-endif (PLASMA_FOUND)
|
|
|
be6326b |
+ADD_SUBDIRECTORY( plasma )
|
|
|
be6326b |
find_package(Msgfmt REQUIRED)
|
|
|
be6326b |
find_package(Gettext REQUIRED)
|
|
|
be6326b |
add_subdirectory( po )
|
|
|
be6326b |
Index: rsibreak-0.9.0/plasma/CMakeLists.txt
|
|
|
be6326b |
===================================================================
|
|
|
be6326b |
--- rsibreak-0.9.0.orig/plasma/CMakeLists.txt 2009-01-13 14:48:34.000000000 -0500
|
|
|
be6326b |
+++ rsibreak-0.9.0/plasma/CMakeLists.txt 2009-01-13 14:48:56.000000000 -0500
|
|
|
be6326b |
@@ -8,7 +8,7 @@
|
|
|
be6326b |
rsibreak_interface)
|
|
|
be6326b |
|
|
|
be6326b |
kde4_add_plugin(plasma_engine_rsibreak ${rsibreak_engine_SRCS})
|
|
|
be6326b |
-target_link_libraries(plasma_engine_rsibreak ${PLASMA_LIBS} ${KDE4_KIO_LIBS})
|
|
|
be6326b |
+target_link_libraries(plasma_engine_rsibreak ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS})
|
|
|
be6326b |
|
|
|
be6326b |
install(TARGETS plasma_engine_rsibreak DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
be6326b |
install(FILES plasma-engine-rsibreak.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|
|
|
be6326b |
@@ -17,7 +17,7 @@
|
|
|
be6326b |
rsibreak.cpp)
|
|
|
be6326b |
|
|
|
be6326b |
kde4_add_plugin(plasma_applet_rsibreak ${rsibreak_applet_SRCS})
|
|
|
be6326b |
-target_link_libraries(plasma_applet_rsibreak ${PLASMA_LIBS} ${KDE4_KIO_LIBS})
|
|
|
be6326b |
+target_link_libraries(plasma_applet_rsibreak ${KDE4_PLASMA_LIBS} ${KDE4_KIO_LIBS})
|
|
|
be6326b |
|
|
|
be6326b |
install(TARGETS plasma_applet_rsibreak DESTINATION ${PLUGIN_INSTALL_DIR})
|
|
|
be6326b |
install(FILES plasma-applet-rsibreak.desktop DESTINATION ${SERVICES_INSTALL_DIR})
|