summaryrefslogtreecommitdiff
path: root/user/trojita/use-qgpgme.patch
diff options
context:
space:
mode:
Diffstat (limited to 'user/trojita/use-qgpgme.patch')
-rw-r--r--user/trojita/use-qgpgme.patch25
1 files changed, 25 insertions, 0 deletions
diff --git a/user/trojita/use-qgpgme.patch b/user/trojita/use-qgpgme.patch
new file mode 100644
index 000000000..98e25603e
--- /dev/null
+++ b/user/trojita/use-qgpgme.patch
@@ -0,0 +1,25 @@
+diff -Nurd trojita-0.7/CMakeLists.txt trojita-0.7.new/CMakeLists.txt
+--- trojita-0.7/CMakeLists.txt 2016-06-15 02:17:23.000000000 -0500
++++ trojita-0.7.new/CMakeLists.txt 2018-07-31 01:06:59.887245141 -0500
+@@ -94,7 +94,7 @@
+ 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(Gpgmepp "" "https://quickgit.kde.org/?p=gpgmepp.git" "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)
+@@ -626,11 +626,7 @@
+ 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 Gpgmepp QGpgme)
+ endif()
+ endif()
+