diff options
author | Arfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org> | 2017-03-05 20:23:43 +0100 |
---|---|---|
committer | Andreas Sturmlechner <asturm@gentoo.org> | 2017-05-01 10:02:42 +0200 |
commit | dd44364919890acd6a02e601173202e04b7267db (patch) | |
tree | 67128a51dbf7311067d529a3f67123f75c7fcdaa /app-office/kmymoney | |
parent | kde-plasma/plasma-workspace: Drop old (diff) | |
download | gentoo-dd44364919890acd6a02e601173202e04b7267db.tar.gz gentoo-dd44364919890acd6a02e601173202e04b7267db.tar.bz2 gentoo-dd44364919890acd6a02e601173202e04b7267db.zip |
app-office/kmymoney: Always use gpgme++ from >=app-crypt/gpgme-1.7.0
Gentoo-bug: 611818
Diffstat (limited to 'app-office/kmymoney')
-rw-r--r-- | app-office/kmymoney/kmymoney-4.8.0-r1.ebuild | 86 |
1 files changed, 86 insertions, 0 deletions
diff --git a/app-office/kmymoney/kmymoney-4.8.0-r1.ebuild b/app-office/kmymoney/kmymoney-4.8.0-r1.ebuild new file mode 100644 index 000000000000..33f344d9913a --- /dev/null +++ b/app-office/kmymoney/kmymoney-4.8.0-r1.ebuild @@ -0,0 +1,86 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_LINGUAS="bs ca ca@valencia cs da de el en_GB es et eu fi fr gl +hu it kk nds nl pl pt pt_BR ro ru sk sv tr uk zh_CN zh_TW" +KDE_HANDBOOK="optional" +VIRTUALX_REQUIRED="test" +VIRTUALDBUS_TEST="true" +inherit kde4-base + +DESCRIPTION="Personal finance manager by KDE" +HOMEPAGE="https://kmymoney.org/" +if [[ ${KDE_BUILD_TYPE} = release ]]; then + SRC_URI="mirror://kde/stable/${PN}/${PV}/src/${P}.tar.xz" +fi + +LICENSE="GPL-2" +SLOT="4" +KEYWORDS="~amd64 ~x86" +IUSE="debug calendar doc hbci ofx pim quotes weboob" + +COMMON_DEPEND=" + >=app-crypt/gpgme-1.7.0[cxx] + <app-office/libalkimia-6.0.0 + dev-libs/gmp:0= + dev-libs/libgpg-error + x11-misc/shared-mime-info + calendar? ( dev-libs/libical:= ) + hbci? ( + >=net-libs/aqbanking-5.5.1 + >=sys-libs/gwenhywfar-4.15.3[qt4] + ) + ofx? ( >=dev-libs/libofx-0.9.4 ) + pim? ( $(add_kdeapps_dep kdepimlibs) ) + weboob? ( www-client/weboob ) +" +RDEPEND="${COMMON_DEPEND} + quotes? ( dev-perl/Finance-Quote ) +" +DEPEND="${COMMON_DEPEND} + dev-libs/boost + virtual/pkgconfig + doc? ( app-doc/doxygen ) +" + +PATCHES=( + "${FILESDIR}/${P}-tests.patch" + "${FILESDIR}/${P}-alkimia-detect.patch" + "${FILESDIR}/${P}-fix-csvdialog.patch" + "${FILESDIR}/${P}-soversion.patch" + "${FILESDIR}/${P}-gpgmepp.patch" + "${FILESDIR}/${P}-kdepimlibs-optional.patch" +) + +src_prepare() { + kde4-base_src_prepare + + # don't install as executable + sed -i kmymoney/CMakeLists.txt \ + -e "/install.*kmymoney.appdata/ s/PROGRAMS/FILES/" || die +} + +src_configure() { + local mycmakeargs=( + -DUSE_QT_DESIGNER=OFF + -DENABLE_LIBICAL=$(usex calendar) + -DUSE_DEVELOPER_DOC=$(usex doc) + -DENABLE_KBANKING=$(usex hbci) + -DENABLE_LIBOFX=$(usex ofx) + $(cmake-utils_use_find_package pim KdepimLibs) + -DENABLE_WEBOOB=$(usex weboob) + ) + kde4-base_src_configure +} + +src_compile() { + kde4-base_src_compile + use doc && kde4-base_src_compile apidoc +} + +src_install() { + use doc && HTML_DOCS=("${BUILD_DIR}/apidocs/html/") + kde4-base_src_install +} |