| 1 |
# Copyright 1999-2012 Gentoo Foundation
|
| 2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
# $Header: /var/cvsroot/gentoo-x86/app-office/grisbi/grisbi-0.8.2.ebuild,v 1.6 2012/05/03 20:00:40 jdhore Exp $
|
| 4 |
|
| 5 |
EAPI="3"
|
| 6 |
|
| 7 |
inherit eutils gnome2
|
| 8 |
|
| 9 |
IUSE="nls ofx ssl"
|
| 10 |
|
| 11 |
DESCRIPTION="Grisbi is a personal accounting application for Linux"
|
| 12 |
HOMEPAGE="http://www.grisbi.org"
|
| 13 |
SRC_URI="mirror://sourceforge/grisbi/grisbi%20stable/0.8.x/${P}.tar.bz2"
|
| 14 |
|
| 15 |
LICENSE="GPL-2"
|
| 16 |
SLOT="0"
|
| 17 |
KEYWORDS="amd64 ~ppc x86"
|
| 18 |
|
| 19 |
RDEPEND="dev-libs/libxml2
|
| 20 |
>=dev-libs/glib-2.18.0
|
| 21 |
>=x11-libs/gtk+-2.12.0:2
|
| 22 |
ssl? ( >=dev-libs/openssl-0.9.5 )
|
| 23 |
ofx? ( >=dev-libs/libofx-0.7.0 )"
|
| 24 |
|
| 25 |
DEPEND="${RDEPEND}
|
| 26 |
virtual/pkgconfig"
|
| 27 |
|
| 28 |
pkg_setup() {
|
| 29 |
G2CONF="
|
| 30 |
--with-plugins
|
| 31 |
--with-libxml2
|
| 32 |
$(use_with ssl openssl)
|
| 33 |
$(use_with ofx)
|
| 34 |
$(use_enable nls)"
|
| 35 |
DOCS="AUTHORS NEWS README"
|
| 36 |
}
|
| 37 |
|
| 38 |
src_prepare() {
|
| 39 |
gnome2_src_prepare
|
| 40 |
|
| 41 |
epatch \
|
| 42 |
"${FILESDIR}/0.8.2-0001-fixes-bug-1289.patch" \
|
| 43 |
"${FILESDIR}/0.8.2-0002-fixes-a-crash-when-importing-a-file-without-extensio.patch" \
|
| 44 |
"${FILESDIR}/0.8.2-0003-fixes-bug-1293-Problem-of-updating-of-the-pointing-b.patch" \
|
| 45 |
"${FILESDIR}/0.8.2-0004-fix-memory-leaks-thanks-Philippe-D.patch" \
|
| 46 |
"${FILESDIR}/0.8.2-0005-fixes-bug-of-compilation.patch"
|
| 47 |
}
|
| 48 |
|
| 49 |
pkg_postinst() {
|
| 50 |
gnome2_pkg_postinst
|
| 51 |
elog "The first thing you should do is set up the browser command in"
|
| 52 |
elog "preferences after you start up grisbi. Otherwise you will not"
|
| 53 |
elog "be able to see the help and manuals."
|
| 54 |
}
|