forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
trojita-0.7-gpgme.patch
34 lines (28 loc) · 1.38 KB
/
trojita-0.7-gpgme.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
commit 1978d0a12d2cb4886c5612d6a50b145f409d815c
Author: Andreas Sturmlechner <[email protected]>
Date: Wed Oct 26 22:42:47 2016 +0200
Switch from KF5Gpgmepp to Gpgmepp
Gpgmepp is part of GpgME since 1.7.0.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index edf3e79..6993d2e 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -84,7 +84,7 @@ trojita_plugin_option(WITH_QTKEYCHAIN_PLUGIN "Build Qtkeychain password plugin"
trojita_find_package(Git "" "" "" "")
trojita_find_package(Mimetic "" "http://www.codesink.org/mimetic_mime_library.html" "C++ MIME Library" "Required for client-side MIME parsing" WITH_MIMETIC)
-trojita_find_package(KF5Gpgmepp "" "https://quickgit.kde.org/?p=gpgmepp.git" "C++ bindings for gpgme" "Needed for encrypted/signed e-mails" WITH_GPGMEPP)
+trojita_find_package(QGpgme 1.8.0 "http://www.gnupg.org" "Qt5/C++ bindings for GpgME" "Needed for encrypted/signed e-mails" WITH_GPGMEPP)
trojita_option(WITH_CRYPTO_MESSAGES "Enable support for encrypted messages" AUTO "WITH_MIMETIC;WITH_GPGMEPP")
if(WIN32)
@@ -615,11 +615,7 @@ if(WITH_MIMETIC)
endif()
if(WITH_CRYPTO_MESSAGES)
if(WITH_GPGMEPP)
- if (WIN32)
- target_link_libraries(Cryptography KF5::Gpgmepp KF5::QGpgme)
- else()
- target_link_libraries(Cryptography KF5::Gpgmepp-pthread KF5::QGpgme)
- endif()
+ target_link_libraries(Cryptography QGpgme)
endif()
endif()