Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in net-p2p/bitcoin-qt: bitcoin-qt-0.6.4_rc1.ebuild ChangeLog bitcoin-qt-0.5.7_rc1.ebuild bitcoin-qt-0.7.0_rc1.ebuild bitcoin-qt-0.6.0.10_rc1.ebuild
Date: Thu, 30 Aug 2012 22:00:14
Message-Id: 20120830215954.E269720CD6@flycatcher.gentoo.org
1 blueness 12/08/30 21:59:54
2
3 Modified: ChangeLog
4 Added: bitcoin-qt-0.6.4_rc1.ebuild
5 bitcoin-qt-0.5.7_rc1.ebuild
6 bitcoin-qt-0.7.0_rc1.ebuild
7 bitcoin-qt-0.6.0.10_rc1.ebuild
8 Log:
9 Add RC's for next versions
10
11 (Portage version: 2.1.11.9/cvs/Linux x86_64)
12
13 Revision Changes Path
14 1.37 net-p2p/bitcoin-qt/ChangeLog
15
16 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?rev=1.37&view=markup
17 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?rev=1.37&content-type=text/plain
18 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?r1=1.36&r2=1.37
19
20 Index: ChangeLog
21 ===================================================================
22 RCS file: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v
23 retrieving revision 1.36
24 retrieving revision 1.37
25 diff -u -r1.36 -r1.37
26 --- ChangeLog 31 Jul 2012 02:21:23 -0000 1.36
27 +++ ChangeLog 30 Aug 2012 21:59:54 -0000 1.37
28 @@ -1,6 +1,16 @@
29 # ChangeLog for net-p2p/bitcoin-qt
30 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
31 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v 1.36 2012/07/31 02:21:23 blueness Exp $
32 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v 1.37 2012/08/30 21:59:54 blueness Exp $
33 +
34 +*bitcoin-qt-0.7.0_rc1 (30 Aug 2012)
35 +*bitcoin-qt-0.6.4_rc1 (30 Aug 2012)
36 +*bitcoin-qt-0.6.0.10_rc1 (30 Aug 2012)
37 +*bitcoin-qt-0.5.7_rc1 (30 Aug 2012)
38 +
39 + 30 Aug 2012; Anthony G. Basile <blueness@g.o>
40 + +bitcoin-qt-0.5.7_rc1.ebuild, +bitcoin-qt-0.6.0.10_rc1.ebuild,
41 + +bitcoin-qt-0.6.4_rc1.ebuild, +bitcoin-qt-0.7.0_rc1.ebuild:
42 + Add RC's for next versions
43
44 *bitcoin-qt-0.5.6 (31 Jul 2012)
45
46
47
48
49 1.1 net-p2p/bitcoin-qt/bitcoin-qt-0.6.4_rc1.ebuild
50
51 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.6.4_rc1.ebuild?rev=1.1&view=markup
52 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.6.4_rc1.ebuild?rev=1.1&content-type=text/plain
53
54 Index: bitcoin-qt-0.6.4_rc1.ebuild
55 ===================================================================
56 # Copyright 1999-2012 Gentoo Foundation
57 # Distributed under the terms of the GNU General Public License v2
58 # $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.6.4_rc1.ebuild,v 1.1 2012/08/30 21:59:54 blueness Exp $
59
60 EAPI=4
61
62 DB_VER="4.8"
63
64 LANGS="ca_ES cs da de en es es_CL et eu_ES fa fa_IR fi fr_CA fr_FR he hr hu it lt nb nl pl pt_BR ro_RO ru sk sr sv tr uk zh_CN zh_TW"
65 inherit db-use eutils qt4-r2 versionator
66
67 DESCRIPTION="An end-user Qt4 GUI for the Bitcoin crypto-currency"
68 HOMEPAGE="http://bitcoin.org/"
69 SRC_URI="http://gitorious.org/bitcoin/bitcoind-stable/archive-tarball/392d30f0 -> bitcoin-v${PV}.tgz
70 eligius? ( http://luke.dashjr.org/programs/bitcoin/files/bitcoind/eligius/sendfee/0.6.1-eligius_sendfee.patch.xz )
71 "
72
73 LICENSE="MIT ISC GPL-3 md2k7-asyouwish LGPL-2.1 public-domain"
74 SLOT="0"
75 KEYWORDS="~amd64 ~arm ~x86"
76 IUSE="$IUSE 1stclassmsg dbus +eligius +qrcode upnp"
77
78 RDEPEND="
79 >=dev-libs/boost-1.41.0
80 dev-libs/openssl[-bindist]
81 qrcode? (
82 media-gfx/qrencode
83 )
84 upnp? (
85 net-libs/miniupnpc
86 )
87 sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
88 x11-libs/qt-gui:4
89 dbus? (
90 x11-libs/qt-dbus:4
91 )
92 "
93 DEPEND="${RDEPEND}
94 >=app-shells/bash-4.1
95 "
96
97 DOCS="doc/README"
98
99 S="${WORKDIR}/bitcoin-bitcoind-stable"
100
101 src_prepare() {
102 cd src || die
103 use eligius && epatch "${WORKDIR}/0.6.1-eligius_sendfee.patch"
104
105 local filt= yeslang= nolang=
106
107 for lan in $LANGS; do
108 if [ ! -e qt/locale/bitcoin_$lan.ts ]; then
109 ewarn "Language '$lan' no longer supported. Ebuild needs update."
110 fi
111 done
112
113 for ts in $(ls qt/locale/*.ts)
114 do
115 x="${ts/*bitcoin_/}"
116 x="${x/.ts/}"
117 if ! use "linguas_$x"; then
118 nolang="$nolang $x"
119 rm "$ts"
120 filt="$filt\\|$x"
121 else
122 yeslang="$yeslang $x"
123 fi
124 done
125 filt="bitcoin_\\(${filt:2}\\)\\.qm"
126 sed "/${filt}/d" -i 'qt/bitcoin.qrc'
127 einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang"
128 }
129
130 src_configure() {
131 OPTS=()
132 local BOOST_PKG BOOST_VER
133
134 use dbus && OPTS+=("USE_DBUS=1")
135 if use upnp; then
136 OPTS+=("USE_UPNP=1")
137 else
138 OPTS+=("USE_UPNP=-")
139 fi
140 use qrcode && OPTS+=("USE_QRCODE=1")
141 use 1stclassmsg && OPTS+=("FIRST_CLASS_MESSAGING=1")
142
143 OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")")
144 OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}")
145
146 BOOST_PKG="$(best_version 'dev-libs/boost')"
147 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
148 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
149 OPTS+=("BOOST_INCLUDE_PATH=/usr/include/boost-${BOOST_VER}")
150 OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}")
151
152 eqmake4 "${PN}.pro" "${OPTS[@]}"
153 }
154
155 src_compile() {
156 emake
157 }
158
159 src_test() {
160 cd src || die
161 emake -f makefile.unix "${OPTS[@]}" test_bitcoin
162 ./test_bitcoin || die 'Tests failed'
163 }
164
165 src_install() {
166 qt4-r2_src_install
167 dobin ${PN}
168 insinto /usr/share/pixmaps
169 newins "share/pixmaps/bitcoin.ico" "${PN}.ico"
170 make_desktop_entry ${PN} "Bitcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Network;P2P"
171 }
172
173
174
175 1.1 net-p2p/bitcoin-qt/bitcoin-qt-0.5.7_rc1.ebuild
176
177 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.5.7_rc1.ebuild?rev=1.1&view=markup
178 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.5.7_rc1.ebuild?rev=1.1&content-type=text/plain
179
180 Index: bitcoin-qt-0.5.7_rc1.ebuild
181 ===================================================================
182 # Copyright 1999-2012 Gentoo Foundation
183 # Distributed under the terms of the GNU General Public License v2
184 # $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.5.7_rc1.ebuild,v 1.1 2012/08/30 21:59:54 blueness Exp $
185
186 EAPI=4
187
188 DB_VER="4.8"
189
190 LANGS="da de en es es_CL hu it nb nl pt_BR ru uk zh_CN zh_TW"
191 inherit db-use eutils qt4-r2 versionator
192
193 DESCRIPTION="An end-user Qt4 GUI for the Bitcoin crypto-currency"
194 HOMEPAGE="http://bitcoin.org/"
195 SRC_URI="http://gitorious.org/bitcoin/bitcoind-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz
196 bip16? ( http://luke.dashjr.org/programs/bitcoin/files/bip16/0.5.6-Minimal-support-for-mining-BIP16-pay-to-script-hash-.patch.xz )
197 eligius? (
198 !bip16? ( http://luke.dashjr.org/programs/bitcoin/files/eligius_sendfee/0.5.0.6rc1-eligius_sendfee.patch.xz )
199 )
200 "
201
202 LICENSE="MIT ISC GPL-3 md2k7-asyouwish LGPL-2.1 public-domain"
203 SLOT="0"
204 KEYWORDS="~amd64 ~arm ~x86"
205 IUSE="$IUSE +bip16 dbus +eligius ssl upnp"
206
207 RDEPEND="
208 >=dev-libs/boost-1.41.0
209 dev-libs/openssl[-bindist]
210 upnp? (
211 net-libs/miniupnpc
212 )
213 sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
214 x11-libs/qt-gui:4
215 dbus? (
216 x11-libs/qt-dbus:4
217 )
218 "
219 DEPEND="${RDEPEND}
220 >=app-shells/bash-4.1
221 "
222
223 DOCS="doc/README"
224
225 S="${WORKDIR}/bitcoin-bitcoind-stable"
226
227 src_prepare() {
228 cd src || die
229 if use bip16; then
230 epatch "${WORKDIR}/0.5.6-Minimal-support-for-mining-BIP16-pay-to-script-hash-.patch"
231 use eligius && epatch "${FILESDIR}/0.5.0.5+bip16-eligius_sendfee.patch"
232 else
233 use eligius && epatch "${WORKDIR}/0.5.0.6rc1-eligius_sendfee.patch"
234 fi
235
236 local filt= yeslang= nolang=
237
238 for lan in $LANGS; do
239 if [ ! -e qt/locale/bitcoin_$lan.ts ]; then
240 ewarn "Language '$lan' no longer supported. Ebuild needs update."
241 fi
242 done
243
244 for ts in $(ls qt/locale/*.ts)
245 do
246 x="${ts/*bitcoin_/}"
247 x="${x/.ts/}"
248 if ! use "linguas_$x"; then
249 nolang="$nolang $x"
250 rm "$ts"
251 filt="$filt\\|$x"
252 else
253 yeslang="$yeslang $x"
254 fi
255 done
256 filt="bitcoin_\\(${filt:2}\\)\\.qm"
257 sed "/${filt}/d" -i 'qt/bitcoin.qrc'
258 einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang"
259 }
260
261 src_configure() {
262 OPTS=()
263 local BOOST_PKG BOOST_VER
264
265 use dbus && OPTS+=("USE_DBUS=1")
266 use ssl && OPTS+=("DEFINES+=USE_SSL")
267 if use upnp; then
268 OPTS+=("USE_UPNP=1")
269 else
270 OPTS+=("USE_UPNP=-")
271 fi
272
273 OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")")
274 OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}")
275
276 BOOST_PKG="$(best_version 'dev-libs/boost')"
277 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
278 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
279 OPTS+=("BOOST_INCLUDE_PATH=/usr/include/boost-${BOOST_VER}")
280 OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}")
281
282 eqmake4 "${PN}.pro" "${OPTS[@]}"
283 }
284
285 src_compile() {
286 emake
287 }
288
289 src_test() {
290 cd src || die
291 emake -f makefile.unix "${OPTS[@]}" test_bitcoin
292 ./test_bitcoin || die 'Tests failed'
293 }
294
295 src_install() {
296 qt4-r2_src_install
297 dobin ${PN}
298 insinto /usr/share/pixmaps
299 newins "share/pixmaps/bitcoin.ico" "${PN}.ico"
300 make_desktop_entry ${PN} "Bitcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Network;P2P"
301 }
302
303
304
305 1.1 net-p2p/bitcoin-qt/bitcoin-qt-0.7.0_rc1.ebuild
306
307 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.7.0_rc1.ebuild?rev=1.1&view=markup
308 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.7.0_rc1.ebuild?rev=1.1&content-type=text/plain
309
310 Index: bitcoin-qt-0.7.0_rc1.ebuild
311 ===================================================================
312 # Copyright 1999-2012 Gentoo Foundation
313 # Distributed under the terms of the GNU General Public License v2
314 # $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.7.0_rc1.ebuild,v 1.1 2012/08/30 21:59:54 blueness Exp $
315
316 EAPI=4
317
318 DB_VER="4.8"
319
320 LANGS="bg ca_ES cs da de el_GR en es es_CL et eu_ES fa fa_IR fi fr fr_CA he hr hu it lt nb nl pl pt_BR pt_PT ro_RO ru sk sr sv tr uk zh_CN zh_TW"
321 inherit db-use eutils qt4-r2 versionator
322
323 DESCRIPTION="An end-user Qt4 GUI for the Bitcoin crypto-currency"
324 HOMEPAGE="http://bitcoin.org/"
325 SRC_URI="https://nodeload.github.com/bitcoin/bitcoin/tarball/v${PV/_/} -> bitcoin-v${PV}.tgz
326 eligius? ( http://luke.dashjr.org/programs/bitcoin/files/bitcoind/eligius/sendfee/0.7.0-eligius_sendfee.patch.xz )
327 "
328
329 LICENSE="MIT ISC GPL-3 md2k7-asyouwish LGPL-2.1 public-domain"
330 SLOT="0"
331 KEYWORDS="~amd64 ~arm ~x86"
332 IUSE="$IUSE 1stclassmsg dbus +eligius ipv6 +qrcode upnp"
333
334 RDEPEND="
335 >=dev-libs/boost-1.41.0
336 dev-libs/openssl[-bindist]
337 qrcode? (
338 media-gfx/qrencode
339 )
340 upnp? (
341 net-libs/miniupnpc
342 )
343 sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
344 x11-libs/qt-gui:4
345 dbus? (
346 x11-libs/qt-dbus:4
347 )
348 "
349 DEPEND="${RDEPEND}
350 >=app-shells/bash-4.1
351 "
352
353 DOCS="doc/README"
354
355 S="${WORKDIR}/bitcoin-bitcoin-2c124cf"
356
357 src_prepare() {
358 cd src || die
359 use eligius && epatch "${WORKDIR}/0.7.0-eligius_sendfee.patch"
360
361 local filt= yeslang= nolang=
362
363 for lan in $LANGS; do
364 if [ ! -e qt/locale/bitcoin_$lan.ts ]; then
365 ewarn "Language '$lan' no longer supported. Ebuild needs update."
366 fi
367 done
368
369 for ts in $(ls qt/locale/*.ts)
370 do
371 x="${ts/*bitcoin_/}"
372 x="${x/.ts/}"
373 if ! use "linguas_$x"; then
374 nolang="$nolang $x"
375 rm "$ts"
376 filt="$filt\\|$x"
377 else
378 yeslang="$yeslang $x"
379 fi
380 done
381 filt="bitcoin_\\(${filt:2}\\)\\.qm"
382 sed "/${filt}/d" -i 'qt/bitcoin.qrc'
383 einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang"
384 }
385
386 src_configure() {
387 OPTS=()
388 local BOOST_PKG BOOST_VER
389
390 use dbus && OPTS+=("USE_DBUS=1")
391 if use upnp; then
392 OPTS+=("USE_UPNP=1")
393 else
394 OPTS+=("USE_UPNP=-")
395 fi
396 use qrcode && OPTS+=("USE_QRCODE=1")
397 use 1stclassmsg && OPTS+=("FIRST_CLASS_MESSAGING=1")
398 use ipv6 || OPTS+=("USE_IPV6=-")
399
400 OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")")
401 OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}")
402
403 BOOST_PKG="$(best_version 'dev-libs/boost')"
404 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
405 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
406 OPTS+=("BOOST_INCLUDE_PATH=/usr/include/boost-${BOOST_VER}")
407 OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}")
408
409 eqmake4 "${PN}.pro" "${OPTS[@]}"
410 }
411
412 src_compile() {
413 emake
414 }
415
416 src_test() {
417 cd src || die
418 emake -f makefile.unix "${OPTS[@]}" test_bitcoin
419 ./test_bitcoin || die 'Tests failed'
420 }
421
422 src_install() {
423 qt4-r2_src_install
424 dobin ${PN}
425 insinto /usr/share/pixmaps
426 newins "share/pixmaps/bitcoin.ico" "${PN}.ico"
427 make_desktop_entry ${PN} "Bitcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Network;P2P"
428 }
429
430
431
432 1.1 net-p2p/bitcoin-qt/bitcoin-qt-0.6.0.10_rc1.ebuild
433
434 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.6.0.10_rc1.ebuild?rev=1.1&view=markup
435 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.6.0.10_rc1.ebuild?rev=1.1&content-type=text/plain
436
437 Index: bitcoin-qt-0.6.0.10_rc1.ebuild
438 ===================================================================
439 # Copyright 1999-2012 Gentoo Foundation
440 # Distributed under the terms of the GNU General Public License v2
441 # $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.6.0.10_rc1.ebuild,v 1.1 2012/08/30 21:59:54 blueness Exp $
442
443 EAPI=4
444
445 DB_VER="4.8"
446
447 LANGS="ca_ES cs da de en es es_CL et eu_ES fa fa_IR fi fr_CA fr_FR he hr hu it lt nb nl pl pt_BR ro_RO ru sk sr sv tr uk zh_CN zh_TW"
448 inherit db-use eutils qt4-r2 versionator
449
450 DESCRIPTION="An end-user Qt4 GUI for the Bitcoin crypto-currency"
451 HOMEPAGE="http://bitcoin.org/"
452 SRC_URI="http://gitorious.org/bitcoin/bitcoind-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz
453 eligius? ( http://luke.dashjr.org/programs/bitcoin/files/eligius_sendfee/0.6.0-eligius_sendfee.patch.xz )
454 "
455
456 LICENSE="MIT ISC GPL-3 md2k7-asyouwish LGPL-2.1 public-domain"
457 SLOT="0"
458 KEYWORDS="~amd64 ~arm ~x86"
459 IUSE="$IUSE 1stclassmsg dbus +eligius +qrcode ssl upnp"
460
461 RDEPEND="
462 >=dev-libs/boost-1.41.0
463 dev-libs/openssl[-bindist]
464 qrcode? (
465 media-gfx/qrencode
466 )
467 upnp? (
468 net-libs/miniupnpc
469 )
470 sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
471 x11-libs/qt-gui:4
472 dbus? (
473 x11-libs/qt-dbus:4
474 )
475 "
476 DEPEND="${RDEPEND}
477 >=app-shells/bash-4.1
478 "
479
480 DOCS="doc/README"
481
482 S="${WORKDIR}/bitcoin-bitcoind-stable"
483
484 src_prepare() {
485 cd src || die
486 use eligius && epatch "${WORKDIR}/0.6.0-eligius_sendfee.patch"
487
488 local filt= yeslang= nolang=
489
490 for lan in $LANGS; do
491 if [ ! -e qt/locale/bitcoin_$lan.ts ]; then
492 ewarn "Language '$lan' no longer supported. Ebuild needs update."
493 fi
494 done
495
496 for ts in $(ls qt/locale/*.ts)
497 do
498 x="${ts/*bitcoin_/}"
499 x="${x/.ts/}"
500 if ! use "linguas_$x"; then
501 nolang="$nolang $x"
502 rm "$ts"
503 filt="$filt\\|$x"
504 else
505 yeslang="$yeslang $x"
506 fi
507 done
508 filt="bitcoin_\\(${filt:2}\\)\\.qm"
509 sed "/${filt}/d" -i 'qt/bitcoin.qrc'
510 einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang"
511 }
512
513 src_configure() {
514 OPTS=()
515 local BOOST_PKG BOOST_VER
516
517 use dbus && OPTS+=("USE_DBUS=1")
518 use ssl && OPTS+=("DEFINES+=USE_SSL")
519 if use upnp; then
520 OPTS+=("USE_UPNP=1")
521 else
522 OPTS+=("USE_UPNP=-")
523 fi
524 use qrcode && OPTS+=("USE_QRCODE=1")
525 use 1stclassmsg && OPTS+=("FIRST_CLASS_MESSAGING=1")
526
527 OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")")
528 OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}")
529
530 BOOST_PKG="$(best_version 'dev-libs/boost')"
531 BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")"
532 BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")"
533 OPTS+=("BOOST_INCLUDE_PATH=/usr/include/boost-${BOOST_VER}")
534 OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}")
535
536 eqmake4 "${PN}.pro" "${OPTS[@]}"
537 }
538
539 src_compile() {
540 emake
541 }
542
543 src_test() {
544 cd src || die
545 emake -f makefile.unix "${OPTS[@]}" test_bitcoin
546 ./test_bitcoin || die 'Tests failed'
547 }
548
549 src_install() {
550 qt4-r2_src_install
551 dobin ${PN}
552 insinto /usr/share/pixmaps
553 newins "share/pixmaps/bitcoin.ico" "${PN}.ico"
554 make_desktop_entry ${PN} "Bitcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Network;P2P"
555 }