diff options
author | Mavridis Philippe <mavridisf@gmail.com> | 2021-08-11 09:29:23 +0000 |
---|---|---|
committer | Mavridis Philippe <mavridisf@gmail.com> | 2021-08-29 08:56:11 +0000 |
commit | 07171bc7a78a7c4d45372d8750e857d1da5d6173 (patch) | |
tree | f7b7d954ec44649c5e8131163b1831d528fa1924 /kweather/CMakeLists.txt | |
parent | 9add97c81586acc4c735d8e12ec3813c92a9edc0 (diff) | |
download | tdetoys-07171bc7a78a7c4d45372d8750e857d1da5d6173.tar.gz tdetoys-07171bc7a78a7c4d45372d8750e857d1da5d6173.zip |
KWeather Konqueror sidebar revival
Signed-off-by: Mavridis Philippe <mavridisf@gmail.com>
Diffstat (limited to 'kweather/CMakeLists.txt')
-rw-r--r-- | kweather/CMakeLists.txt | 26 |
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( ) |