diff options
author | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-05 10:39:32 +0200 |
---|---|---|
committer | Christian Mollekopf <chrigi_1@fastmail.fm> | 2018-05-06 17:21:01 +0200 |
commit | 01594e68275a09c67b5ee258e2af86598118a6a0 (patch) | |
tree | 4f859815f6455906bb656f9cc27ba5d6e4111599 /framework/src/CMakeLists.txt | |
parent | 481cb9f600caf3f45596bf78b5ba2bd07007969c (diff) | |
download | kube-01594e68275a09c67b5ee258e2af86598118a6a0.tar.gz kube-01594e68275a09c67b5ee258e2af86598118a6a0.zip |
Port to gpgme only.
QGpgme and Gpgmepp are not readily available, the cmake files buggy, the
buildsystem horrendous and generally just difficult to build on windows.
Given that all they are is a wrapper around gpgme, we're better of
without all the indirections.
What we loose is:
* QGpgme moved the work to separate threads (but we then blocked
anyways), something that we can just do in our own code should we want to.
* QGpgme has a function to prettify dn's that was used to show the
signer. Also something we could bring back should we need to (don't know
where it is useful atm.)
Ported messagepart to gpgme
Almost there
Moved the crypto bits to a separate file
All gpg code is in one place.
All tests passing
Use error codes
Cleanup
Diffstat (limited to 'framework/src/CMakeLists.txt')
-rw-r--r-- | framework/src/CMakeLists.txt | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/framework/src/CMakeLists.txt b/framework/src/CMakeLists.txt index e975e61e..a07bdb75 100644 --- a/framework/src/CMakeLists.txt +++ b/framework/src/CMakeLists.txt | |||
@@ -4,8 +4,7 @@ find_package(KF5Mime 4.87.0 CONFIG REQUIRED) | |||
4 | find_package(KF5CalendarCore CONFIG REQUIRED) | 4 | find_package(KF5CalendarCore CONFIG REQUIRED) |
5 | find_package(Sink 0.6.0 CONFIG REQUIRED) | 5 | find_package(Sink 0.6.0 CONFIG REQUIRED) |
6 | find_package(KAsync CONFIG REQUIRED) | 6 | find_package(KAsync CONFIG REQUIRED) |
7 | find_package(QGpgme CONFIG REQUIRED) | 7 | find_package(Gpgme REQUIRED) |
8 | find_package(Gpgmepp CONFIG REQUIRED) | ||
9 | find_package(KF5Codecs CONFIG REQUIRED) | 8 | find_package(KF5Codecs CONFIG REQUIRED) |
10 | find_package(KF5Contacts CONFIG REQUIRED) | 9 | find_package(KF5Contacts CONFIG REQUIRED) |
11 | 10 | ||
@@ -73,8 +72,7 @@ target_link_libraries(kubeframework | |||
73 | KF5::Codecs | 72 | KF5::Codecs |
74 | KF5::Contacts | 73 | KF5::Contacts |
75 | KAsync | 74 | KAsync |
76 | QGpgme | 75 | gpgme |
77 | Gpgmepp | ||
78 | ) | 76 | ) |
79 | install(TARGETS kubeframework DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) | 77 | install(TARGETS kubeframework DESTINATION ${KDE_INSTALL_TARGETS_DEFAULT_ARGS}) |
80 | 78 | ||