[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:26 UTC 2016


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

The following commit has been merged in the master branch:
commit 96dea00f878a10be90750496082cdc3b6dd7fb10
Author: Martin Klapetek <mklapetek at kde.org>
Date:   Tue Aug 26 18:17:47 2014 +0200

    Forgot to add the CMake module file for KAccounts
---
 cmake/modules/FindKAccounts.cmake | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/cmake/modules/FindKAccounts.cmake b/cmake/modules/FindKAccounts.cmake
new file mode 100644
index 0000000..ad12c01
--- /dev/null
+++ b/cmake/modules/FindKAccounts.cmake
@@ -0,0 +1,27 @@
+# Try to find the KAccounts UI library
+#
+# Copyright (c) 2011, Dario Freddi <drf at kde.org>
+# Copyright (c) 2014, 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.
+
+SET (KACCOUNTS_FIND_REQUIRED ${KAccounts_FIND_REQUIRED})
+if (KACCOUNTS_INCLUDE_DIRS AND KACCOUNTS_LIBRARIES)
+  # Already in cache, be silent
+  set(KACCOUNTS_FIND_QUIETLY TRUE)
+endif (KACCOUNTS_INCLUDE_DIRS AND KACCOUNTS_LIBRARIES)
+
+find_path(KACCOUNTS_INCLUDE_DIRS
+  NAMES KAccounts/kaccountsuiplugin.h
+  PATHS ${KF5_INCLUDE_DIR}
+)
+
+find_library(KACCOUNTS_LIBRARIES NAMES kaccounts)
+
+include(FindPackageHandleStandardArgs)
+FIND_PACKAGE_HANDLE_STANDARD_ARGS(KAccounts DEFAULT_MSG
+                                  KACCOUNTS_LIBRARIES
+                                  KACCOUNTS_INCLUDE_DIRS)
+
+mark_as_advanced(KACCOUNTS_INCLUDE_DIRS KACCOUNTS_LIBRARIES)

-- 
ktp-common-internals packaging



More information about the pkg-kde-commits mailing list