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.9.2.1.ebuild ChangeLog
Date: Tue, 29 Jul 2014 17:38:22
Message-Id: 20140729173813.D7E672004E@flycatcher.gentoo.org
1 blueness 14/07/29 17:38:12
2
3 Modified: ChangeLog
4 Added: bitcoin-qt-0.9.2.1.ebuild
5 Log:
6 Version bump, bug #505096
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
9
10 Revision Changes Path
11 1.79 net-p2p/bitcoin-qt/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?rev=1.79&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?rev=1.79&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?r1=1.78&r2=1.79
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v
20 retrieving revision 1.78
21 retrieving revision 1.79
22 diff -u -r1.78 -r1.79
23 --- ChangeLog 1 Jan 2014 23:56:16 -0000 1.78
24 +++ ChangeLog 29 Jul 2014 17:38:12 -0000 1.79
25 @@ -1,6 +1,12 @@
26 # ChangeLog for net-p2p/bitcoin-qt
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v 1.78 2014/01/01 23:56:16 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v 1.79 2014/07/29 17:38:12 blueness Exp $
30 +
31 +*bitcoin-qt-0.9.2.1 (29 Jul 2014)
32 +
33 + 29 Jul 2014; Anthony G. Basile <blueness@g.o>
34 + +bitcoin-qt-0.9.2.1.ebuild:
35 + Version bump, bug #505096
36
37 *bitcoin-qt-0.8.6 (01 Jan 2014)
38
39
40
41
42 1.1 net-p2p/bitcoin-qt/bitcoin-qt-0.9.2.1.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.9.2.1.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.9.2.1.ebuild?rev=1.1&content-type=text/plain
46
47 Index: bitcoin-qt-0.9.2.1.ebuild
48 ===================================================================
49 # Copyright 2010-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.9.2.1.ebuild,v 1.1 2014/07/29 17:38:12 blueness Exp $
52
53 EAPI=4
54
55 DB_VER="4.8"
56
57 #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"
58 LANGS="af_ZA ar be_BY bg bs ca ca@valencia ca_ES cs cy da de el_GR en eo es es_CL es_MX et eu_ES fa fa_IR fi fr fr_CA gl gu_IN he hi_IN hr hu id_ID it ja ka ko_KR ky la lt lv_LV mn ms_MY nb nl pl pt_BR pt_PT ro_RO ru sk sl_SI sq sr sv th_TH tr uk ur_PK vi vi_VN zh_HK zh_CN zh_TW"
59 inherit autotools db-use eutils fdo-mime gnome2-utils kde4-functions qt4-r2 user versionator
60
61 MyPV="${PV/_/}"
62 MyPN="bitcoin"
63 MyP="${MyPN}-${MyPV}"
64
65 DESCRIPTION="An end-user Qt4 GUI for the Bitcoin crypto-currency"
66 HOMEPAGE="http://bitcoin.org/"
67 SRC_URI="https://github.com/${MyPN}/${MyPN}/archive/v${MyPV}.tar.gz -> ${MyPN}-v${PV}.tgz
68 "
69
70 LICENSE="MIT ISC GPL-3 LGPL-2.1 public-domain || ( CC-BY-SA-3.0 LGPL-2.1 )"
71 SLOT="0"
72 KEYWORDS="~amd64 ~arm ~x86"
73 IUSE="$IUSE dbus kde +qrcode test upnp"
74
75 RDEPEND="
76 >=dev-libs/boost-1.41.0[threads(+)]
77 dev-libs/openssl:0[-bindist]
78 dev-libs/protobuf
79 qrcode? (
80 media-gfx/qrencode
81 )
82 upnp? (
83 net-libs/miniupnpc
84 )
85 sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx]
86 virtual/bitcoin-leveldb
87 dev-qt/qtgui:4
88 dbus? (
89 dev-qt/qtdbus:4
90 )
91 "
92 DEPEND="${RDEPEND}
93 >=app-shells/bash-4.1
94 "
95
96 S="${WORKDIR}/${MyP}"
97
98 src_prepare() {
99 epatch "${FILESDIR}/0.9.0-sys_leveldb.patch"
100 rm -r src/leveldb
101
102 local filt= yeslang= nolang=
103
104 for lan in $LANGS; do
105 if [ ! -e src/qt/locale/bitcoin_$lan.ts ]; then
106 ewarn "Language '$lan' no longer supported. Ebuild needs update."
107 fi
108 done
109
110 for ts in $(ls src/qt/locale/*.ts)
111 do
112 x="${ts/*bitcoin_/}"
113 x="${x/.ts/}"
114 if ! use "linguas_$x"; then
115 nolang="$nolang $x"
116 rm "$ts"
117 filt="$filt\\|$x"
118 else
119 yeslang="$yeslang $x"
120 fi
121 done
122 filt="bitcoin_\\(${filt:2}\\)\\.\(qm\|ts\)"
123 sed "/${filt}/d" -i 'src/qt/bitcoin.qrc'
124 sed "s/locale\/${filt}/bitcoin.qrc/" -i 'src/qt/Makefile.am'
125 einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang"
126
127 eautoreconf
128 }
129
130 src_configure() {
131 econf \
132 $(use_with dbus qtdbus) \
133 $(use_with upnp miniupnpc) $(use_enable upnp upnp-default) \
134 $(use_with qrcode qrencode) \
135 $(use_enable test tests) \
136 --with-system-leveldb \
137 --without-cli --without-daemon \
138 --with-gui
139 }
140
141 src_test() {
142 emake check
143 }
144
145 src_install() {
146 einstall
147
148 insinto /usr/share/pixmaps
149 newins "share/pixmaps/bitcoin.ico" "${PN}.ico"
150 make_desktop_entry "${PN} %u" "Bitcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Qt;Network;P2P;Office;Finance;" "MimeType=x-scheme-handler/bitcoin;\nTerminal=false"
151
152 dodoc doc/README.md doc/release-notes.md
153 dodoc doc/assets-attribution.md doc/tor.md
154 doman contrib/debian/manpages/bitcoin-qt.1
155
156 if use kde; then
157 insinto /usr/share/kde4/services
158 doins contrib/debian/bitcoin-qt.protocol
159 fi
160 }
161
162 update_caches() {
163 gnome2_icon_cache_update
164 fdo-mime_desktop_database_update
165 buildsycoca
166 }
167
168 pkg_postinst() {
169 update_caches
170 }
171
172 pkg_postrm() {
173 update_caches
174 }