diff options
Diffstat (limited to 'kde-apps/kdepimlibs/kdepimlibs-4.14.10_p20160611.ebuild')
-rw-r--r-- | kde-apps/kdepimlibs/kdepimlibs-4.14.10_p20160611.ebuild | 61 |
1 files changed, 61 insertions, 0 deletions
diff --git a/kde-apps/kdepimlibs/kdepimlibs-4.14.10_p20160611.ebuild b/kde-apps/kdepimlibs/kdepimlibs-4.14.10_p20160611.ebuild new file mode 100644 index 000000000000..aa5f15224d93 --- /dev/null +++ b/kde-apps/kdepimlibs/kdepimlibs-4.14.10_p20160611.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_HANDBOOK="optional" +CPPUNIT_REQUIRED="optional" +inherit kde4-base + +DESCRIPTION="Common library for KDE PIM apps" +SRC_URI="https://dev.gentoo.org/~asturm/distfiles/${P/10_p/11_pre}.tar.xz" + +KEYWORDS="~amd64 ~arm ~x86 ~amd64-linux ~x86-linux" +LICENSE="LGPL-2.1" +IUSE="debug ldap prison" + +# some akonadi tests timeout, that probably needs more work as its ~700 tests +RESTRICT="test" + +DEPEND=" + >=app-crypt/gpgme-1.8.0 + dev-libs/boost:= + dev-libs/cyrus-sasl + dev-libs/libgpg-error + dev-libs/libical:= + dev-libs/qjson + kde-apps/akonadi:4 + media-libs/phonon[qt4] + x11-misc/shared-mime-info + ldap? ( net-nds/openldap ) + prison? ( kde-frameworks/prison:4 ) +" +# boost is not linked to, but headers which include it are installed +# bug #418071 +RDEPEND="${DEPEND}" + +# breaks veryoldpim POP3, see also: https://git.reviewboard.kde.org/r/124987/ +PATCHES=( "${FILESDIR}/${P}-revert-544410c90.patch" ) + +S="${WORKDIR}/${P/10_p/11_pre}" + +src_configure() { + local mycmakeargs=( + -DBUILD_TOOLS=OFF + -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')" +} |