summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2013-10-13 15:46:25 +0200
committerJohannes Huber <johu@gentoo.org>2013-10-13 15:46:25 +0200
commitfb9db92a58bcb973a3cf8d1aa9e8e54a96d90e5b (patch)
tree6f7088583fddb678942f3b3985f487c7393171a4
parent7ca7b3cc1afbc6cd3e361464365aa0c05b735e82 (diff)
downloadkde-fb9db92a58bcb973a3cf8d1aa9e8e54a96d90e5b.tar.gz
kde-fb9db92a58bcb973a3cf8d1aa9e8e54a96d90e5b.tar.bz2
kde-fb9db92a58bcb973a3cf8d1aa9e8e54a96d90e5b.zip
[kde-base/kwalletd] Fix build wrt bug #484090
* Missing deps spotted by Jekyll Wu <adaptee@gmail.com> * Include patch by Michael Palimaka <kensington@gentoo.org> Package-Manager: portage-2.2.7
-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}"