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: ChangeLog bitcoin-qt-0.5.0.3.ebuild bitcoin-qt-0.5.2.ebuild bitcoin-qt-0.5.2_rc1.ebuild bitcoin-qt-0.5.0.3_rc1.ebuild |
Date: | Wed, 11 Jan 2012 15:54:21 |
Message-Id: | 20120111155408.18AE02004B@flycatcher.gentoo.org |
1 | blueness 12/01/11 15:54:08 |
2 | |
3 | Modified: ChangeLog |
4 | Added: bitcoin-qt-0.5.0.3.ebuild bitcoin-qt-0.5.2.ebuild |
5 | Removed: bitcoin-qt-0.5.2_rc1.ebuild |
6 | bitcoin-qt-0.5.0.3_rc1.ebuild |
7 | Log: |
8 | Bumps from release candidates |
9 | |
10 | (Portage version: 2.1.10.41/cvs/Linux x86_64) |
11 | |
12 | Revision Changes Path |
13 | 1.4 net-p2p/bitcoin-qt/ChangeLog |
14 | |
15 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?rev=1.4&view=markup |
16 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?rev=1.4&content-type=text/plain |
17 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?r1=1.3&r2=1.4 |
18 | |
19 | Index: ChangeLog |
20 | =================================================================== |
21 | RCS file: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v |
22 | retrieving revision 1.3 |
23 | retrieving revision 1.4 |
24 | diff -u -r1.3 -r1.4 |
25 | --- ChangeLog 6 Jan 2012 17:21:29 -0000 1.3 |
26 | +++ ChangeLog 11 Jan 2012 15:54:07 -0000 1.4 |
27 | @@ -1,5 +1,13 @@ |
28 | |
29 | |
30 | +*bitcoin-qt-0.5.2 (11 Jan 2012) |
31 | +*bitcoin-qt-0.5.0.3 (11 Jan 2012) |
32 | + |
33 | + 11 Jan 2012; Anthony G. Basile <blueness@g.o> |
34 | + -bitcoin-qt-0.5.0.3_rc1.ebuild, +bitcoin-qt-0.5.0.3.ebuild, |
35 | + -bitcoin-qt-0.5.2_rc1.ebuild, +bitcoin-qt-0.5.2.ebuild: |
36 | + Bumps from release candidates |
37 | + |
38 | *bitcoin-qt-0.5.2_rc1 (06 Jan 2012) |
39 | *bitcoin-qt-0.5.0.3_rc1 (06 Jan 2012) |
40 | |
41 | |
42 | |
43 | |
44 | 1.1 net-p2p/bitcoin-qt/bitcoin-qt-0.5.0.3.ebuild |
45 | |
46 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.5.0.3.ebuild?rev=1.1&view=markup |
47 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.5.0.3.ebuild?rev=1.1&content-type=text/plain |
48 | |
49 | Index: bitcoin-qt-0.5.0.3.ebuild |
50 | =================================================================== |
51 | # Copyright 1999-2012 Gentoo Foundation |
52 | # Distributed under the terms of the GNU General Public License v2 |
53 | # $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.5.0.3.ebuild,v 1.1 2012/01/11 15:54:07 blueness Exp $ |
54 | |
55 | EAPI=4 |
56 | |
57 | DB_VER="4.8" |
58 | |
59 | LANGS="da de en es es_CL nb nl ru zh_TW" |
60 | inherit db-use eutils qt4-r2 versionator |
61 | |
62 | DESCRIPTION="An end-user Qt4 GUI for the Bitcoin crypto-currency" |
63 | HOMEPAGE="http://bitcoin.org/" |
64 | SRC_URI="http://gitorious.org/bitcoin/bitcoind-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz |
65 | eligius? ( http://luke.dashjr.org/programs/bitcoin/files/0.5.2-eligius_sendfee.patch.xz ) |
66 | " |
67 | |
68 | LICENSE="MIT ISC CCPL-Attribution-3.0 GPL-3 md2k7-asyouwish LGPL-2.1 public-domain" |
69 | SLOT="0" |
70 | KEYWORDS="~amd64 ~arm ~x86" |
71 | IUSE="$IUSE dbus +eligius ssl upnp" |
72 | |
73 | RDEPEND=" |
74 | >=dev-libs/boost-1.41.0 |
75 | dev-libs/openssl[-bindist] |
76 | upnp? ( |
77 | net-libs/miniupnpc |
78 | ) |
79 | sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] |
80 | x11-libs/qt-gui |
81 | dbus? ( |
82 | x11-libs/qt-dbus |
83 | ) |
84 | " |
85 | DEPEND="${RDEPEND} |
86 | >=app-shells/bash-4.1 |
87 | " |
88 | |
89 | DOCS="doc/README" |
90 | |
91 | S="${WORKDIR}/bitcoin-bitcoind-stable" |
92 | |
93 | src_prepare() { |
94 | cd src || die |
95 | use eligius && epatch "${WORKDIR}/0.5.2-eligius_sendfee.patch" |
96 | |
97 | local filt= yeslang= nolang= |
98 | |
99 | for lan in $LANGS; do |
100 | if [ ! -e qt/locale/bitcoin_$lan.ts ]; then |
101 | ewarn "Language '$lan' no longer supported. Ebuild needs update." |
102 | fi |
103 | done |
104 | |
105 | for ts in $(ls qt/locale/*.ts) |
106 | do |
107 | x="${ts/*bitcoin_/}" |
108 | x="${x/.ts/}" |
109 | if ! use "linguas_$x"; then |
110 | nolang="$nolang $x" |
111 | rm "$ts" |
112 | filt="$filt\\|$x" |
113 | else |
114 | yeslang="$yeslang $x" |
115 | fi |
116 | done |
117 | filt="bitcoin_\\(${filt:2}\\)\\.qm" |
118 | sed "/${filt}/d" -i 'qt/bitcoin.qrc' |
119 | einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang" |
120 | } |
121 | |
122 | src_configure() { |
123 | local OPTS=() |
124 | local BOOST_PKG BOOST_VER |
125 | |
126 | use dbus && OPTS+=("USE_DBUS=1") |
127 | use ssl && OPTS+=("DEFINES+=USE_SSL") |
128 | if use upnp; then |
129 | OPTS+=("USE_UPNP=1") |
130 | else |
131 | OPTS+=("USE_UPNP=-") |
132 | fi |
133 | |
134 | OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") |
135 | OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") |
136 | |
137 | BOOST_PKG="$(best_version 'dev-libs/boost')" |
138 | BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
139 | BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
140 | OPTS+=("BOOST_INCLUDE_PATH=/usr/include/boost-${BOOST_VER}") |
141 | OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}") |
142 | |
143 | eqmake4 "${PN}.pro" "${OPTS[@]}" |
144 | } |
145 | |
146 | src_compile() { |
147 | emake |
148 | } |
149 | |
150 | src_install() { |
151 | qt4-r2_src_install |
152 | dobin ${PN} |
153 | insinto /usr/share/pixmaps |
154 | newins "share/pixmaps/bitcoin.ico" "${PN}.ico" |
155 | make_desktop_entry ${PN} "Bitcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Network;P2P" |
156 | } |
157 | |
158 | |
159 | |
160 | 1.1 net-p2p/bitcoin-qt/bitcoin-qt-0.5.2.ebuild |
161 | |
162 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.5.2.ebuild?rev=1.1&view=markup |
163 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.5.2.ebuild?rev=1.1&content-type=text/plain |
164 | |
165 | Index: bitcoin-qt-0.5.2.ebuild |
166 | =================================================================== |
167 | # Copyright 1999-2012 Gentoo Foundation |
168 | # Distributed under the terms of the GNU General Public License v2 |
169 | # $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.5.2.ebuild,v 1.1 2012/01/11 15:54:07 blueness Exp $ |
170 | |
171 | EAPI=4 |
172 | |
173 | DB_VER="4.8" |
174 | |
175 | LANGS="da de en es es_CL hu it nb nl pt_BR ru uk zh_CN zh_TW" |
176 | inherit db-use eutils qt4-r2 versionator |
177 | |
178 | DESCRIPTION="An end-user Qt4 GUI for the Bitcoin crypto-currency" |
179 | HOMEPAGE="http://bitcoin.org/" |
180 | SRC_URI="http://gitorious.org/bitcoin/bitcoind-stable/archive-tarball/v${PV/_/} -> bitcoin-v${PV}.tgz |
181 | eligius? ( http://luke.dashjr.org/programs/bitcoin/files/0.5.2-eligius_sendfee.patch.xz ) |
182 | " |
183 | |
184 | LICENSE="MIT ISC GPL-3 md2k7-asyouwish LGPL-2.1 public-domain" |
185 | SLOT="0" |
186 | KEYWORDS="~amd64 ~arm ~x86" |
187 | IUSE="$IUSE dbus +eligius ssl upnp" |
188 | |
189 | RDEPEND=" |
190 | >=dev-libs/boost-1.41.0 |
191 | dev-libs/openssl[-bindist] |
192 | upnp? ( |
193 | net-libs/miniupnpc |
194 | ) |
195 | sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] |
196 | x11-libs/qt-gui |
197 | dbus? ( |
198 | x11-libs/qt-dbus |
199 | ) |
200 | " |
201 | DEPEND="${RDEPEND} |
202 | >=app-shells/bash-4.1 |
203 | " |
204 | |
205 | DOCS="doc/README" |
206 | |
207 | S="${WORKDIR}/bitcoin-bitcoind-stable" |
208 | |
209 | src_prepare() { |
210 | cd src || die |
211 | use eligius && epatch "${WORKDIR}/0.5.2-eligius_sendfee.patch" |
212 | |
213 | local filt= yeslang= nolang= |
214 | |
215 | for lan in $LANGS; do |
216 | if [ ! -e qt/locale/bitcoin_$lan.ts ]; then |
217 | ewarn "Language '$lan' no longer supported. Ebuild needs update." |
218 | fi |
219 | done |
220 | |
221 | for ts in $(ls qt/locale/*.ts) |
222 | do |
223 | x="${ts/*bitcoin_/}" |
224 | x="${x/.ts/}" |
225 | if ! use "linguas_$x"; then |
226 | nolang="$nolang $x" |
227 | rm "$ts" |
228 | filt="$filt\\|$x" |
229 | else |
230 | yeslang="$yeslang $x" |
231 | fi |
232 | done |
233 | filt="bitcoin_\\(${filt:2}\\)\\.qm" |
234 | sed "/${filt}/d" -i 'qt/bitcoin.qrc' |
235 | einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang" |
236 | } |
237 | |
238 | src_configure() { |
239 | local OPTS=() |
240 | local BOOST_PKG BOOST_VER |
241 | |
242 | use dbus && OPTS+=("USE_DBUS=1") |
243 | use ssl && OPTS+=("DEFINES+=USE_SSL") |
244 | if use upnp; then |
245 | OPTS+=("USE_UPNP=1") |
246 | else |
247 | OPTS+=("USE_UPNP=-") |
248 | fi |
249 | |
250 | OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") |
251 | OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") |
252 | |
253 | BOOST_PKG="$(best_version 'dev-libs/boost')" |
254 | BOOST_VER="$(get_version_component_range 1-2 "${BOOST_PKG/*boost-/}")" |
255 | BOOST_VER="$(replace_all_version_separators _ "${BOOST_VER}")" |
256 | OPTS+=("BOOST_INCLUDE_PATH=/usr/include/boost-${BOOST_VER}") |
257 | OPTS+=("BOOST_LIB_SUFFIX=-${BOOST_VER}") |
258 | |
259 | eqmake4 "${PN}.pro" "${OPTS[@]}" |
260 | } |
261 | |
262 | src_compile() { |
263 | emake |
264 | } |
265 | |
266 | src_install() { |
267 | qt4-r2_src_install |
268 | dobin ${PN} |
269 | insinto /usr/share/pixmaps |
270 | newins "share/pixmaps/bitcoin.ico" "${PN}.ico" |
271 | make_desktop_entry ${PN} "Bitcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Network;P2P" |
272 | } |