From 1037d386233764a3fd46c8e18699c874520d6d9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 6 Jan 2020 19:41:48 +0100 Subject: kopete: Added ability to build with shared tqca library. QCA files renamed to TQCA to match tqca library. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kopete/protocols/groupwise/CMakeLists.txt | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'kopete/protocols/groupwise/CMakeLists.txt') diff --git a/kopete/protocols/groupwise/CMakeLists.txt b/kopete/protocols/groupwise/CMakeLists.txt index c6df3323..637ae143 100644 --- a/kopete/protocols/groupwise/CMakeLists.txt +++ b/kopete/protocols/groupwise/CMakeLists.txt @@ -9,6 +9,11 @@ # ################################################# +if( NOT TQCA_FOUND ) + set( TQCA_INCLUDE_DIR ${CMAKE_CURRENT_SOURCE_DIR}/libgroupwise/qca/src ) + set( TQCA_LIBRARIES "groupwise_tqca-static" ) +endif( ) + add_subdirectory( icons ) add_subdirectory( libgroupwise ) add_subdirectory( ui ) @@ -18,12 +23,12 @@ include_directories( ${CMAKE_CURRENT_BINARY_DIR}/ui ${CMAKE_CURRENT_SOURCE_DIR}/libgroupwise ${CMAKE_CURRENT_SOURCE_DIR}/libgroupwise/tasks - ${CMAKE_CURRENT_SOURCE_DIR}/libgroupwise/qca/src ${CMAKE_CURRENT_SOURCE_DIR}/ui ${CMAKE_SOURCE_DIR}/kopete/libkopete ${CMAKE_SOURCE_DIR}/kopete/libkopete/ui ${TDE_INCLUDE_DIR} ${TQT_INCLUDE_DIRS} + ${TQCA_INCLUDE_DIR} ) link_directories( @@ -45,6 +50,6 @@ tde_add_kpart( kopete_groupwise AUTOMOC gwconnector.cpp gwmessagemanager.cpp gwcontactlist.cpp LINK kopetegroupwiseui-static groupwise-static groupwise_tasks-static - groupwise_qca-static kopete-shared + ${TQCA_LIBRARIES} kopete-shared DESTINATION ${PLUGIN_INSTALL_DIR} ) -- cgit v1.2.1 From d36d9267539f12fdaa5a0dd18f6285e4a636e1ac Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Wed, 8 Jul 2020 22:39:20 +0200 Subject: Desktop file translations: + Creation of POT template for desktop files added to CMakeL10n rules. + Added creation of translated desktop files during build. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- kopete/protocols/groupwise/CMakeLists.txt | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'kopete/protocols/groupwise/CMakeLists.txt') diff --git a/kopete/protocols/groupwise/CMakeLists.txt b/kopete/protocols/groupwise/CMakeLists.txt index 637ae143..c129ffe8 100644 --- a/kopete/protocols/groupwise/CMakeLists.txt +++ b/kopete/protocols/groupwise/CMakeLists.txt @@ -38,7 +38,12 @@ link_directories( ##### other data ################################ -install( FILES kopete_groupwise.desktop DESTINATION ${SERVICES_INSTALL_DIR} ) +tde_create_translated_desktop( + SOURCE kopete_groupwise.desktop + DESTINATION ${SERVICES_INSTALL_DIR} + PO_DIR kopete-desktops +) + install( FILES gwchatui.rc DESTINATION ${DATA_INSTALL_DIR}/kopete_groupwise ) -- cgit v1.2.1