summaryrefslogtreecommitdiff
path: root/user/trojita/use-qgpgme.patch
diff options
context:
space:
mode:
authorKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-07-31 17:10:56 -0500
committerKiyoshi Aman <kiyoshi.aman+apkfission@gmail.com>2018-07-31 17:10:56 -0500
commitcdad188dda65a63cf9926389ae2ea50f999439c9 (patch)
tree959b458e7fac0b5f235b16c7530c774590ff0bc4 /user/trojita/use-qgpgme.patch
parentd834ebd9b0f56f9f1765f1995c7a9a11d5fda3b4 (diff)
downloadpackages-cdad188dda65a63cf9926389ae2ea50f999439c9.tar.gz
packages-cdad188dda65a63cf9926389ae2ea50f999439c9.tar.bz2
packages-cdad188dda65a63cf9926389ae2ea50f999439c9.tar.xz
packages-cdad188dda65a63cf9926389ae2ea50f999439c9.zip
user/trojita: new package
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()
+