commit:     3fca84ae909088998849a7835d7c41c9894950d2
Author:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
AuthorDate: Thu Jun  4 17:45:25 2015 +0000
Commit:     Michael Palimaka <kensington <AT> gentoo <DOT> org>
CommitDate: Thu Jun  4 17:45:25 2015 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=3fca84ae

[kde-base/kleopatra] Import patch from Fedora to install headers needed by 
Kopete's cryptography plugin.

Package-Manager: portage-2.2.20

 .../files/kleopatra-install-headers.patch          | 48 ++++++++++++++++++++++
 kde-base/kleopatra/kleopatra-4.9999.ebuild         |  2 +
 2 files changed, 50 insertions(+)

diff --git a/kde-base/kleopatra/files/kleopatra-install-headers.patch 
b/kde-base/kleopatra/files/kleopatra-install-headers.patch
new file mode 100644
index 0000000..0478141
--- /dev/null
+++ b/kde-base/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
++  )

diff --git a/kde-base/kleopatra/kleopatra-4.9999.ebuild 
b/kde-base/kleopatra/kleopatra-4.9999.ebuild
index ac84726..6dd87dd 100644
--- a/kde-base/kleopatra/kleopatra-4.9999.ebuild
+++ b/kde-base/kleopatra/kleopatra-4.9999.ebuild
@@ -30,6 +30,8 @@ KMEXTRACTONLY="
        libkleo/
 "
 
+PATCHES=( "${FILESDIR}/${P}-install-headers.patch" )
+
 src_unpack() {
        if use handbook; then
                KMEXTRA="

Reply via email to