summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--kde-base/kwalletd/files/kwalletd-4.12-include-qgpgme.patch13
-rw-r--r--kde-base/kwalletd/kwalletd-9999.ebuild8
2 files changed, 21 insertions, 0 deletions
diff --git a/kde-base/kwalletd/files/kwalletd-4.12-include-qgpgme.patch b/kde-base/kwalletd/files/kwalletd-4.12-include-qgpgme.patch
new file mode 100644
index 00000000000..e634f19c2ec
--- /dev/null
+++ b/kde-base/kwalletd/files/kwalletd-4.12-include-qgpgme.patch
@@ -0,0 +1,13 @@
+diff --git a/kwalletd/CMakeLists.txt b/kwalletd/CMakeLists.txt
+index dfba793..323762f 100644
+--- a/kwalletd/CMakeLists.txt
++++ b/kwalletd/CMakeLists.txt
+@@ -5,7 +5,7 @@ find_package(QGpgme) # provided by kdepimlibs
+
+ if (QGPGME_FOUND)
+ add_definitions(-DHAVE_QGPGME)
+- include_directories(${QGPGME_INCLUDE_DIR})
++ include_directories(${QGPGME_INCLUDE_DIR} ${GPGME_INCLUDES})
+ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} ${KDE4_ENABLE_EXCEPTIONS}")
+ endif(QGPGME_FOUND)
+
diff --git a/kde-base/kwalletd/kwalletd-9999.ebuild b/kde-base/kwalletd/kwalletd-9999.ebuild
index 837651768a0..d7de97fc547 100644
--- a/kde-base/kwalletd/kwalletd-9999.ebuild
+++ b/kde-base/kwalletd/kwalletd-9999.ebuild
@@ -10,3 +10,11 @@ inherit kde4-meta
DESCRIPTION="KDE Password Server"
KEYWORDS=""
IUSE="debug"
+
+PATCHES=( "${FILESDIR}/${PN}-4.12-include-qgpgme.patch" )
+
+DEPEND="
+ app-crypt/gpgme
+ $(add_kdebase_dep kdepimlibs)
+"
+RDEPEND="${DEPEND}"