summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <andreas.sturmlechner@gmail.com>2015-11-22 20:06:52 +0100
committerMichael Palimaka <kensington@gentoo.org>2015-12-06 20:45:41 +1100
commit642cec3670a73b4e3ff1250e8fd332be385b97c6 (patch)
treedb25427bee2f2339547ef8e11d87f3231d8560c9 /kde-apps/gpgmepp
parentkde-apps: Move 15.08.3 kdeaccessibility and kdegames from overlay (diff)
downloadgentoo-642cec3670a73b4e3ff1250e8fd332be385b97c6.tar.gz
gentoo-642cec3670a73b4e3ff1250e8fd332be385b97c6.tar.bz2
gentoo-642cec3670a73b4e3ff1250e8fd332be385b97c6.zip
kde-apps/gpgmepp: Move 4.14.10 from overlay
Package-Manager: portage-2.2.20.1
Diffstat (limited to 'kde-apps/gpgmepp')
-rw-r--r--kde-apps/gpgmepp/Manifest1
-rw-r--r--kde-apps/gpgmepp/files/kdepimlibs-4.9.1-boostincludes.patch15
-rw-r--r--kde-apps/gpgmepp/gpgmepp-4.14.10.ebuild57
3 files changed, 73 insertions, 0 deletions
diff --git a/kde-apps/gpgmepp/Manifest b/kde-apps/gpgmepp/Manifest
index cde40b3e060f..d24e95ad33f1 100644
--- a/kde-apps/gpgmepp/Manifest
+++ b/kde-apps/gpgmepp/Manifest
@@ -1 +1,2 @@
DIST gpgmepp-15.08.3.tar.xz 67548 SHA256 dab585067dfba6ea76728b9e574618cf1c7aec2c1113b592026a699af40fd40e SHA512 0dd53df12cfb5d4cc3936af4b27fac0b6db1bcd546fbd62e3f2d3e33a1611ad98666da2da3a98e8551ea8ab656c6995934ad69ee0334c647f6d54da8429b5561 WHIRLPOOL 6df590d354a81eb3bcefaf913ecdf0037673b33d912e70a45dd654a7cf3ed3340688707ef62aaa0b538dcd63d56fc68923fbfb76dc0c7550c5e763006216c42a
+DIST kdepimlibs-4.14.10.tar.xz 2831160 SHA256 c8cc9694add6ecf121bda050235ffa68d8307a82c85fbdffe69a8eab5be584c2 SHA512 64f396957ae1f70a19ba689fabc0850aed04e4e4bce58a4bbc27af2b5cfa27b50472614b4096d8424ee6b4463faaed37d98e6cccfe36d208e9193ba20dc6766a WHIRLPOOL b9123e702f5d4f696cd09d3e7932dbc796f4d8e09feace56a49a96ddb64478bf8cd237bcac9c438d77491822cd655f3f44b76e657f6dbb09b8deb96ab90da52a
diff --git a/kde-apps/gpgmepp/files/kdepimlibs-4.9.1-boostincludes.patch b/kde-apps/gpgmepp/files/kdepimlibs-4.9.1-boostincludes.patch
new file mode 100644
index 000000000000..2df44a733084
--- /dev/null
+++ b/kde-apps/gpgmepp/files/kdepimlibs-4.9.1-boostincludes.patch
@@ -0,0 +1,15 @@
+Make sure that the Boost headers are actually found, since they are
+referenced in the kdepimlibs headers.
+Patch by Alex Turbov, see https://bugs.kde.org/show_bug.cgi?id=306323
+
+--- KdepimLibsConfig.cmake.in.org 2012-08-13 12:46:24.000000000 +0400
++++ KdepimLibsConfig.cmake.in 2012-09-06 08:53:53.000000000 +0400
+@@ -15,7 +15,7 @@
+ set(KDEPIMLIBS_DBUS_INTERFACES_DIR "@KDEPIMLIBS_DBUS_INTERFACES_DIR@")
+ set(KDEPIMLIBS_DBUS_SERVICES_DIR "@KDEPIMLIBS_DBUS_SERVICES_DIR@")
+ set(KDEPIMLIBS_INCLUDE_DIR "@KDEPIMLIBS_INCLUDE_DIR@")
+-set(KDEPIMLIBS_INCLUDE_DIRS "@KDEPIMLIBS_INCLUDE_DIR@" "@KDEPIMLIBS_INCLUDE_DIR@/KDE")
++set(KDEPIMLIBS_INCLUDE_DIRS "@KDEPIMLIBS_INCLUDE_DIR@" "@KDEPIMLIBS_INCLUDE_DIR@/KDE" "@Boost_INCLUDE_DIR@")
+ set(KDEPIMLIBS_LIB_DIR "@KDEPIMLIBS_LIB_DIR@")
+ set(KDEPIMLIBS_BIN_DIR "@KDEPIMLIBS_BIN_DIR@")
+ set(KDEPIMLIBS_LIBEXEC_DIR "@KDEPIMLIBS_LIBEXEC_DIR@")
diff --git a/kde-apps/gpgmepp/gpgmepp-4.14.10.ebuild b/kde-apps/gpgmepp/gpgmepp-4.14.10.ebuild
new file mode 100644
index 000000000000..32469e618879
--- /dev/null
+++ b/kde-apps/gpgmepp/gpgmepp-4.14.10.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+KMNAME="kdepimlibs"
+EGIT_BRANCH="KDE/4.14"
+inherit kde4-base
+
+DESCRIPTION="C++ bindings for gpgme"
+KEYWORDS="~amd64 ~x86"
+LICENSE="LGPL-2.1"
+IUSE="debug"
+
+DEPEND="
+ >=app-crypt/gpgme-1.1.6
+ >=dev-libs/boost-1.35.0-r5:=
+ dev-libs/libgpg-error
+"
+# boost is not linked to, but headers which include it are installed
+# bug #418071
+RDEPEND="${DEPEND}
+ !kde-base/kdepimlibs:4
+"
+
+PATCHES=( "${FILESDIR}/kdepimlibs-4.9.1-boostincludes.patch" )
+
+S="${WORKDIR}/${KMNAME}-${PV}"
+
+src_prepare() {
+ comment_add_subdirectory kmime
+ kde4-base_src_prepare
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_doc=OFF
+ -DCMAKE_DISABLE_FIND_PACKAGE_Prison=ON
+ -DCMAKE_DISABLE_FIND_PACKAGE_Ldap=ON
+ -DKDEPIM_ONLY_KLEO=ON
+ -DKDEPIM_NO_KCAL=ON
+ -DKDEPIM_NO_KRESOURCES=ON
+ )
+
+ kde4-base_src_configure
+}
+
+src_install() {
+ kde4-base_src_install
+ rm -f "${ED}"usr/share/apps/cmake/modules/CheckTimezone.cmake \
+ "${ED}"usr/share/apps/cmake/modules/Find{Ldap,Libical,QtOAuth}.cmake \
+ "${ED}"usr/share/doc/"${PF}"/{akonadi,kabc,kalarmcal,kresources,kxmlrpcclient}.README* \
+ "${ED}"usr/share/doc/"${PF}"/{kabc,kmime,kresources,mailtransport}.TODO* \
+ "${ED}"usr/share/doc/"${PF}"/kabc.HACKING* \
+ "${ED}"usr/share/doc/"${PF}"/ktnef.AUTHORS || die
+}