summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohannes Huber <johu@gentoo.org>2016-05-02 14:44:01 +0200
committerJohannes Huber <johu@gentoo.org>2016-05-02 14:44:14 +0200
commit8714337264d82d26e3dc1bcf5d00e86f8d1d799f (patch)
tree13a1a5fbb2894201d101f86ed158a84fa5ebe87f /kde-apps/kdepimlibs
parentsys-apps/man-db: Add Prefix keyword ~amd64-linux (diff)
downloadgentoo-8714337264d82d26e3dc1bcf5d00e86f8d1d799f.tar.gz
gentoo-8714337264d82d26e3dc1bcf5d00e86f8d1d799f.tar.bz2
gentoo-8714337264d82d26e3dc1bcf5d00e86f8d1d799f.zip
kde-apps: Add KDE PIM 4 maintenance snapshot
Import from kde overlay. Some improvements compared to last official release. Gentoo-bug: 560376 Package-Manager: portage-2.2.28
Diffstat (limited to 'kde-apps/kdepimlibs')
-rw-r--r--kde-apps/kdepimlibs/Manifest1
-rw-r--r--kde-apps/kdepimlibs/files/kdepimlibs-4.14.11-boostincludes.patch15
-rw-r--r--kde-apps/kdepimlibs/kdepimlibs-4.14.11_pre20160211.ebuild64
3 files changed, 80 insertions, 0 deletions
diff --git a/kde-apps/kdepimlibs/Manifest b/kde-apps/kdepimlibs/Manifest
index 85b70cfaff00..86ce37e4b330 100644
--- a/kde-apps/kdepimlibs/Manifest
+++ b/kde-apps/kdepimlibs/Manifest
@@ -1,2 +1,3 @@
DIST kdepimlibs-4.14.10.tar.xz 2831160 SHA256 c8cc9694add6ecf121bda050235ffa68d8307a82c85fbdffe69a8eab5be584c2 SHA512 64f396957ae1f70a19ba689fabc0850aed04e4e4bce58a4bbc27af2b5cfa27b50472614b4096d8424ee6b4463faaed37d98e6cccfe36d208e9193ba20dc6766a WHIRLPOOL b9123e702f5d4f696cd09d3e7932dbc796f4d8e09feace56a49a96ddb64478bf8cd237bcac9c438d77491822cd655f3f44b76e657f6dbb09b8deb96ab90da52a
+DIST kdepimlibs-4.14.11_pre20160211.tar.gz 4300730 SHA256 3c2559987871761ac13185b0ffa9f7575fe0a5c2e00950b433b25edea7ec47fd SHA512 d0977a5387b0937d850fb3adc8c0bc8086ddb0894d238272f0586e53cc8a157a50b7e6d4aeb97a7fb944521de4f8978a23f172a6bf1b8e6afbbba5a183832b1c WHIRLPOOL 28bdf9c93de2c500fe2c1264c8dff42cc816d414d6b15820bc6c6aaaafc0fe67008ce13b678e0c41ac6780863e94eccb43ab18beb4c052230cad312f4530f58d
DIST kdepimlibs-4.14.8.tar.xz 2832092 SHA256 8208e7fcd9751c244b6454d29f93d41efc9f41dca9dcf350b029d537fc524214 SHA512 49bd845d085bbf1279dbaf25663f151ce10e82d0823e00d44643bf41ea678bbc9792969b6a165789984476a15cb215a95c25ac3e7d4cf3f76228c63a0766e81b WHIRLPOOL 495a828ebd34f529f8bfd07eb1dbbaa1a9fd7c7d2ffece4750edfc6f66f30f812bae17479dfbc03de993a7b61b8de9823fd0c7226a4e3319ead7448a41e3a0ed
diff --git a/kde-apps/kdepimlibs/files/kdepimlibs-4.14.11-boostincludes.patch b/kde-apps/kdepimlibs/files/kdepimlibs-4.14.11-boostincludes.patch
new file mode 100644
index 000000000000..1b5cdcb52e46
--- /dev/null
+++ b/kde-apps/kdepimlibs/files/kdepimlibs-4.14.11-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
+
+--- a/KdepimLibsConfig.cmake.in.org 2012-08-13 12:46:24.000000000 +0400
++++ b/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/kdepimlibs/kdepimlibs-4.14.11_pre20160211.ebuild b/kde-apps/kdepimlibs/kdepimlibs-4.14.11_pre20160211.ebuild
new file mode 100644
index 000000000000..2ee9fac93241
--- /dev/null
+++ b/kde-apps/kdepimlibs/kdepimlibs-4.14.11_pre20160211.ebuild
@@ -0,0 +1,64 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+KDE_HANDBOOK="optional"
+CPPUNIT_REQUIRED="optional"
+EGIT_BRANCH="KDE/4.14"
+inherit kde4-base
+
+DESCRIPTION="Common library for KDE PIM apps"
+COMMIT_ID="a791b69599c3571ff2f4b1cc9033d8fb30f1bc33"
+SRC_URI="https://quickgit.kde.org/?p=kdepimlibs.git&a=snapshot&h=${COMMIT_ID}&fmt=tgz -> ${P}.tar.gz"
+S=${WORKDIR}/${PN}
+
+KEYWORDS=" ~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
+LICENSE="LGPL-2.1"
+IUSE="debug ldap prison"
+
+# some akonadi tests timeout, that probaly needs more work as its ~700 tests
+RESTRICT="test"
+
+DEPEND="
+ >=app-crypt/gpgme-1.1.6
+ >=app-office/akonadi-server-1.12.90[qt4(+)]
+ >=dev-libs/boost-1.35.0-r5:=
+ dev-libs/libgpg-error
+ >=dev-libs/libical-0.48-r2:=
+ dev-libs/cyrus-sasl
+ >=dev-libs/qjson-0.8.1
+ media-libs/phonon[qt4]
+ x11-misc/shared-mime-info
+ prison? ( media-libs/prison:4 )
+ ldap? ( net-nds/openldap )
+"
+# boost is not linked to, but headers which include it are installed
+# bug #418071
+RDEPEND="${DEPEND}
+ !<kde-apps/kdepim-runtime-4.4.11.1-r2:4
+ !kde-misc/akonadi-social-utils
+"
+
+PATCHES=( "${FILESDIR}/${PN}-4.14.11-boostincludes.patch" )
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_doc=$(usex handbook)
+ $(cmake-utils_use_find_package ldap Ldap)
+ $(cmake-utils_use_find_package prison Prison)
+ )
+
+ kde4-base_src_configure
+}
+
+src_install() {
+ kde4-base_src_install
+
+ # Collides with net-im/choqok
+ rm "${ED}"usr/share/apps/cmake/modules/FindQtOAuth.cmake || die
+
+ # contains constants/defines only
+ QA_DT_NEEDED="$(find "${ED}" -type f -name 'libakonadi-kabc.so.*' -printf '/%P\n')"
+}