1 |
pinkbyte 15/06/28 17:24:32 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: retroshare-0.6.0_rc2_pre8551.ebuild |
5 |
Removed: retroshare-0.6.0_pre20150415.ebuild |
6 |
Log: |
7 |
Version bump, drop old |
8 |
|
9 |
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x60C0742D1F357D42) |
10 |
|
11 |
Revision Changes Path |
12 |
1.13 net-p2p/retroshare/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/retroshare/ChangeLog?rev=1.13&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/retroshare/ChangeLog?rev=1.13&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/retroshare/ChangeLog?r1=1.12&r2=1.13 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-p2p/retroshare/ChangeLog,v |
21 |
retrieving revision 1.12 |
22 |
retrieving revision 1.13 |
23 |
diff -u -r1.12 -r1.13 |
24 |
--- ChangeLog 15 Jun 2015 00:14:17 -0000 1.12 |
25 |
+++ ChangeLog 28 Jun 2015 17:24:32 -0000 1.13 |
26 |
@@ -1,6 +1,13 @@ |
27 |
# ChangeLog for net-p2p/retroshare |
28 |
# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-p2p/retroshare/ChangeLog,v 1.12 2015/06/15 00:14:17 pinkbyte Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/net-p2p/retroshare/ChangeLog,v 1.13 2015/06/28 17:24:32 pinkbyte Exp $ |
31 |
+ |
32 |
+*retroshare-0.6.0_rc2_pre8551 (28 Jun 2015) |
33 |
+ |
34 |
+ 28 Jun 2015; Sergey Popov <pinkbyte@g.o> |
35 |
+ -retroshare-0.6.0_pre20150415.ebuild, +retroshare-0.6.0_rc2_pre8551.ebuild, |
36 |
+ -files/retroshare-0.6.0-force-sqlcipher.patch: |
37 |
+ Version bump, drop old |
38 |
|
39 |
*retroshare-0.6.0_rc1 (15 Jun 2015) |
40 |
|
41 |
|
42 |
|
43 |
|
44 |
1.1 net-p2p/retroshare/retroshare-0.6.0_rc2_pre8551.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/retroshare/retroshare-0.6.0_rc2_pre8551.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-p2p/retroshare/retroshare-0.6.0_rc2_pre8551.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: retroshare-0.6.0_rc2_pre8551.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2015 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/net-p2p/retroshare/retroshare-0.6.0_rc2_pre8551.ebuild,v 1.1 2015/06/28 17:24:32 pinkbyte Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
|
57 |
inherit eutils gnome2-utils multilib qmake-utils |
58 |
|
59 |
MY_PV="${PV/_rc/.RC}" |
60 |
MY_PV="${MY_PV/_pre/~}" |
61 |
|
62 |
DESCRIPTION="P2P private sharing application" |
63 |
HOMEPAGE="http://retroshare.sourceforge.net" |
64 |
SRC_URI="mirror://sourceforge/retroshare/${PN}_${MY_PV}_src.tgz" |
65 |
|
66 |
# pegmarkdown can also be used with MIT |
67 |
LICENSE="GPL-2 GPL-3 Apache-2.0 LGPL-2.1" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~x86" |
70 |
|
71 |
IUSE="cli feedreader +qt5 voip" |
72 |
REQUIRED_USE="|| ( cli qt5 ) |
73 |
feedreader? ( qt5 ) |
74 |
voip? ( qt5 )" |
75 |
|
76 |
RDEPEND=" |
77 |
app-arch/bzip2 |
78 |
dev-db/sqlcipher |
79 |
dev-libs/openssl:0 |
80 |
gnome-base/libgnome-keyring |
81 |
net-libs/libmicrohttpd |
82 |
net-libs/libupnp |
83 |
sys-libs/zlib |
84 |
cli? ( |
85 |
dev-libs/protobuf |
86 |
net-libs/libssh[server] |
87 |
) |
88 |
feedreader? ( |
89 |
dev-libs/libxml2 |
90 |
dev-libs/libxslt |
91 |
net-misc/curl |
92 |
) |
93 |
qt5? ( |
94 |
x11-libs/libX11 |
95 |
x11-libs/libXScrnSaver |
96 |
dev-qt/designer:5 |
97 |
dev-qt/qtcore:5 |
98 |
dev-qt/qtgui:5 |
99 |
dev-qt/qtmultimedia:5 |
100 |
dev-qt/qtnetwork:5 |
101 |
dev-qt/qtprintsupport:5 |
102 |
dev-qt/qtscript:5 |
103 |
dev-qt/qtwidgets:5 |
104 |
dev-qt/qtx11extras:5 |
105 |
dev-qt/qtxml:5 |
106 |
) |
107 |
voip? ( |
108 |
media-libs/opencv |
109 |
media-libs/speex |
110 |
)" |
111 |
DEPEND="${RDEPEND} |
112 |
dev-qt/qtcore:5 |
113 |
virtual/pkgconfig" |
114 |
|
115 |
S="${WORKDIR}/retroshare06-0.6.0/src" |
116 |
|
117 |
src_prepare() { |
118 |
local dir |
119 |
|
120 |
sed -i \ |
121 |
-e "s|/usr/lib/retroshare/extensions6/|/usr/$(get_libdir)/${PN}/extensions6/|" \ |
122 |
libretroshare/src/rsserver/rsinit.cc \ |
123 |
|| die "sed on libretroshare/src/rsserver/rsinit.cc failed" |
124 |
|
125 |
rs_src_dirs="libbitdht/src openpgpsdk/src libresapi/src libretroshare/src supportlibs/pegmarkdown" |
126 |
use cli && rs_src_dirs="${rs_src_dirs} retroshare-nogui/src" |
127 |
use feedreader && rs_src_dirs="${rs_src_dirs} plugins/FeedReader" |
128 |
use qt5 && rs_src_dirs="${rs_src_dirs} retroshare-gui/src" |
129 |
use voip && rs_src_dirs="${rs_src_dirs} plugins/VOIP" |
130 |
|
131 |
# Force linking to sqlcipher ONLY |
132 |
sed -i \ |
133 |
-e '/isEmpty(SQLCIPHER_OK) {/aerror(libsqlcipher not found)' \ |
134 |
retroshare-gui/src/retroshare-gui.pro \ |
135 |
retroshare-nogui/src/retroshare-nogui.pro || die 'sed on retroshare-gui/src/retroshare-gui.pro failed' |
136 |
|
137 |
epatch_user |
138 |
} |
139 |
|
140 |
src_configure() { |
141 |
for dir in ${rs_src_dirs} ; do |
142 |
pushd "${S}/${dir}" 2>/dev/null || die |
143 |
eqmake5 |
144 |
popd 2>/dev/null || die |
145 |
done |
146 |
} |
147 |
|
148 |
src_compile() { |
149 |
local dir |
150 |
|
151 |
for dir in ${rs_src_dirs} ; do |
152 |
emake -C "${dir}" |
153 |
done |
154 |
|
155 |
unset rs_src_dirs |
156 |
} |
157 |
|
158 |
src_install() { |
159 |
local i |
160 |
local extension_dir="/usr/$(get_libdir)/${PN}/extensions6/" |
161 |
|
162 |
use cli && dobin retroshare-nogui/src/retroshare-nogui |
163 |
use qt5 && dobin retroshare-gui/src/RetroShare |
164 |
|
165 |
exeinto "${extension_dir}" |
166 |
use feedreader && doexe plugins/FeedReader/*.so* |
167 |
use voip && doexe plugins/VOIP/*.so* |
168 |
|
169 |
insinto /usr/share/RetroShare06 |
170 |
doins libbitdht/src/bitdht/bdboot.txt |
171 |
|
172 |
insinto /usr/share/RetroShare06/webui |
173 |
doins libresapi/src/webfiles/* |
174 |
|
175 |
dodoc README.txt |
176 |
make_desktop_entry RetroShare |
177 |
for i in 24 48 64 ; do |
178 |
doicon -s ${i} "build_scripts/Debian+Ubuntu/data/${i}x${i}/${PN}.png" |
179 |
done |
180 |
doicon -s 128 "build_scripts/Debian+Ubuntu/data/${PN}.png" |
181 |
} |
182 |
|
183 |
pkg_preinst() { |
184 |
if [[ "${REPLACING_VERSIONS}" = "0.5*" ]]; then |
185 |
elog "You are upgrading from Retroshare 0.5.* to ${PV}" |
186 |
elog "Version 0.6.* is backward-incompatible with 0.5 branch" |
187 |
elog "and clients with 0.6.* can not connect to clients that have 0.5.*" |
188 |
elog "It's recommended to drop all your configuration and either" |
189 |
elog "generate a new certificate or import existing from a backup" |
190 |
fi |
191 |
gnome2_icon_savelist |
192 |
} |
193 |
|
194 |
pkg_postinst() { |
195 |
gnome2_icon_cache_update |
196 |
} |
197 |
|
198 |
pkg_postrm() { |
199 |
gnome2_icon_cache_update |
200 |
} |