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.6.ebuild ChangeLog |
Date: | Wed, 01 Jan 2014 23:56:20 |
Message-Id: | 20140101235616.40BA92004C@flycatcher.gentoo.org |
1 | blueness 14/01/01 23:56:16 |
2 | |
3 | Modified: ChangeLog |
4 | Added: bitcoin-qt-0.8.6.ebuild |
5 | Log: |
6 | Version bump |
7 | |
8 | (Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA) |
9 | |
10 | Revision Changes Path |
11 | 1.78 net-p2p/bitcoin-qt/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?rev=1.78&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?rev=1.78&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog?r1=1.77&r2=1.78 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v |
20 | retrieving revision 1.77 |
21 | retrieving revision 1.78 |
22 | diff -u -r1.77 -r1.78 |
23 | --- ChangeLog 22 Oct 2013 16:35:24 -0000 1.77 |
24 | +++ ChangeLog 1 Jan 2014 23:56:16 -0000 1.78 |
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.77 2013/10/22 16:35:24 blueness Exp $ |
29 | +# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
30 | +# $Header: /var/cvsroot/gentoo-x86/net-p2p/bitcoin-qt/ChangeLog,v 1.78 2014/01/01 23:56:16 blueness Exp $ |
31 | + |
32 | +*bitcoin-qt-0.8.6 (01 Jan 2014) |
33 | + |
34 | + 01 Jan 2014; Anthony G. Basile <blueness@g.o> +bitcoin-qt-0.8.6.ebuild: |
35 | + Version bump |
36 | |
37 | 22 Oct 2013; Anthony G. Basile <blueness@g.o> |
38 | -files/0.5.0.5+bip16-eligius_sendfee.patch, -files/0.8.0-sys_leveldb.patch: |
39 | |
40 | |
41 | |
42 | 1.1 net-p2p/bitcoin-qt/bitcoin-qt-0.8.6.ebuild |
43 | |
44 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.8.6.ebuild?rev=1.1&view=markup |
45 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/bitcoin-qt/bitcoin-qt-0.8.6.ebuild?rev=1.1&content-type=text/plain |
46 | |
47 | Index: bitcoin-qt-0.8.6.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.8.6.ebuild,v 1.1 2014/01/01 23:56:16 blueness Exp $ |
52 | |
53 | EAPI=4 |
54 | |
55 | DB_VER="4.8" |
56 | |
57 | LANGS="af_ZA ar bg bs ca ca_ES cs cy da de el_GR en eo es es_CL et eu_ES fa fa_IR fi fr fr_CA gu_IN he hi_IN hr hu it ja la lt lv_LV nb nl pl pt_BR pt_PT ro_RO ru sk sr sv th_TH tr uk zh_CN zh_TW" |
58 | inherit db-use eutils fdo-mime gnome2-utils kde4-functions qt4-r2 versionator |
59 | |
60 | MyPV="${PV/_/}" |
61 | MyPN="bitcoin" |
62 | MyP="${MyPN}-${MyPV}" |
63 | |
64 | DESCRIPTION="An end-user Qt4 GUI for the Bitcoin crypto-currency" |
65 | HOMEPAGE="http://bitcoin.org/" |
66 | SRC_URI="https://github.com/${MyPN}/${MyPN}/archive/v${MyPV}.tar.gz -> ${MyPN}-v${PV}.tgz |
67 | 1stclassmsg? ( http://luke.dashjr.org/programs/bitcoin/files/bitcoind/luke-jr/1stclassmsg/0.8.2-1stclassmsg.patch.xz ) |
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 1stclassmsg dbus ipv6 kde +qrcode upnp" |
74 | |
75 | RDEPEND=" |
76 | >=dev-libs/boost-1.41.0[threads(+)] |
77 | dev-libs/openssl:0[-bindist] |
78 | qrcode? ( |
79 | media-gfx/qrencode |
80 | ) |
81 | upnp? ( |
82 | net-libs/miniupnpc |
83 | ) |
84 | sys-libs/db:$(db_ver_to_slot "${DB_VER}")[cxx] |
85 | <=dev-libs/leveldb-1.12.0[-snappy] |
86 | dev-qt/qtgui:4 |
87 | dbus? ( |
88 | dev-qt/qtdbus:4 |
89 | ) |
90 | " |
91 | DEPEND="${RDEPEND} |
92 | >=app-shells/bash-4.1 |
93 | " |
94 | |
95 | DOCS="doc/README.md doc/release-notes.md" |
96 | |
97 | S="${WORKDIR}/${MyP}" |
98 | |
99 | src_prepare() { |
100 | use 1stclassmsg && epatch "${WORKDIR}/0.8.2-1stclassmsg.patch" |
101 | epatch "${FILESDIR}/0.8.2-sys_leveldb.patch" |
102 | rm -r src/leveldb |
103 | |
104 | cd src || die |
105 | |
106 | local filt= yeslang= nolang= |
107 | |
108 | for lan in $LANGS; do |
109 | if [ ! -e qt/locale/bitcoin_$lan.ts ]; then |
110 | ewarn "Language '$lan' no longer supported. Ebuild needs update." |
111 | fi |
112 | done |
113 | |
114 | for ts in $(ls qt/locale/*.ts) |
115 | do |
116 | x="${ts/*bitcoin_/}" |
117 | x="${x/.ts/}" |
118 | if ! use "linguas_$x"; then |
119 | nolang="$nolang $x" |
120 | rm "$ts" |
121 | filt="$filt\\|$x" |
122 | else |
123 | yeslang="$yeslang $x" |
124 | fi |
125 | done |
126 | filt="bitcoin_\\(${filt:2}\\)\\.\(qm\|ts\)" |
127 | sed "/${filt}/d" -i 'qt/bitcoin.qrc' |
128 | einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang" |
129 | } |
130 | |
131 | src_configure() { |
132 | OPTS=() |
133 | |
134 | use dbus && OPTS+=("USE_DBUS=1") |
135 | if use upnp; then |
136 | OPTS+=("USE_UPNP=1") |
137 | else |
138 | OPTS+=("USE_UPNP=-") |
139 | fi |
140 | use qrcode && OPTS+=("USE_QRCODE=1") |
141 | use 1stclassmsg && OPTS+=("FIRST_CLASS_MESSAGING=1") |
142 | use ipv6 || OPTS+=("USE_IPV6=-") |
143 | |
144 | OPTS+=("USE_SYSTEM_LEVELDB=1") |
145 | |
146 | OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") |
147 | OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") |
148 | |
149 | if has_version '>=dev-libs/boost-1.52'; then |
150 | OPTS+=("LIBS+=-lboost_chrono\$\$BOOST_LIB_SUFFIX") |
151 | fi |
152 | |
153 | eqmake4 "${PN}.pro" "${OPTS[@]}" |
154 | } |
155 | |
156 | src_test() { |
157 | cd src || die |
158 | emake -f makefile.unix "${OPTS[@]}" test_bitcoin |
159 | ./test_bitcoin || die 'Tests failed' |
160 | } |
161 | |
162 | src_install() { |
163 | qt4-r2_src_install |
164 | dobin ${PN} |
165 | insinto /usr/share/pixmaps |
166 | newins "share/pixmaps/bitcoin.ico" "${PN}.ico" |
167 | make_desktop_entry "${PN} %u" "Bitcoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Qt;Network;P2P;Office;Finance;" "MimeType=x-scheme-handler/bitcoin;\nTerminal=false" |
168 | |
169 | doman contrib/debian/manpages/bitcoin-qt.1 |
170 | |
171 | if use kde; then |
172 | insinto /usr/share/kde4/services |
173 | doins contrib/debian/bitcoin-qt.protocol |
174 | fi |
175 | } |
176 | |
177 | update_caches() { |
178 | gnome2_icon_cache_update |
179 | fdo-mime_desktop_database_update |
180 | buildsycoca |
181 | } |
182 | |
183 | pkg_postinst() { |
184 | update_caches |
185 | } |
186 | |
187 | pkg_postrm() { |
188 | update_caches |
189 | } |