summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTimo Gurr <tgurr@gentoo.org>2009-01-17 14:20:00 +0000
committerTimo Gurr <tgurr@gentoo.org>2009-01-17 14:20:00 +0000
commitce58285d0eabd1921c45a58405e6488af12dd414 (patch)
treecc5c275a01be4a635f254941cf96d962391e0ae8 /app-office
parentppc stable #234168 (diff)
downloadgentoo-2-ce58285d0eabd1921c45a58405e6488af12dd414.tar.gz
gentoo-2-ce58285d0eabd1921c45a58405e6488af12dd414.tar.bz2
gentoo-2-ce58285d0eabd1921c45a58405e6488af12dd414.zip
Revbump testing hardcoding prefix to /usr/kde/3.5.
(Portage version: 2.2_rc22/cvs/Linux 2.6.28-gentoo x86_64)
Diffstat (limited to 'app-office')
-rw-r--r--app-office/kmymoney2/ChangeLog9
-rw-r--r--app-office/kmymoney2/kmymoney2-0.9.2-r1.ebuild79
2 files changed, 86 insertions, 2 deletions
diff --git a/app-office/kmymoney2/ChangeLog b/app-office/kmymoney2/ChangeLog
index c4fa79e48c3b..c7a20ad5fa65 100644
--- a/app-office/kmymoney2/ChangeLog
+++ b/app-office/kmymoney2/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-office/kmymoney2
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-office/kmymoney2/ChangeLog,v 1.77 2008/12/15 20:48:39 tgurr Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/kmymoney2/ChangeLog,v 1.78 2009/01/17 14:20:00 tgurr Exp $
+
+*kmymoney2-0.9.2-r1 (17 Jan 2009)
+
+ 17 Jan 2009; Timo Gurr <tgurr@gentoo.org> +kmymoney2-0.9.2-r1.ebuild:
+ Revbump testing hardcoding prefix to /usr/kde/3.5.
15 Dec 2008; Timo Gurr <tgurr@gentoo.org> -kmymoney2-0.8.6.ebuild,
-kmymoney2-0.8.7.ebuild, kmymoney2-0.9.2.ebuild:
diff --git a/app-office/kmymoney2/kmymoney2-0.9.2-r1.ebuild b/app-office/kmymoney2/kmymoney2-0.9.2-r1.ebuild
new file mode 100644
index 000000000000..5757c50bf5c9
--- /dev/null
+++ b/app-office/kmymoney2/kmymoney2-0.9.2-r1.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-office/kmymoney2/kmymoney2-0.9.2-r1.ebuild,v 1.1 2009/01/17 14:20:00 tgurr Exp $
+
+EAPI="1"
+inherit kde
+
+DESCRIPTION="Personal Finances Manager for KDE."
+HOMEPAGE="http://kmymoney2.sourceforge.net"
+SRC_URI="mirror://sourceforge/kmymoney2/${P}-1.tar.bz2"
+LICENSE="GPL-2"
+
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="crypt ofx qtdesigner test"
+
+COMMON_DEPEND="dev-libs/libxml2
+ ofx? ( >=dev-libs/libofx-0.8.2
+ || ( dev-cpp/libxmlpp:2.6 >=dev-cpp/libxmlpp-1.0.1:0 )
+ >=net-misc/curl-7.9.7
+ app-text/opensp )"
+
+DEPEND="${COMMON_DEPEND}
+ >=dev-util/pkgconfig-0.9.0
+ test? ( >=dev-util/cppunit-1.8.0 )"
+
+RDEPEND="${COMMON_DEPEND}
+ crypt? ( app-crypt/gnupg )"
+
+need-kde 3.5
+
+src_unpack() {
+ kde_src_unpack
+
+ cd "${S}"/kmymoney2/widgets
+ for x in Makefile.am Makefile.in; do
+ sed -e "s/kmymoneytitlelabel.png//" -i ${x}
+ done
+}
+
+src_compile() {
+ local myconf
+
+ # workaround kdeprefix mess
+ myconf="${myconf} \
+ --prefix=/usr/kde/3.5 \
+ --mandir=/usr/kde/3.5/share/man \
+ --infodir=/usr/kde/3.5/share/info \
+ --datadir=/usr/kde/3.5/share \
+ --sysconfdir=/usr/kde/3.5/etc"
+
+ myconf="${myconf} \
+ $(use_enable ofx ofxplugin)
+ $(use_enable ofx ofxbanking)
+ $(use_enable qtdesigner)
+ $(use_enable test cppunit)"
+
+ # bug 132665
+ replace-flags "-Os" "-O2"
+
+ kde_src_compile
+}
+
+src_test() {
+ # Parallel make check is broken
+ make -j1 check || die "Make check failed!"
+}
+
+src_install() {
+ kde_src_install
+ # bug 139082
+ rm "${D}"/usr/bin/kmymoney
+}
+
+pkg_postinst() {
+ echo
+ elog "If you want HBCI support in ${P}, please install app-office/kmm_banking separately."
+ echo
+}