[SCM] ktp-text-ui packaging branch, master, updated. debian/15.12.1-1-1918-gdf4b0ec

Maximiliano Curia maxy at moszumanska.debian.org
Sat May 28 00:22:16 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-text-ui.git;a=commitdiff;h=f880639

The following commit has been merged in the master branch:
commit f880639ed11307ead3ff73a4dcd0669cdcda5074
Author: Lasath Fernando <kde at lasath.org>
Date:   Thu Jul 12 23:02:22 2012 +1000

    Reorganize config/CMakelists.txt
    
    It looks much nicer than it did before IMHO.
---
 config/CMakeLists.txt | 68 ++++++++++++++++++++++++++++-----------------------
 lib/CMakeLists.txt    |  1 -
 2 files changed, 37 insertions(+), 32 deletions(-)

diff --git a/config/CMakeLists.txt b/config/CMakeLists.txt
index dbe0de9..97874dd 100644
--- a/config/CMakeLists.txt
+++ b/config/CMakeLists.txt
@@ -1,42 +1,48 @@
 include_directories(${CMAKE_SOURCE_DIR}/lib)
 
-set(kcm_ktp_chat_appearance_SRCS
-        appearance-config.cpp
-)
-
-set(kcm_ktp_chat_behavior_SRCS
-        behavior-config.cpp
-)
+set(kcm_ktp_chat_appearance_SRCS appearance-config.cpp)
+set(kcm_ktp_chat_behavior_SRCS behavior-config.cpp)
+set(kcm_ktp_chat_messages_SRCS messages-config.cpp)
 
-set(kcm_ktp_chat_appearance_UI
-    appearance-config.ui
-)
-
-set(kcm_ktp_chat_behavior_UI
-    behavior-config.ui
-)
+set(kcm_ktp_chat_appearance_UI appearance-config.ui)
+set(kcm_ktp_chat_behavior_UI behavior-config.ui)
 
 kde4_add_ui_files(kcm_ktp_chat_appearance_SRCS ${kcm_ktp_chat_appearance_UI})
-
-kde4_add_plugin(kcm_ktp_chat_appearance
-		    ${kcm_ktp_chat_appearance_SRCS})
-
-target_link_libraries(kcm_ktp_chat_appearance ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS} ${QT_QTWEBKIT_LIBRARY} ${KDE4_KCMUTILS_LIBS} ktpchat)
-
-
 kde4_add_ui_files(kcm_ktp_chat_behavior_SRCS ${kcm_ktp_chat_behavior_UI})
 
-kde4_add_plugin(kcm_ktp_chat_behavior
-                    ${kcm_ktp_chat_behavior_SRCS})
-
-target_link_libraries(kcm_ktp_chat_behavior ${KDE4_KDECORE_LIBS} ${KDE4_KDEUI_LIBS} ${KDE4_KCMUTILS_LIBS} ktpchat)
+kde4_add_plugin(kcm_ktp_chat_appearance ${kcm_ktp_chat_appearance_SRCS})
+kde4_add_plugin(kcm_ktp_chat_behavior ${kcm_ktp_chat_behavior_SRCS})
+kde4_add_plugin(kcm_ktp_chat_messages ${kcm_ktp_chat_messages_SRCS})
 
+target_link_libraries(kcm_ktp_chat_appearance
+    ${KDE4_KDECORE_LIBS}
+    ${KDE4_KDEUI_LIBS}
+    ${QT_QTWEBKIT_LIBRARY}
+    ${KDE4_KCMUTILS_LIBS}
+    ktpchat
+)
+target_link_libraries(kcm_ktp_chat_behavior
+    ${KDE4_KDECORE_LIBS}
+    ${KDE4_KDEUI_LIBS}
+    ${KDE4_KCMUTILS_LIBS}
+    ktpchat
+)
+target_link_libraries(kcm_ktp_chat_messages
+    ${KDE4_KDECORE_LIBS}
+    ${KDE4_KDEUI_LIBS}
+    ${KDE4_KUTILS_LIBS}
+)
 
-install(TARGETS kcm_ktp_chat_appearance
-                kcm_ktp_chat_behavior
-	  DESTINATION ${PLUGIN_INSTALL_DIR})
 
-install (FILES kcm_ktp_chat_appearance.desktop
-               kcm_ktp_chat_behavior.desktop
-         DESTINATION ${SERVICES_INSTALL_DIR}
+install(TARGETS
+        kcm_ktp_chat_appearance
+        kcm_ktp_chat_behavior
+        kcm_ktp_chat_messages
+    DESTINATION ${PLUGIN_INSTALL_DIR}
 )
+install(FILES
+        kcm_ktp_chat_appearance.desktop
+        kcm_ktp_chat_behavior.desktop
+        kcm_ktp_chat_messages.desktop
+    DESTINATION ${SERVICES_INSTALL_DIR}
+)
\ No newline at end of file
diff --git a/lib/CMakeLists.txt b/lib/CMakeLists.txt
index f172936..9dd485e 100644
--- a/lib/CMakeLists.txt
+++ b/lib/CMakeLists.txt
@@ -88,4 +88,3 @@ install(FILES
         DESTINATION
         ${SERVICETYPES_INSTALL_DIR}
 )
-

-- 
ktp-text-ui packaging



More information about the pkg-kde-commits mailing list