1 |
blueness 12/07/31 02:21:23 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: bitcoin-qt-0.5.6.ebuild |
5 |
Removed: bitcoin-qt-0.5.6_rc3.ebuild |
6 |
Log: |
7 |
Version bump and punt older RC |
8 |
|
9 |
(Portage version: 2.1.10.65/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.36 net-p2p/bitcoin-qt/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?rev=1.36&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?rev=1.36&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?r1=1.35&r2=1.36 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v |
21 |
retrieving revision 1.35 |
22 |
retrieving revision 1.36 |
23 |
diff -u -r1.35 -r1.36 |
24 |
--- ChangeLog 26 Jul 2012 17:12:19 -0000 1.35 |
25 |
+++ ChangeLog 31 Jul 2012 02:21:23 -0000 1.36 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for net-p2p/bitcoin-qt |
28 |
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v 1.35 2012/07/26 17:12:19 johu Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v 1.36 2012/07/31 02:21:23 blueness Exp $ |
31 |
+ |
32 |
+*bitcoin-qt-0.5.6 (31 Jul 2012) |
33 |
+ |
34 |
+ 31 Jul 2012; Anthony G. Basile <blueness@g.o> |
35 |
+ -bitcoin-qt-0.5.6_rc3.ebuild, +bitcoin-qt-0.5.6.ebuild: |
36 |
+ Version bump and punt older RC |
37 |
|
38 |
26 Jul 2012; Johannes Huber <johu@g.o> bitcoin-qt-0.5.6_rc2.ebuild, |
39 |
bitcoin-qt-0.5.6_rc3.ebuild, bitcoin-qt-0.6.0.9.ebuild, |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-p2p/bitcoin-qt/bitcoin-qt-0.5.6.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.5.6.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.5.6.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: bitcoin-qt-0.5.6.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2012 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.5.6.ebuild,v 1.1 2012/07/31 02:21:23 blueness Exp $ |
53 |
|
54 |
EAPI=4 |
55 |
|
56 |
DB_VER="4.8" |
57 |
|
58 |
LANGS="da de en es es_CL hu it nb nl pt_BR ru uk zh_CN zh_TW" |
59 |
inherit db-use eutils qt4-r2 versionator |
60 |
|
61 |
DESCRIPTION="An end-user Qt4 GUI for the Bitcoin crypto-currency" |
62 |
HOMEPAGE="http://bitcoin.org/" |
63 |
SRC_URI="http://gitorious.org/bitcoin/bitcoind-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz |
64 |
bip16? ( http://luke.dashjr.org/programs/bitcoin/files/bip16/0.5.6-Minimal-support-for-mining-BIP16-pay-to-script-hash-.patch.xz ) |
65 |
eligius? ( |
66 |
!bip16? ( http://luke.dashjr.org/programs/bitcoin/files/eligius_sendfee/0.5.0.6rc1-eligius_sendfee.patch.xz ) |
67 |
) |
68 |
" |
69 |
|
70 |
LICENSE="MIT ISC GPL-3 md2k7-asyouwish LGPL-2.1 public-domain" |
71 |
SLOT="0" |
72 |
KEYWORDS="~amd64 ~arm ~x86" |
73 |
IUSE="$IUSE +bip16 dbus +eligius ssl upnp" |
74 |
|
75 |
RDEPEND=" |
76 |
>=dev-libs/boost-1.41.0 |
77 |
dev-libs/openssl[-bindist] |
78 |
upnp? ( |
79 |
net-libs/miniupnpc |
80 |
) |
81 |
sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] |
82 |
x11-libs/qt-gui:4 |
83 |
dbus? ( |
84 |
x11-libs/qt-dbus:4 |
85 |
) |
86 |
" |
87 |
DEPEND="${RDEPEND} |
88 |
>=app-shells/bash-4.1 |
89 |
" |
90 |
|
91 |
DOCS="doc/README" |
92 |
|
93 |
S="${WORKDIR}/bitcoin-bitcoind-stable" |
94 |
|
95 |
src_prepare() { |
96 |
cd src || die |
97 |
if use bip16; then |
98 |
epatch "${WORKDIR}/0.5.6-Minimal-support-for-mining-BIP16-pay-to-script-hash-.patch" |
99 |
use eligius && epatch "${FILESDIR}/0.5.0.5+bip16-eligius_sendfee.patch" |
100 |
else |
101 |
use eligius && epatch "${WORKDIR}/0.5.0.6rc1-eligius_sendfee.patch" |
102 |
fi |
103 |
|
104 |
local filt= yeslang= nolang= |
105 |
|
106 |
for lan in $LANGS; do |
107 |
if [ ! -e qt/locale/bitcoin_$lan.ts ]; then |
108 |
ewarn "Language '$lan' no longer supported. Ebuild needs update." |
109 |
fi |
110 |
done |
111 |
|
112 |
for ts in $(ls qt/locale/*.ts) |
113 |
do |
114 |
x="${ts/*bitcoin_/}" |
115 |
x="${x/.ts/}" |
116 |
if ! use "linguas_$x"; then |
117 |
nolang="$nolang $x" |
118 |
rm "$ts" |
119 |
filt="$filt\\|$x" |
120 |
else |
121 |
yeslang="$yeslang $x" |
122 |
fi |
123 |
done |
124 |
filt="bitcoin_\\(${filt:2}\\)\\.qm" |
125 |
sed "/${filt}/d" -i 'qt/bitcoin.qrc' |
126 |
einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang" |
127 |
} |
128 |
|
129 |
src_configure() { |
130 |
OPTS=() |
131 |
local BOOST_PKG BOOST_VER |
132 |
|
133 |
use dbus && OPTS+=("USE_DBUS=1") |
134 |
use ssl && OPTS+=("DEFINES+=USE_SSL") |
135 |
if use upnp; then |
136 |
OPTS+=("USE_UPNP=1") |
137 |
else |
138 |
OPTS+=("USE_UPNP=-") |
139 |
fi |
140 |
|
141 |
OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") |
142 |
OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") |
143 |
|
144 |
BOOST_PKG="$(best_version 'dev-libs/boost')" |
145 |
BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
146 |
BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
147 |
OPTS+=("BOOST_INCLUDE_PATH=/usr/include/boost-${BOOST_VER}") |
148 |
OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}") |
149 |
|
150 |
eqmake4 "${PN}.pro" "${OPTS[@]}" |
151 |
} |
152 |
|
153 |
src_compile() { |
154 |
emake |
155 |
} |
156 |
|
157 |
src_test() { |
158 |
cd src || die |
159 |
emake -f makefile.unix "${OPTS[@]}" test_bitcoin |
160 |
./test_bitcoin || die 'Tests failed' |
161 |
} |
162 |
|
163 |
src_install() { |
164 |
qt4-r2_src_install |
165 |
dobin ${PN} |
166 |
insinto /usr/share/pixmaps |
167 |
newins "share/pixmaps/bitcoin.ico" "${PN}.ico" |
168 |
make_desktop_entry ${PN} "Bitcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Network;P2P" |
169 |
} |