summaryrefslogtreecommitdiffstats
path: root/kweather/CMakeLists.txt
diff options
context:
space:
mode:
Diffstat (limited to 'kweather/CMakeLists.txt')
-rw-r--r--kweather/CMakeLists.txt26
1 files changed, 26 insertions, 0 deletions
diff --git a/kweather/CMakeLists.txt b/kweather/CMakeLists.txt
index 5aa6517..dcf4722 100644
--- a/kweather/CMakeLists.txt
+++ b/kweather/CMakeLists.txt
@@ -130,6 +130,18 @@ tde_add_kpart( kcm_weatherservice AUTOMOC
DESTINATION ${PLUGIN_INSTALL_DIR}
)
+##### weather_sidebar (kpart) ####################
+if( BUILD_KONQ_KWEATHER )
+ tde_import( konqueror )
+ tde_add_kpart( weather_sidebar AUTOMOC
+ SOURCES sidebarwidget.cpp dockwidget.cpp
+ weatherbar.cpp weatherbar.skel
+ weatherbutton.cpp weatherservice.stub
+ LINK tdeio-shared konqsidebarplugin-shared tdeutils-shared
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+ )
+endif( )
+
##### icons #####################################
@@ -164,3 +176,17 @@ tde_create_translated_desktop(
DESTINATION ${SERVICES_INSTALL_DIR}
PO_DIR kweather-desktops
)
+
+if( BUILD_KONQ_KWEATHER )
+ tde_create_translated_desktop(
+ SOURCE weatherbar.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/entries
+ PO_DIR kweather-desktops
+ )
+
+ tde_create_translated_desktop(
+ SOURCE weatherbar_add.desktop
+ DESTINATION ${DATA_INSTALL_DIR}/konqsidebartng/add
+ PO_DIR kweather-desktops
+ )
+endif( )