Lines 16-40
Link Here
|
16 |
SLOT="0" |
16 |
SLOT="0" |
17 |
LICENSE="GPL-2" |
17 |
LICENSE="GPL-2" |
18 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" |
18 |
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" |
19 |
IUSE="+doc ofx hbci chipcard debug mysql python quotes sqlite postgres webkit" |
19 |
IUSE="chipcard cxx debug +doc hbci mysql ofx postgres python quotes sqlite webkit" |
20 |
|
20 |
|
21 |
# FIXME: rdepend on dev-libs/qof when upstream fix their mess (see configure.in) |
21 |
# FIXME: rdepend on dev-libs/qof when upstream fix their mess (see configure.in) |
22 |
|
22 |
|
23 |
RDEPEND=">=dev-libs/glib-2.13:2 |
23 |
RDEPEND=">=dev-libs/glib-2.13:2 |
24 |
>=dev-libs/popt-1.5 |
24 |
>=dev-libs/popt-1.5 |
25 |
>=dev-libs/libxml2-2.5.10 |
25 |
>=dev-libs/libxml2-2.5.10:2 |
26 |
>=dev-scheme/guile-1.8.3[deprecated,regex] |
26 |
>=dev-scheme/guile-1.8.3:12[deprecated,regex] |
27 |
dev-scheme/guile-www |
27 |
dev-scheme/guile-www |
28 |
>=dev-scheme/slib-3.1.4 |
28 |
>=dev-scheme/slib-3.1.4 |
29 |
>=gnome-base/gconf-2 |
29 |
>=gnome-base/gconf-2:2 |
30 |
>=gnome-base/libgnomeui-2.4 |
30 |
>=gnome-base/libgnomeui-2.4 |
31 |
>=gnome-base/libglade-2.4 |
31 |
>=gnome-base/libglade-2.4:2.0 |
32 |
|| ( <gnome-base/gnome-keyring-2.29 gnome-base/libgnome-keyring ) |
32 |
|| ( <gnome-base/gnome-keyring-2.29 gnome-base/libgnome-keyring ) |
33 |
media-libs/libart_lgpl |
33 |
media-libs/libart_lgpl |
34 |
>=sys-libs/zlib-1.1.4 |
34 |
>=sys-libs/zlib-1.1.4 |
35 |
>=x11-libs/gtk+-2.14:2 |
35 |
>=x11-libs/gtk+-2.14:2 |
36 |
x11-libs/goffice:0.8[gnome] |
36 |
x11-libs/goffice:0.8[gnome] |
37 |
x11-libs/pango |
37 |
x11-libs/pango |
|
|
38 |
cxx? ( dev-cpp/gtkmm:2.4 ) |
38 |
ofx? ( >=dev-libs/libofx-0.9.1 ) |
39 |
ofx? ( >=dev-libs/libofx-0.9.1 ) |
39 |
hbci? ( |
40 |
hbci? ( |
40 |
|| ( |
41 |
|| ( |
Lines 46-52
Link Here
|
46 |
quotes? ( dev-perl/DateManip |
47 |
quotes? ( dev-perl/DateManip |
47 |
>=dev-perl/Finance-Quote-1.11 |
48 |
>=dev-perl/Finance-Quote-1.11 |
48 |
dev-perl/HTML-TableExtract ) |
49 |
dev-perl/HTML-TableExtract ) |
49 |
webkit? ( net-libs/webkit-gtk ) |
50 |
webkit? ( net-libs/webkit-gtk:2 ) |
50 |
!webkit? ( >=gnome-extra/gtkhtml-3.16:3.14 ) |
51 |
!webkit? ( >=gnome-extra/gtkhtml-3.16:3.14 ) |
51 |
sqlite? ( dev-db/libdbi dev-db/libdbi-drivers[sqlite3] ) |
52 |
sqlite? ( dev-db/libdbi dev-db/libdbi-drivers[sqlite3] ) |
52 |
postgres? ( dev-db/libdbi dev-db/libdbi-drivers[postgres] ) |
53 |
postgres? ( dev-db/libdbi dev-db/libdbi-drivers[postgres] ) |
Lines 62-74
Link Here
|
62 |
|
63 |
|
63 |
PDEPEND="doc? ( >=app-doc/gnucash-docs-${DOC_VER} )" |
64 |
PDEPEND="doc? ( >=app-doc/gnucash-docs-${DOC_VER} )" |
64 |
#ELTCONF="--patch-only" |
65 |
#ELTCONF="--patch-only" |
65 |
DOCS="doc/README.OFX doc/README.HBCI" |
|
|
66 |
|
66 |
|
67 |
# FIXME: no the best thing to do but it'd be even better to fix autofoo |
67 |
# FIXME: no the best thing to do but it'd be even better to fix autofoo |
68 |
# XXX: does not break here |
68 |
# XXX: does not break here |
69 |
#MAKEOPTS="${MAKEOPTS} -j1" |
69 |
#MAKEOPTS="${MAKEOPTS} -j1" |
70 |
|
70 |
|
71 |
pkg_setup() { |
71 |
pkg_setup() { |
|
|
72 |
DOCS="doc/README.OFX doc/README.HBCI" |
73 |
|
72 |
if use webkit ; then |
74 |
if use webkit ; then |
73 |
G2CONF+=" --with-html-engine=webkit" |
75 |
G2CONF+=" --with-html-engine=webkit" |
74 |
else |
76 |
else |
Lines 80-86
Link Here
|
80 |
else |
82 |
else |
81 |
G2CONF+=" --disable-dbi" |
83 |
G2CONF+=" --disable-dbi" |
82 |
fi |
84 |
fi |
|
|
85 |
|
83 |
G2CONF+=" |
86 |
G2CONF+=" |
|
|
87 |
$(use_enable cxx gtkmm) |
84 |
$(use_enable debug) |
88 |
$(use_enable debug) |
85 |
$(use_enable ofx) |
89 |
$(use_enable ofx) |
86 |
$(use_enable hbci aqbanking) |
90 |
$(use_enable hbci aqbanking) |
Lines 112-122
Link Here
|
112 |
gnome2_src_prepare |
116 |
gnome2_src_prepare |
113 |
: > "${S}"/py-compile |
117 |
: > "${S}"/py-compile |
114 |
|
118 |
|
|
|
119 |
use python && python_convert_shebangs -r 2 . |
120 |
|
115 |
# Disable test broken by libtool magic ??? |
121 |
# Disable test broken by libtool magic ??? |
116 |
epatch "${FILESDIR}/${PN}-2.4.0-disable-dynload-test.patch" |
122 |
epatch "${FILESDIR}/${PN}-2.4.0-disable-dynload-test.patch" |
117 |
|
123 |
|
118 |
# Fix test linking issues |
124 |
# Fix test linking issues |
119 |
epatch "${FILESDIR}/${PN}-2.4.0-fix-tests-linking.patch" |
125 |
epatch "${FILESDIR}/${PN}-2.4.3-fix-tests-linking.patch" |
|
|
126 |
epatch "${FILESDIR}/${PN}-2.4.3-fix-tests-linking2.patch" |
120 |
|
127 |
|
121 |
# Disable python binding tests because of missing file |
128 |
# Disable python binding tests because of missing file |
122 |
sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' \ |
129 |
sed 's/^\(SUBDIRS =.*\)tests\(.*\)$/\1\2/' \ |