1 |
sdamashek 14/02/24 03:30:13 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: dogecoin-qt-1.5.1.ebuild |
5 |
Log: |
6 |
Version bump to 1.5.1 |
7 |
|
8 |
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 3C472B56) |
9 |
|
10 |
Revision Changes Path |
11 |
1.4 net-p2p/dogecoin-qt/ChangeLog |
12 |
|
13 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/dogecoin-qt/ChangeLog?rev=1.4&view=markup |
14 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/dogecoin-qt/ChangeLog?rev=1.4&content-type=text/plain |
15 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/dogecoin-qt/ChangeLog?r1=1.3&r2=1.4 |
16 |
|
17 |
Index: ChangeLog |
18 |
=================================================================== |
19 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/dogecoin-qt/ChangeLog,v |
20 |
retrieving revision 1.3 |
21 |
retrieving revision 1.4 |
22 |
diff -u -r1.3 -r1.4 |
23 |
--- ChangeLog 6 Feb 2014 08:13:02 -0000 1.3 |
24 |
+++ ChangeLog 24 Feb 2014 03:30:13 -0000 1.4 |
25 |
@@ -1,10 +1,14 @@ |
26 |
# ChangeLog for net-p2p/dogecoin-qt |
27 |
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
28 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/dogecoin-qt/ChangeLog,v 1.3 2014/02/06 08:13:02 tomwij Exp $ |
29 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/dogecoin-qt/ChangeLog,v 1.4 2014/02/24 03:30:13 sdamashek Exp $ |
30 |
+ |
31 |
+*dogecoin-qt-1.5.1 (24 Feb 2014) |
32 |
+ |
33 |
+ 24 Feb 2014; Samuel Damashek <sdamashek@g.o> +dogecoin-qt-1.5.1.ebuild: |
34 |
+ Version bump to 1.5.1 |
35 |
|
36 |
*dogecoin-qt-1.4.1 (05 Feb 2014) |
37 |
|
38 |
05 Feb 2014; Samuel Damashek <sdamashek@g.o> |
39 |
+dogecoin-qt-1.4.1.ebuild, +metadata.xml: |
40 |
Initial commit |
41 |
- |
42 |
|
43 |
|
44 |
|
45 |
1.1 net-p2p/dogecoin-qt/dogecoin-qt-1.5.1.ebuild |
46 |
|
47 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/dogecoin-qt/dogecoin-qt-1.5.1.ebuild?rev=1.1&view=markup |
48 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/dogecoin-qt/dogecoin-qt-1.5.1.ebuild?rev=1.1&content-type=text/plain |
49 |
|
50 |
Index: dogecoin-qt-1.5.1.ebuild |
51 |
=================================================================== |
52 |
# Copyright 1999-2014 Gentoo Foundation |
53 |
# Distributed under the terms of the GNU General Public License v2 |
54 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/dogecoin-qt/dogecoin-qt-1.5.1.ebuild,v 1.1 2014/02/24 03:30:13 sdamashek Exp $ |
55 |
|
56 |
EAPI=5 |
57 |
|
58 |
DB_VER="4.8" |
59 |
|
60 |
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" |
61 |
inherit db-use eutils fdo-mime gnome2-utils kde4-functions qt4-r2 |
62 |
|
63 |
MyPV="${PV/_/-}" |
64 |
MyPN="dogecoin" |
65 |
MyP="${MyPN}-${MyPV}" |
66 |
|
67 |
DESCRIPTION="P2P Internet currency favored by Shiba Inus worldwide." |
68 |
HOMEPAGE="https://dogecoin.com/" |
69 |
SRC_URI="https://github.com/${MyPN}/${MyPN}/archive/${MyPV}.tar.gz -> ${MyP}.tar.gz" |
70 |
|
71 |
LICENSE="MIT ISC GPL-3 LGPL-2.1 public-domain || ( CC-BY-SA-3.0 LGPL-2.1 )" |
72 |
SLOT="0" |
73 |
KEYWORDS="~amd64 ~x86" |
74 |
IUSE="dbus ipv6 kde +qrcode upnp" |
75 |
|
76 |
RDEPEND=" |
77 |
dev-libs/boost[threads(+)] |
78 |
dev-libs/openssl:0[-bindist] |
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 |
<=dev-libs/leveldb-1.12.0[-snappy] |
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 |
DOCS="doc/README.md doc/release-notes.md" |
97 |
|
98 |
S="${WORKDIR}/${MyP}" |
99 |
|
100 |
src_prepare() { |
101 |
# epatch "${FILESDIR}"/${MyPN}-sys_leveldb.patch |
102 |
# rm -r src/leveldb || die |
103 |
|
104 |
sed 's/BDB_INCLUDE_PATH=.*//' -i 'dogecoin-qt.pro' || die |
105 |
|
106 |
cd src || die |
107 |
|
108 |
local filt= yeslang= nolang= |
109 |
|
110 |
#for lan in $LANGS; do |
111 |
# if [ ! -e qt/locale/bitcoin_$lan.ts ]; then |
112 |
# ewarn "Language '$lan' no longer supported. Ebuild needs update." |
113 |
# fi |
114 |
#done |
115 |
|
116 |
for ts in $(ls qt/locale/*.ts) |
117 |
do |
118 |
x="${ts/*bitcoin_/}" |
119 |
x="${x/.ts/}" |
120 |
if ! use "linguas_$x"; then |
121 |
nolang="$nolang $x" |
122 |
rm "$ts" |
123 |
filt="$filt\\|$x" |
124 |
else |
125 |
yeslang="$yeslang $x" |
126 |
fi |
127 |
done |
128 |
|
129 |
filt="bitcoin_\\(${filt:2}\\)\\.\(qm\|ts\)" |
130 |
sed "/${filt}/d" -i 'qt/bitcoin.qrc' || die |
131 |
einfo "Languages -- Enabled:$yeslang -- Disabled:$nolang" |
132 |
} |
133 |
|
134 |
src_configure() { |
135 |
OPTS=() |
136 |
|
137 |
use dbus && OPTS+=("USE_DBUS=1") |
138 |
if use upnp; then |
139 |
OPTS+=("USE_UPNP=1") |
140 |
else |
141 |
OPTS+=("USE_UPNP=-") |
142 |
fi |
143 |
|
144 |
use qrcode && OPTS+=("USE_QRCODE=1") |
145 |
use ipv6 || OPTS+=("USE_IPV6=-") |
146 |
|
147 |
OPTS+=("USE_SYSTEM_LEVELDB=1") |
148 |
OPTS+=("BDB_INCLUDE_PATH=$(db_includedir "${DB_VER}")") |
149 |
OPTS+=("BDB_LIB_SUFFIX=-${DB_VER}") |
150 |
|
151 |
if has_version '>=dev-libs/boost-1.52'; then |
152 |
OPTS+=("LIBS+=-lboost_chrono\$\$BOOST_LIB_SUFFIX") |
153 |
fi |
154 |
|
155 |
#The litecoin codebase is mostly taken from bitcoin-qt |
156 |
eqmake4 dogecoin-qt.pro "${OPTS[@]}" || die |
157 |
} |
158 |
|
159 |
#Tests are broken with and without our litecoin-sys_leveldb.patch |
160 |
#src_test() { |
161 |
# cd src || die |
162 |
# emake -f makefile.unix "${OPTS[@]}" test_litecoin |
163 |
# ./test_litecoin || die 'Tests failed' |
164 |
#} |
165 |
|
166 |
src_install() { |
167 |
# qt4-r2_src_install |
168 |
|
169 |
dobin ${PN} |
170 |
|
171 |
insinto /usr/share/pixmaps |
172 |
newins "share/pixmaps/bitcoin.ico" "${PN}.ico" |
173 |
|
174 |
make_desktop_entry "${PN} %u" "Dogecoin-Qt" "/usr/share/pixmaps/${PN}.ico" "Qt;Network;P2P;Office;Finance;" "MimeType=x-scheme-handler/dogecoin;\nTerminal=false" |
175 |
|
176 |
# newman contrib/debian/manpages/bitcoin-qt.1 ${PN}.1 |
177 |
|
178 |
# if use kde; then |
179 |
# insinto /usr/share/kde4/services |
180 |
# newins contrib/debian/bitcoin-qt.protocol ${PN}.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 |
} |