[SCM] ktp-accounts-kcm packaging branch, master, updated. debian/15.12.1-1-1157-gc4589c5
Maximiliano Curia
maxy at moszumanska.debian.org
Fri May 27 23:57:02 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-accounts-kcm.git;a=commitdiff;h=efe4d01
The following commit has been merged in the master branch:
commit efe4d01cb2cbc28ef7ed1f22f55443a4d4425d38
Author: George Goldberg <grundleborg at googlemail.com>
Date: Wed Jan 21 17:17:12 2009 +0000
Add basic parts of buildsystem.
svn path=/trunk/playground/network/telepathy-accounts-kcm/; revision=914739
---
CMakeLists.txt | 20 ++++++++++++++++++++
cmake/modules/FindTelepathyQt4.cmake | 28 ++++++++++++++++++++++++++++
src/CMakeLists.txt | 30 ++++++++++++++++++++++++++++++
3 files changed, 78 insertions(+)
diff --git a/CMakeLists.txt b/CMakeLists.txt
new file mode 100644
index 0000000..5a2af5f
--- /dev/null
+++ b/CMakeLists.txt
@@ -0,0 +1,20 @@
+# Add the modules we ship to the module path
+SET(CMAKE_MODULE_PATH "${CMAKE_CURRENT_SOURCE_DIR}/cmake/modules" ${CMAKE_MODULE_PATH})
+
+find_package (KDE4 REQUIRED)
+
+find_package (TelepathyQt4 REQUIRED)
+
+# set some default settings
+include (KDE4Defaults)
+
+# make some more macros available
+include (MacroLibrary)
+
+add_definitions (${KDE4_DEFINITIONS})
+
+include_directories (${KDE4_INCLUDES}
+ ${TELEPATHY_QT4_INCLUDE_DIR}
+)
+
+add_subdirectory (src)
diff --git a/cmake/modules/FindTelepathyQt4.cmake b/cmake/modules/FindTelepathyQt4.cmake
new file mode 100644
index 0000000..b5105df
--- /dev/null
+++ b/cmake/modules/FindTelepathyQt4.cmake
@@ -0,0 +1,28 @@
+# Try to find the Qt binding of the Telepathy library
+# TELEPATHY_QT_FOUND - system has Telepathy-Qt
+# TELEPATHY_QT_INCLUDE_DIR - the Telepathy-Qt include directory
+# TELEPATHY_QT_LIBRARIES - Link these to use Telepathy-Qt
+
+# Copyright (c) 2008, Allen Winter <winter at kde.org>
+#
+# Redistribution and use is allowed according to the terms of the BSD license.
+# For details see the accompanying COPYING-CMAKE-SCRIPTS file.
+
+set (TELEPATHY_QT4_FIND_REQUIRED ${TelepathyQt4_FIND_REQUIRED})
+if (TELEPATHY_QT4_INCLUDE_DIR AND TELEPATHY_QT4_LIBRARIES)
+ # Already in cache, be silent
+ set (TELEPATHY_QT4_FIND_QUIETLY TRUE)
+endif (TELEPATHY_QT4_INCLUDE_DIR AND TELEPATHY_QT4_LIBRARIES)
+
+find_path (TELEPATHY_QT4_INCLUDE_DIR
+ NAMES TelepathyQt4/Client/Channel TelepathyQt4/Client/Connection TelepathyQt4/Types
+ PATHS ${CMAKE_INSTALL_PREFIX}/include/telepathy-1.0
+)
+find_library (TELEPATHY_QT4_LIBRARIES
+ NAMES telepathy-qt4
+ PATHS ${CMAKE_INSTALL_PREFIX}/lib
+)
+
+include (FindPackageHandleStandardArgs)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS (TELEPATHY_QT4 DEFAULT_MSG
+ TELEPATHY_QT4_LIBRARIES TELEPATHY_QT4_INCLUDE_DIR)
diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt
new file mode 100644
index 0000000..754ef8f
--- /dev/null
+++ b/src/CMakeLists.txt
@@ -0,0 +1,30 @@
+project (telepathy-accounts-kcm)
+
+include_directories (${CMAKE_CURRENT_BINARY_DIR}
+ ${CMAKE_CURRENT_SOURCE_DIR}
+)
+
+set (telepathy_accounts_kcm_SRCS
+)
+
+kde4_add_ui_files (telepathy_accounts_kcm_SRCS
+)
+
+kde4_add_plugin (kcm_telepathy_accounts
+ ${telepathy_accounts_kcm_SRCS}
+)
+
+target_link_libraries (kcm_telepathy_accounts
+ ${QT_LIBRARIES}
+ ${KDE4_KDEUI_LIBS}
+ ${TELEPATHY_QT4_LIBRARIES}
+)
+
+# Install:
+install (TARGETS kcm_telepathy_accounts
+ DESTINATION ${PLUGIN_INSTALL_DIR}
+)
+
+install (FILES kcm_telepathy_accounts.desktop
+ DESTINATION ${SERVICES_INSTALL_DIR}
+)
--
ktp-accounts-kcm packaging
More information about the pkg-kde-commits
mailing list