From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8A6CA139083 for ; Sun, 3 Dec 2017 17:20:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AABF0E0E68; Sun, 3 Dec 2017 17:20:32 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 713D1E0E5E for ; Sun, 3 Dec 2017 17:20:32 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id DC1E433BF01 for ; Sun, 3 Dec 2017 17:20:30 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 729FAAE71 for ; Sun, 3 Dec 2017 17:20:29 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1512321431.373d8f4340974e76758b223814eff3f6c9dc14be.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-office/kmymoney/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-office/kmymoney/kmymoney-4.8.0-r3.ebuild X-VCS-Directories: app-office/kmymoney/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 373d8f4340974e76758b223814eff3f6c9dc14be X-VCS-Branch: master Date: Sun, 3 Dec 2017 17:20:29 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 794f6e6c-d543-4b31-b9ed-887b0d3739f3 X-Archives-Hash: a74a27e1f4cf4998b0420c167c9aab3e commit: 373d8f4340974e76758b223814eff3f6c9dc14be Author: Andreas Sturmlechner gentoo org> AuthorDate: Sun Dec 3 17:17:11 2017 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sun Dec 3 17:17:11 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=373d8f43 app-office/kmymoney: Drop KDE_LINGUAS Package-Manager: Portage-2.3.16, Repoman-2.3.6 app-office/kmymoney/kmymoney-4.8.0-r3.ebuild | 89 ++++++++++++++++++++++++++++ 1 file changed, 89 insertions(+) diff --git a/app-office/kmymoney/kmymoney-4.8.0-r3.ebuild b/app-office/kmymoney/kmymoney-4.8.0-r3.ebuild new file mode 100644 index 00000000000..b61523303b5 --- /dev/null +++ b/app-office/kmymoney/kmymoney-4.8.0-r3.ebuild @@ -0,0 +1,89 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +KDE_HANDBOOK="optional" +SQL_REQUIRED="always" +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="calendar debug doc hbci ofx quotes weboob" + +COMMON_DEPEND=" + >=app-crypt/gpgme-1.7.0[cxx] + =net-libs/aqbanking-5.5.1 + >=sys-libs/gwenhywfar-4.15.3[qt4] + ) + ofx? ( >=dev-libs/libofx-0.9.4 ) + 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" + "${FILESDIR}/${P}-drop-national-onlinetasks.patch" + "${FILESDIR}/${P}-cmake-3.9.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 + + # bug #617636, complement to drop-national-onlinetasks.patch + rm -r kmymoney/plugins/onlinetasks/national || 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) + -DCMAKE_DISABLE_FIND_PACKAGE_KdepimLibs=ON + -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 +}