summaryrefslogtreecommitdiff
path: root/kde-apps/kleopatra/files/kleopatra-install-headers.patch
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2016-02-03 17:16:55 +0100
committerMichael Palimaka <kensington@gentoo.org>2016-02-15 03:09:56 +1100
commitd801ca68f9b30ac2497031387fcdbfd6e38e2694 (patch)
tree698afcc873b9ebd19578a02882099c3c5b63912c /kde-apps/kleopatra/files/kleopatra-install-headers.patch
parentd95367385c236196261aa4fb105d11423d9e7e3b (diff)
downloadkde-d801ca68f9b30ac2497031387fcdbfd6e38e2694.tar.gz
kde-d801ca68f9b30ac2497031387fcdbfd6e38e2694.tar.bz2
kde-d801ca68f9b30ac2497031387fcdbfd6e38e2694.zip
kde-apps: Add KDE PIM 4.14.11 snapshot
Diffstat (limited to 'kde-apps/kleopatra/files/kleopatra-install-headers.patch')
-rw-r--r--kde-apps/kleopatra/files/kleopatra-install-headers.patch48
1 files changed, 48 insertions, 0 deletions
diff --git a/kde-apps/kleopatra/files/kleopatra-install-headers.patch b/kde-apps/kleopatra/files/kleopatra-install-headers.patch
new file mode 100644
index 00000000000..0478141b26b
--- /dev/null
+++ b/kde-apps/kleopatra/files/kleopatra-install-headers.patch
@@ -0,0 +1,48 @@
+Install headers needed by Kopete's cryptography plugin.
+
+Patch borrowed from Fedora.
+
+diff --git a/kleopatra/libkleopatraclient/CMakeLists.txt b/kleopatra/libkleopatraclient/CMakeLists.txt
+index 17b4980..690b00d 100644
+--- a/kleopatra/libkleopatraclient/CMakeLists.txt
++++ b/kleopatra/libkleopatraclient/CMakeLists.txt
+@@ -6,3 +6,7 @@ add_subdirectory(gui)
+
+ add_subdirectory(tests)
+
++install(
++ FILES kleopatraclient_export.h
++ DESTINATION ${INCLUDE_INSTALL_DIR}/libkleopatraclient
++ )
+diff --git a/kleopatra/libkleopatraclient/core/CMakeLists.txt b/kleopatra/libkleopatraclient/core/CMakeLists.txt
+index d4f1ea2..17a6eb5 100644
+--- a/kleopatra/libkleopatraclient/core/CMakeLists.txt
++++ b/kleopatra/libkleopatraclient/core/CMakeLists.txt
+@@ -63,3 +63,13 @@ else()
+ endif()
+
+ install(TARGETS kleopatraclientcore ${INSTALL_TARGETS_DEFAULT_ARGS})
++
++install(
++ FILES
++ initialization.h
++ command.h
++ selectcertificatecommand.h
++ signencryptfilescommand.h
++ decryptverifyfilescommand.h
++ DESTINATION ${INCLUDE_INSTALL_DIR}/libkleopatraclient/core
++ )
+diff --git a/kleopatra/libkleopatraclient/gui/CMakeLists.txt b/kleopatra/libkleopatraclient/gui/CMakeLists.txt
+index 3c5bab2..78dde2e 100644
+--- a/kleopatra/libkleopatraclient/gui/CMakeLists.txt
++++ b/kleopatra/libkleopatraclient/gui/CMakeLists.txt
+@@ -16,3 +16,9 @@ set_target_properties(kleopatraclientgui PROPERTIES
+ )
+
+ install(TARGETS kleopatraclientgui ${INSTALL_TARGETS_DEFAULT_ARGS})
++
++install(
++ FILES
++ certificaterequester.h
++ DESTINATION ${INCLUDE_INSTALL_DIR}/libkleopatraclient/gui
++ )