summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-11-04 11:52:53 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-11-04 11:52:53 +0000
commit46e11080148ad4f69213a009479e139ded113786 (patch)
treeff3087fb5ba2c7a561cf270be7aea1ad6c1b4729 /app-office/kmymoney
parentadd kmymoney to aqbanking mask (diff)
downloadgentoo-2-46e11080148ad4f69213a009479e139ded113786.tar.gz
gentoo-2-46e11080148ad4f69213a009479e139ded113786.tar.bz2
gentoo-2-46e11080148ad4f69213a009479e139ded113786.zip
Initial patch to support AqBanking 5.x.
(Portage version: 2.2.0_alpha3/cvs/Linux x86_64)
Diffstat (limited to 'app-office/kmymoney')
-rw-r--r--app-office/kmymoney/ChangeLog8
-rw-r--r--app-office/kmymoney/kmymoney-4.5-r1.ebuild76
2 files changed, 83 insertions, 1 deletions
diff --git a/app-office/kmymoney/ChangeLog b/app-office/kmymoney/ChangeLog
index 3fc763c2eeca..89e69afe4ae1 100644
--- a/app-office/kmymoney/ChangeLog
+++ b/app-office/kmymoney/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-office/kmymoney
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/kmymoney/ChangeLog,v 1.12 2010/10/17 02:21:11 jmbsvicetto Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-office/kmymoney/ChangeLog,v 1.13 2010/11/04 11:52:53 ssuominen Exp $
+
+*kmymoney-4.5-r1 (04 Nov 2010)
+
+ 04 Nov 2010; Samuli Suominen <ssuominen@gentoo.org>
+ +kmymoney-4.5-r1.ebuild:
+ Initial patch to support AqBanking 5.x.
17 Oct 2010; Jorge Manuel B. S. Vicetto <jmbsvicetto@gentoo.org>
kmymoney-4.5.ebuild:
diff --git a/app-office/kmymoney/kmymoney-4.5-r1.ebuild b/app-office/kmymoney/kmymoney-4.5-r1.ebuild
new file mode 100644
index 000000000000..e1babbe9080c
--- /dev/null
+++ b/app-office/kmymoney/kmymoney-4.5-r1.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/kmymoney/kmymoney-4.5-r1.ebuild,v 1.1 2010/11/04 11:52:53 ssuominen Exp $
+
+EAPI=3
+
+KMNAME="extragear/office"
+
+if [[ ${PV} != *9999* ]]; then
+ KDE_LINGUAS="bg ca ca@valencia cs da de el en_GB eo es et fi fr ga gl hu it lt
+ ms nds nl pl pt pt_BR ro ru sk sv tr uk zh_CN zh_TW"
+ KDE_DOC_DIRS="doc doc-translations/%lingua_${PN}"
+ KDE_HANDBOOK="optional"
+ SRC_URI="mirror://sourceforge/kmymoney2/${P}.tar.bz2
+ http://dev.gentoo.org/~ssuominen/${P}-aqbanking-5_x.patch.bz2"
+fi
+
+inherit virtualx kde4-base
+
+DESCRIPTION="A personal finance manager for KDE"
+HOMEPAGE="http://kmymoney2.sourceforge.net/"
+
+LICENSE="GPL-2"
+KEYWORDS="~amd64 ~x86"
+SLOT="4"
+IUSE="debug calendar doc hbci ofx quotes test"
+
+COMMON_DEPEND="
+ app-crypt/gpgme
+ >=dev-libs/boost-1.33.1
+ dev-libs/libgpg-error
+ dev-libs/libxml2
+ $(add_kdebase_dep kdepimlibs)
+ calendar? ( dev-libs/libical )
+ hbci? (
+ >=net-libs/aqbanking-5.0.1
+ >=sys-libs/gwenhywfar-4.0.1[qt4]
+ )
+ ofx? ( >=dev-libs/libofx-0.9.1 )
+"
+RDEPEND="${COMMON_DEPEND}
+ quotes? ( >=dev-perl/Finance-Quote-1.17 )
+"
+DEPEND="${COMMON_DEPEND}
+ doc? ( app-doc/doxygen )
+ test? ( >=dev-util/cppunit-1.12.1 )
+"
+
+PATCHES=( "${WORKDIR}"/${P}-aqbanking-5_x.patch )
+
+src_configure() {
+ mycmakeargs=(
+ -DUSE_QT_DESIGNER=OFF
+ $(cmake-utils_use_enable calendar LIBICAL)
+ $(cmake-utils_use_use doc DEVELOPER_DOC)
+ $(cmake-utils_use_enable hbci KBANKING)
+ $(cmake-utils_use_enable ofx LIBOFX)
+ $(cmake-utils_use test KDE4_BUILD_TESTS)
+ )
+ kde4-base_src_configure
+}
+
+src_compile() {
+ kde4-base_src_compile
+ use doc && kde4-base_src_compile apidoc
+}
+
+src_install() {
+ use doc && HTML_DOCS=("${CMAKE_BUILD_DIR}/apidocs/html/")
+ kde4-base_src_install
+}
+
+src_test() {
+ export maketype="kde4-base_src_test"
+ virtualmake
+}