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.8.1.ebuild ChangeLog |
Date: | Wed, 27 Mar 2013 23:01:43 |
Message-Id: | 20130327230138.C68032171D@flycatcher.gentoo.org |
1 | blueness 13/03/27 23:01:38 |
2 | |
3 | Modified: ChangeLog |
4 | Added: bitcoin-qt-0.8.1.ebuild |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.1.11.55/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
9 | |
10 | Revision Changes Path |
11 | 1.56 net-p2p/bitcoin-qt/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?rev=1.56&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?rev=1.56&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?r1=1.55&r2=1.56 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v |
20 | retrieving revision 1.55 |
21 | retrieving revision 1.56 |
22 | diff -u -r1.55 -r1.56 |
23 | --- ChangeLog 17 Mar 2013 16:23:03 -0000 1.55 |
24 | +++ ChangeLog 27 Mar 2013 23:01:37 -0000 1.56 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for net-p2p/bitcoin-qt |
27 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v 1.55 2013/03/17 16:23:03 hwoarang Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v 1.56 2013/03/27 23:01:37 blueness Exp $ |
30 | + |
31 | +*bitcoin-qt-0.8.1 (27 Mar 2013) |
32 | + |
33 | + 27 Mar 2013; Anthony G. Basile <blueness@g.o> +bitcoin-qt-0.8.1.ebuild: |
34 | + Version bump |
35 | |
36 | 17 Mar 2013; Markos Chandras <hwoarang@g.o> metadata.xml: |
37 | Add proxy-maintainers to metadata.xml |
38 | |
39 | |
40 | |
41 | 1.1 net-p2p/bitcoin-qt/bitcoin-qt-0.8.1.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.8.1.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.8.1.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: bitcoin-qt-0.8.1.ebuild |
47 | =================================================================== |
48 | # Copyright 2010-2013 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.8.1.ebuild,v 1.1 2013/03/27 23:01:37 blueness Exp $ |
51 | |
52 | EAPI=4 |
53 | |
54 | DB_VER="4.8" |
55 | |
56 | LANGS="bg ca_ES cs da de el_GR en es es_CL et eu_ES fa fa_IR fi fr fr_CA gu_IN he hi_IN hr hu it ja lt nb nl pl pt_BR pt_PT ro_RO ru sk sr sv tr uk zh_CN zh_TW" |
57 | inherit db-use eutils qt4-r2 versionator |
58 | |
59 | MyPV="${PV/_/}" |
60 | MyPN="bitcoin" |
61 | MyP="${MyPN}-${MyPV}" |
62 | |
63 | DESCRIPTION="An end-user Qt4 GUI for the Bitcoin crypto-currency" |
64 | HOMEPAGE="http://bitcoin.org/" |
65 | SRC_URI="https://github.com/${MyPN}/${MyPN}/archive/v${MyPV}.tar.gz -> ${MyPN}-v${PV}.tgz |
66 | 1stclassmsg? ( http://luke.dashjr.org/programs/bitcoin/files/bitcoind/luke-jr/1stclassmsg/0.7.1-1stclassmsg.patch.xz ) |
67 | " |
68 | |
69 | LICENSE="MIT ISC GPL-3 LGPL-2.1 public-domain || ( CC-BY-SA-3.0 LGPL-2.1 )" |
70 | SLOT="0" |
71 | KEYWORDS="~amd64 ~arm ~x86" |
72 | IUSE="$IUSE 1stclassmsg dbus ipv6 +qrcode upnp" |
73 | |
74 | RDEPEND=" |
75 | >=dev-libs/boost-1.41.0[threads(+)] |
76 | dev-libs/openssl[-bindist] |
77 | qrcode? ( |
78 | media-gfx/qrencode |
79 | ) |
80 | upnp? ( |
81 | net-libs/miniupnpc |
82 | ) |
83 | sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] |
84 | =dev-libs/leveldb-1.9.0* |
85 | dev-qt/qtgui:4 |
86 | dbus? ( |
87 | dev-qt/qtdbus:4 |
88 | ) |
89 | " |
90 | DEPEND="${RDEPEND} |
91 | >=app-shells/bash-4.1 |
92 | " |
93 | |
94 | DOCS="doc/README" |
95 | |
96 | S="${WORKDIR}/${MyP}" |
97 | |
98 | src_prepare() { |
99 | use 1stclassmsg && epatch "${WORKDIR}/0.7.1-1stclassmsg.patch" |
100 | epatch "${FILESDIR}/0.8.0-sys_leveldb.patch" |
101 | rm -r src/leveldb |
102 | |
103 | cd src || die |
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 | |
133 | use dbus && OPTS+=("USE_DBUS=1") |
134 | if use upnp; then |
135 | OPTS+=("USE_UPNP=1") |
136 | else |
137 | OPTS+=("USE_UPNP=-") |
138 | fi |
139 | use qrcode && OPTS+=("USE_QRCODE=1") |
140 | use 1stclassmsg && OPTS+=("FIRST_CLASS_MESSAGING=1") |
141 | use ipv6 || OPTS+=("USE_IPV6=-") |
142 | |
143 | OPTS+=("USE_SYSTEM_LEVELDB=1") |
144 | |
145 | OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") |
146 | OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") |
147 | |
148 | eqmake4 "${PN}.pro" "${OPTS[@]}" |
149 | } |
150 | |
151 | src_test() { |
152 | cd src || die |
153 | emake -f makefile.unix "${OPTS[@]}" test_bitcoin |
154 | ./test_bitcoin || die 'Tests failed' |
155 | } |
156 | |
157 | src_install() { |
158 | qt4-r2_src_install |
159 | dobin ${PN} |
160 | insinto /usr/share/pixmaps |
161 | newins "share/pixmaps/bitcoin.ico" "${PN}.ico" |
162 | make_desktop_entry ${PN} "Bitcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Network;P2P" |
163 | } |