[SCM] ktp-common-internals packaging branch, master, updated. debian/15.12.1-2-1839-gf0635e9

Maximiliano Curia maxy at moszumanska.debian.org
Mon May 9 09:08:55 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-common-internals.git;a=commitdiff;h=f639ed1

The following commit has been merged in the master branch:
commit f639ed180d56e43ac9420d7c2d73898fd7417276
Author: Martin Klapetek <mklapetek at kde.org>
Date:   Mon Jul 13 20:20:18 2015 +0200

    Add simple module to find telepathy-accounts-signon
---
 cmake/modules/Findtelepathy-accounts-signon.cmake | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/cmake/modules/Findtelepathy-accounts-signon.cmake b/cmake/modules/Findtelepathy-accounts-signon.cmake
new file mode 100644
index 0000000..e6675f7
--- /dev/null
+++ b/cmake/modules/Findtelepathy-accounts-signon.cmake
@@ -0,0 +1,18 @@
+## cmake macro to find telepathy-accounts-signon
+#
+# Copyright (c) 2015, Martin Klapetek <mklapetek 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.
+
+find_package(PkgConfig)
+execute_process(
+    COMMAND "${PKG_CONFIG_EXECUTABLE}" --variable=plugindir mission-control-plugins
+    OUTPUT_VARIABLE _pkgconfig_invoke_result OUTPUT_STRIP_TRAILING_WHITESPACE
+    RESULT_VARIABLE _pkgconfig_failed)
+
+if(EXISTS "${_pkgconfig_invoke_result}/mcp-account-manager-accounts-sso.so") 
+    set(telepathy-accounts-signon_FOUND TRUE)
+else()
+    set(telepathy-accounts-signon_FOUND FALSE)
+endif()
\ No newline at end of file

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list