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.10.0-r1.ebuild bitcoin-qt-9999.ebuild ChangeLog bitcoin-qt-0.10.0.ebuild
Date: Wed, 04 Mar 2015 00:04:57
Message-Id: 20150304000451.9E7FD12FC1@oystercatcher.gentoo.org
1 blueness 15/03/04 00:04:51
2
3 Modified: bitcoin-qt-9999.ebuild ChangeLog
4 Added: bitcoin-qt-0.10.0-r1.ebuild
5 Removed: bitcoin-qt-0.10.0.ebuild
6 Log:
7 Dependency on leveldb and libsecp256k1 is now handled by the eclass.
8
9 (Portage version: 2.2.14/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
10
11 Revision Changes Path
12 1.6 net-p2p/bitcoin-qt/bitcoin-qt-9999.ebuild
13
14 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-9999.ebuild?rev=1.6&view=markup
15 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-9999.ebuild?rev=1.6&content-type=text/plain
16 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-9999.ebuild?r1=1.5&r2=1.6
17
18 Index: bitcoin-qt-9999.ebuild
19 ===================================================================
20 RCS file: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-9999.ebuild,v
21 retrieving revision 1.5
22 retrieving revision 1.6
23 diff -u -r1.5 -r1.6
24 --- bitcoin-qt-9999.ebuild 24 Feb 2015 00:44:42 -0000 1.5
25 +++ bitcoin-qt-9999.ebuild 4 Mar 2015 00:04:51 -0000 1.6
26 @@ -1,11 +1,13 @@
27 # Copyright 2010-2015 Gentoo Foundation
28 # Distributed under the terms of the GNU General Public License v2
29 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-9999.ebuild,v 1.5 2015/02/24 00:44:42 patrick Exp $
30 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-9999.ebuild,v 1.6 2015/03/04 00:04:51 blueness Exp $
31
32 EAPI=5
33
34 LANGS="ach af_ZA ar be_BY bg bs ca ca@valencia ca_ES cmn cs cy da de el_GR en eo es es_CL es_DO es_MX es_UY et eu_ES fa fa_IR fi fr fr_CA gl gu_IN he hi_IN hr hu id_ID it ja ka kk_KZ ko_KR ky la lt lv_LV mn ms_MY nb nl pam pl pt_BR pt_PT ro_RO ru sah sk sl_SI sq sr sv th_TH tr uk ur_PK uz@Cyrl vi vi_VN zh_HK zh_CN zh_TW"
35 BITCOINCORE_IUSE="dbus kde +qrcode test upnp +wallet"
36 +BITCOINCORE_NEED_LEVELDB=1
37 +BITCOINCORE_NEED_LIBSECP256K1=1
38 inherit bitcoincore eutils fdo-mime gnome2-utils kde4-functions qt4-r2 git-2
39
40 DESCRIPTION="An end-user Qt GUI for the Bitcoin crypto-currency"
41 @@ -14,9 +16,7 @@
42 KEYWORDS=""
43
44 RDEPEND="
45 - virtual/bitcoin-leveldb
46 dev-libs/protobuf
47 - dev-libs/libsecp256k1
48 qrcode? (
49 media-gfx/qrencode
50 )
51
52
53
54 1.100 net-p2p/bitcoin-qt/ChangeLog
55
56 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?rev=1.100&view=markup
57 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?rev=1.100&content-type=text/plain
58 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?r1=1.99&r2=1.100
59
60 Index: ChangeLog
61 ===================================================================
62 RCS file: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v
63 retrieving revision 1.99
64 retrieving revision 1.100
65 diff -u -r1.99 -r1.100
66 --- ChangeLog 1 Mar 2015 12:11:05 -0000 1.99
67 +++ ChangeLog 4 Mar 2015 00:04:51 -0000 1.100
68 @@ -1,6 +1,13 @@
69 # ChangeLog for net-p2p/bitcoin-qt
70 # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
71 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v 1.99 2015/03/01 12:11:05 dilfridge Exp $
72 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v 1.100 2015/03/04 00:04:51 blueness Exp $
73 +
74 +*bitcoin-qt-0.10.0-r1 (04 Mar 2015)
75 +
76 + 04 Mar 2015; Anthony G. Basile <blueness@g.o>
77 + +bitcoin-qt-0.10.0-r1.ebuild, -bitcoin-qt-0.10.0.ebuild,
78 + bitcoin-qt-9999.ebuild:
79 + Dependency on leveldb and libsecp256k1 is now handled by the eclass.
80
81 01 Mar 2015; Andreas K. Huettel <dilfridge@g.o>
82 bitcoin-qt-0.10.0.ebuild:
83
84
85
86 1.1 net-p2p/bitcoin-qt/bitcoin-qt-0.10.0-r1.ebuild
87
88 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.10.0-r1.ebuild?rev=1.1&view=markup
89 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.10.0-r1.ebuild?rev=1.1&content-type=text/plain
90
91 Index: bitcoin-qt-0.10.0-r1.ebuild
92 ===================================================================
93 # Copyright 2010-2015 Gentoo Foundation
94 # Distributed under the terms of the GNU General Public License v2
95 # $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.10.0-r1.ebuild,v 1.1 2015/03/04 00:04:51 blueness Exp $
96
97 EAPI=5
98
99 BITCOINCORE_COMMITHASH="047a89831760ff124740fe9f58411d57ee087078"
100 BITCOINCORE_LJR_DATE="20150220"
101 BITCOINCORE_IUSE="1stclassmsg dbus kde ljr +qrcode qt4 qt5 test upnp +wallet xt zeromq"
102 BITCOINCORE_POLICY_PATCHES="cpfp dcmp rbf spamfilter"
103 LANGS="ach af_ZA ar be_BY bg bs ca ca@valencia ca_ES cmn cs cy da de el_GR en eo es es_CL es_DO es_MX es_UY et eu_ES fa fa_IR fi fr fr_CA gl gu_IN he hi_IN hr hu id_ID it ja ka kk_KZ ko_KR ky la lt lv_LV mn ms_MY nb nl pam pl pt_BR pt_PT ro_RO ru sah sk sl_SI sq sr sv th_TH tr uk ur_PK uz@Cyrl vi vi_VN zh_HK zh_CN zh_TW"
104 BITCOINCORE_NEED_LEVELDB=1
105 BITCOINCORE_NEED_LIBSECP256K1=1
106 inherit bitcoincore eutils fdo-mime gnome2-utils kde4-functions qt4-r2
107
108 DESCRIPTION="An end-user Qt GUI for the Bitcoin crypto-currency"
109 LICENSE="MIT GPL-3 LGPL-2.1 || ( CC-BY-SA-3.0 LGPL-2.1 )"
110 SLOT="0"
111 KEYWORDS="~amd64 ~arm ~x86"
112
113 RDEPEND="
114 dev-libs/protobuf
115 qrcode? (
116 media-gfx/qrencode
117 )
118 qt4? ( dev-qt/qtgui:4 )
119 qt5? ( dev-qt/qtgui:5 )
120 dbus? (
121 qt4? ( dev-qt/qtdbus:4 )
122 qt5? ( dev-qt/qtdbus:5 )
123 )
124 "
125 DEPEND="${RDEPEND}"
126 REQUIRED_USE="${REQUIRED_USE} ^^ ( qt4 qt5 )"
127
128 src_prepare() {
129 bitcoincore_prepare
130
131 local filt= yeslang= nolang=
132
133 for lan in $LANGS; do
134 if [ ! -e src/qt/locale/bitcoin_$lan.ts ]; then
135 ewarn "Language '$lan' no longer supported. Ebuild needs update."
136 fi
137 done
138
139 for ts in $(ls src/qt/locale/*.ts)
140 do
141 x="${ts/*bitcoin_/}"
142 x="${x/.ts/}"
143 if ! use "linguas_$x"; then
144 nolang="$nolang $x"
145 rm "$ts"
146 filt="$filt\\|$x"
147 else
148 yeslang="$yeslang $x"
149 fi
150 done
151 filt="bitcoin_\\(${filt:2}\\)\\.\(qm\|ts\)"
152 sed "/${filt}/d" -i 'src/qt/bitcoin_locale.qrc'
153 sed "s/locale\/${filt}/bitcoin.qrc/" -i 'src/Makefile.qt.include'
154 einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang"
155
156 bitcoincore_autoreconf
157 }
158
159 src_configure() {
160 # NOTE: --enable-zmq actually disables it
161 bitcoincore_conf \
162 $(use_with dbus qtdbus) \
163 $(use_with qrcode qrencode) \
164 $(usex 1stclassmsg --enable-first-class-messaging) \
165 --with-gui=$(usex qt5 qt5 qt4)
166 }
167
168 src_install() {
169 bitcoincore_src_install
170
171 insinto /usr/share/pixmaps
172 newins "share/pixmaps/bitcoin.ico" "${PN}.ico"
173 make_desktop_entry "${PN} %u" "Bitcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Qt;Network;P2P;Office;Finance;" "MimeType=x-scheme-handler/bitcoin;\nTerminal=false"
174
175 dodoc doc/assets-attribution.md doc/tor.md
176 doman contrib/debian/manpages/bitcoin-qt.1
177
178 if use kde; then
179 insinto /usr/share/kde4/services
180 doins contrib/debian/bitcoin-qt.protocol
181 fi
182 }
183
184 update_caches() {
185 gnome2_icon_cache_update
186 fdo-mime_desktop_database_update
187 buildsycoca
188 }
189
190 pkg_postinst() {
191 update_caches
192 }
193
194 pkg_postrm() {
195 update_caches
196 }