Lines 5-10
Link Here
|
5 |
|
5 |
|
6 |
PYTHON_COMPAT=( python3_{6,7,8} ) |
6 |
PYTHON_COMPAT=( python3_{6,7,8} ) |
7 |
|
7 |
|
|
|
8 |
# The generated .go files from guile can't be stripped. |
9 |
RESTRICT="strip" |
10 |
|
8 |
inherit cmake-utils gnome2-utils python-single-r1 xdg-utils |
11 |
inherit cmake-utils gnome2-utils python-single-r1 xdg-utils |
9 |
|
12 |
|
10 |
DESCRIPTION="A personal finance manager" |
13 |
DESCRIPTION="A personal finance manager" |
Lines 27-39
Link Here
|
27 |
# libdbi version requirement for sqlite taken from bug #455134 |
30 |
# libdbi version requirement for sqlite taken from bug #455134 |
28 |
# |
31 |
# |
29 |
# dev-libs/boost must always be built with nls enabled. |
32 |
# dev-libs/boost must always be built with nls enabled. |
30 |
# guile[deprecated] because of SCM_LIST*() use. |
|
|
31 |
# net-libs/aqbanking dropped gtk with v6, so to simplify the dependency, |
33 |
# net-libs/aqbanking dropped gtk with v6, so to simplify the dependency, |
32 |
# we just rely on that. |
34 |
# we just rely on that. |
33 |
RDEPEND=" |
35 |
RDEPEND=" |
34 |
>=dev-libs/glib-2.46.0:2 |
36 |
>=dev-libs/glib-2.46.0:2 |
35 |
>=dev-libs/libxml2-2.7.0:2 |
37 |
>=dev-libs/libxml2-2.7.0:2 |
36 |
>=dev-scheme/guile-2.2.0:12=[deprecated,regex] |
38 |
>=dev-scheme/guile-2.2.0:12=[regex] |
37 |
>=sys-libs/zlib-1.1.4 |
39 |
>=sys-libs/zlib-1.1.4 |
38 |
dev-libs/boost:=[icu,nls] |
40 |
dev-libs/boost:=[icu,nls] |
39 |
dev-libs/icu:= |
41 |
dev-libs/icu:= |
Lines 103-117
Link Here
|
103 |
|
105 |
|
104 |
# Fix tests writing to /tmp |
106 |
# Fix tests writing to /tmp |
105 |
local fixtestfiles=( |
107 |
local fixtestfiles=( |
106 |
"${S}"/gnucash/report/report-system/test/test-commodity-utils.scm |
108 |
gnucash/report/test/test-report-html.scm |
107 |
"${S}"/gnucash/report/report-system/test/test-extras.scm |
109 |
gnucash/report/reports/standard/test/test-invoice.scm |
108 |
"${S}"/gnucash/report/report-system/test/test-report-html.scm |
110 |
gnucash/report/reports/standard/test/test-new-owner-report.scm |
109 |
"${S}"/gnucash/report/report-system/test/test-report-system.scm |
111 |
gnucash/report/reports/standard/test/test-owner-report.scm |
110 |
"${S}"/libgnucash/backend/xml/test/test-xml-pricedb.cpp |
112 |
gnucash/report/reports/standard/test/test-transaction.scm |
111 |
"${S}"/libgnucash/backend/dbi/test/test-backend-dbi-basic.cpp |
113 |
gnucash/report/reports/standard/test/test-portfolios.scm |
|
|
114 |
gnucash/report/reports/standard/test/test-charts.scm |
115 |
gnucash/report/test/test-report.scm |
116 |
gnucash/report/test/test-commodity-utils.scm |
117 |
gnucash/report/test/test-report-extras.scm |
118 |
libgnucash/backend/dbi/test/test-backend-dbi-basic.cpp |
119 |
libgnucash/backend/xml/test/test-xml-pricedb.cpp |
112 |
) |
120 |
) |
113 |
for x in "${fixtestfiles[@]}"; do |
121 |
for x in "${fixtestfiles[@]}"; do |
114 |
sed -i -e "s|\"/tmp/|\"${T}/|g" "${x}" || die "sed of "${x}" failed" |
122 |
sed -i -e "s|\"/tmp/|\"${T}/|g" "${S}/${x}" || die "sed of "${S}/${x}" failed" |
115 |
done |
123 |
done |
116 |
} |
124 |
} |
117 |
|
125 |
|
Lines 170-186
Link Here
|
170 |
src_install() { |
178 |
src_install() { |
171 |
cmake-utils_src_install |
179 |
cmake-utils_src_install |
172 |
|
180 |
|
173 |
rm "${ED}"/usr/share/doc/${PF}/*win32-bin.txt |
|
|
174 |
|
175 |
if use examples ; then |
181 |
if use examples ; then |
176 |
docompress -x /usr/share/doc/${PF}/examples |
182 |
docompress -x /usr/share/doc/${PF}/examples |
177 |
else |
183 |
else |
178 |
rm -r "${ED}"/usr/share/doc/${PF}/examples |
184 |
rm -r "${ED}"/usr/share/doc/${PF}/examples |
179 |
fi |
185 |
fi |
180 |
|
186 |
|
181 |
use aqbanking && dodoc doc/README.HBCI |
|
|
182 |
use ofx && dodoc doc/README.OFX |
183 |
|
184 |
if use python ; then |
187 |
if use python ; then |
185 |
python_optimize |
188 |
python_optimize |
186 |
python_optimize "${ED}"/usr/share/gnucash/python |
189 |
python_optimize "${ED}"/usr/share/gnucash/python |