summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'kde-apps/gpgmepp/gpgmepp-4.14.11_pre20160611.ebuild')
-rw-r--r--kde-apps/gpgmepp/gpgmepp-4.14.11_pre20160611.ebuild56
1 files changed, 56 insertions, 0 deletions
diff --git a/kde-apps/gpgmepp/gpgmepp-4.14.11_pre20160611.ebuild b/kde-apps/gpgmepp/gpgmepp-4.14.11_pre20160611.ebuild
new file mode 100644
index 000000000000..941901b064af
--- /dev/null
+++ b/kde-apps/gpgmepp/gpgmepp-4.14.11_pre20160611.ebuild
@@ -0,0 +1,56 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+KMNAME="kdepimlibs"
+inherit kde4-base
+
+DESCRIPTION="C++ bindings for gpgme"
+
+KEYWORDS="~amd64 ~x86"
+LICENSE="LGPL-2.1"
+IUSE="debug"
+
+DEPEND="
+ >=app-crypt/gpgme-1.8.0
+ dev-libs/boost:=
+ dev-libs/libgpg-error
+"
+# boost is not linked to, but headers which include it are installed
+# bug #418071
+RDEPEND="${DEPEND}
+ !kde-apps/kdepimlibs:4
+"
+
+S=${WORKDIR}/${KMNAME}
+
+src_prepare() {
+ cmake_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
+
+ # Collisions with kdepimlibs:4
+ 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
+}