Skip to content

Commit

Permalink
kde-apps/gpgmepp: Move 4.14.10 from overlay
Browse files Browse the repository at this point in the history
Package-Manager: portage-2.2.20.1
  • Loading branch information
a17r authored and kensington committed Dec 6, 2015
1 parent ffe20f2 commit 642cec3
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 0 deletions.
1 change: 1 addition & 0 deletions kde-apps/gpgmepp/Manifest
Original file line number Diff line number Diff line change
@@ -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
15 changes: 15 additions & 0 deletions kde-apps/gpgmepp/files/kdepimlibs-4.9.1-boostincludes.patch
Original file line number Diff line number Diff line change
@@ -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@")
57 changes: 57 additions & 0 deletions kde-apps/gpgmepp/gpgmepp-4.14.10.ebuild
Original file line number Diff line number Diff line change
@@ -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
}

0 comments on commit 642cec3

Please sign in to comment.