Support both vanilla gpgme and KDE Frameworks gpgmepp
commite8393376969caf27b0c976d01645edd023c14df2
authorJan Kundrát <jkt@kde.org>
Sat, 17 Dec 2016 12:26:56 +0000 (17 13:26 +0100)
committerJan Kundrát <jkt@kde.org>
Sun, 18 Dec 2016 16:44:20 +0000 (18 17:44 +0100)
tree817f093a05244287dbd7cfb8308eb28156a5f069
parent9ee19e6ddff4f61c9a821d6178e1dcdb9e50406f
Support both vanilla gpgme and KDE Frameworks gpgmepp

KF5Gpgmepp has been merged into GPGME (since 1.7.0) and will not see
any further releases with KDE Applications. We still care about older
distros (and that means older gpgme, and therefore a need for extra
bindings).

Stuff is a bit more complicated because 1.7.x is not thread-safe by
default. Given that gpgme upstream start making their releases pretty
often this fall, it seems safe to go with 1.8.0.

Change-Id: Ia2f05bd8ed2a894435ca328a886325366ba41622
Inspired-By: Heiko Becker <heirecka@exherbo.org>
Inspired-By: Andreas Sturmlechner <andreas.sturmlechner@gmail.com>
Fixed-By: Caspar Schutijser <caspar@schutijser.com>
CMakeLists.txt