| # Copyright 1999-2015 Gentoo Foundation |
| # Distributed under the terms of the GNU General Public License v2 |
| # $Id$ |
| |
| EAPI=5 |
| |
| KMNAME="kdepim" |
| KDE_HANDBOOK=optional |
| inherit kde4-meta |
| |
| DESCRIPTION="A Personal Organizer for KDE (noakonadi branch)" |
| KEYWORDS="amd64 ~ppc x86 ~amd64-linux ~x86-linux" |
| IUSE="debug" |
| |
| DEPEND=" |
| $(add_kdebase_dep kdepimlibs '' 4.6) |
| $(add_kdebase_dep libkdepim) |
| sys-libs/zlib |
| " |
| RDEPEND="${DEPEND} |
| $(add_kdeapps_dep ktimezoned '' 4.14.3) |
| " |
| |
| KMLOADLIBS="libkdepim" |
| KMEXTRA="kdgantt1" |
| |
| # xml targets from kmail are being uncommented by kde4-meta.eclass |
| KMEXTRACTONLY=" |
| kmail/ |
| knode/org.kde.knode.xml |
| kaddressbook/org.kde.KAddressbook.Core.xml |
| " |
| |
| # bug 378151 |
| RESTRICT=test |
| |
| src_unpack() { |
| if use kontact; then |
| KMEXTRA="${KMEXTRA} |
| kontact/plugins/planner/ |
| kontact/plugins/specialdates/ |
| " |
| fi |
| |
| kde4-meta_src_unpack |
| } |
| |
| src_prepare() { |
| use handbook && epatch "${FILESDIR}/${PN}-4.4.2015.06-handbook.patch" |
| |
| kde4-meta_src_prepare |
| } |
| |
| pkg_postinst() { |
| kde4-meta_pkg_postinst |
| |
| if ! has_version kde-base/kdepim-kresources:${SLOT}; then |
| echo |
| elog "For groupware functionality, please install kde-base/kdepim-kresources:${SLOT}" |
| echo |
| fi |
| } |