1 |
naota 11/09/29 19:20:58 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: spideroak-bin-4.1.9850.ebuild |
5 |
Removed: spideroak-bin-4.1.9848_beta.ebuild |
6 |
Log: |
7 |
Version bump; drop old version. Bug #381569 |
8 |
|
9 |
(Portage version: 2.2.0_alpha59/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.4 app-backup/spideroak-bin/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/ChangeLog?rev=1.4&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/ChangeLog?rev=1.4&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/ChangeLog?r1=1.3&r2=1.4 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/ChangeLog,v |
21 |
retrieving revision 1.3 |
22 |
retrieving revision 1.4 |
23 |
diff -u -r1.3 -r1.4 |
24 |
--- ChangeLog 5 Sep 2011 08:14:23 -0000 1.3 |
25 |
+++ ChangeLog 29 Sep 2011 19:20:57 -0000 1.4 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for app-backup/spideroak-bin |
28 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/ChangeLog,v 1.3 2011/09/05 08:14:23 naota Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/ChangeLog,v 1.4 2011/09/29 19:20:57 naota Exp $ |
31 |
+ |
32 |
+*spideroak-bin-4.1.9850 (29 Sep 2011) |
33 |
+ |
34 |
+ 29 Sep 2011; Naohiro Aota <naota@g.o> |
35 |
+ -spideroak-bin-4.1.9848_beta.ebuild, +spideroak-bin-4.1.9850.ebuild: |
36 |
+ Version bump; drop old version. Bug #381569 |
37 |
|
38 |
*spideroak-bin-4.1.9848_beta (05 Sep 2011) |
39 |
|
40 |
|
41 |
|
42 |
|
43 |
1.1 app-backup/spideroak-bin/spideroak-bin-4.1.9850.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/spideroak-bin-4.1.9850.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/spideroak-bin-4.1.9850.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: spideroak-bin-4.1.9850.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2011 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/spideroak-bin-4.1.9850.ebuild,v 1.1 2011/09/29 19:20:58 naota Exp $ |
53 |
|
54 |
EAPI=4 |
55 |
|
56 |
inherit eutils versionator |
57 |
|
58 |
REV=$(get_version_component_range 3) |
59 |
SRC_URI_BASE="https://spideroak.com/directdownload?platform=ubuntulucid" |
60 |
|
61 |
DESCRIPTION="An easy, secure and consolidated free online backup, storage, access and sharing sytem." |
62 |
HOMEPAGE="https://spideroak.com" |
63 |
SRC_URI="x86? ( ${SRC_URI_BASE}&arch=i386&revision=${REV} -> ${P}_x86.deb ) |
64 |
amd64? ( ${SRC_URI_BASE}&arch=x86_64&revision=${REV} -> ${P}_amd64.deb )" |
65 |
RESTRICT="mirror strip" |
66 |
|
67 |
LICENSE="spideroak" |
68 |
SLOT="0" |
69 |
KEYWORDS="~amd64 ~x86" |
70 |
IUSE="dbus headless qt-bundled" |
71 |
|
72 |
RDEPEND=">=dev-libs/glib-2.12.0 |
73 |
dbus? ( sys-apps/dbus ) |
74 |
>=sys-devel/gcc-4 |
75 |
>=sys-libs/glibc-2.7 |
76 |
!headless? ( |
77 |
>=media-libs/fontconfig-2.4.0 |
78 |
>=media-libs/freetype-2.3.5 |
79 |
>=x11-libs/libICE-1.0.0 |
80 |
x11-libs/libSM |
81 |
x11-libs/libX11 |
82 |
x11-libs/libXext |
83 |
x11-libs/libXrender |
84 |
!qt-bundled? ( x11-libs/qt-gui:4[accessibility,dbus] ) |
85 |
)" |
86 |
DEPEND="${RDEPEND}" |
87 |
|
88 |
S=${WORKDIR} |
89 |
|
90 |
src_unpack() { |
91 |
unpack ${A} |
92 |
unpack ./data.tar.gz |
93 |
rm -f control.tar.gz data.tar.gz debian-binary |
94 |
} |
95 |
|
96 |
src_prepare() { |
97 |
# change /usr/ to /opt/SpiderOak/ in start script |
98 |
sed -i 's:/usr/lib:/opt:g' usr/bin/SpiderOak || die "sed failed" |
99 |
# change /usr/ to /opt/ in .desktop file |
100 |
sed -i 's:/usr/bin/SpiderOak:/opt/bin/SpiderOak:g' usr/share/applications/spideroak.desktop || die "sed failed" |
101 |
|
102 |
# disable GUI if headless useflag is enabled |
103 |
if use headless; then |
104 |
sed -i 's:"$@":--headless "$@":' usr/bin/SpiderOak || die "sed failed" |
105 |
fi |
106 |
|
107 |
# remove shipped libstdc++.so.6 as it does not provide LIBCXX_3.4.11 |
108 |
# and it seems to work alright with the one from >=gcc-4 |
109 |
rm usr/lib/SpiderOak/libstdc++.so.6 || die "rm libstdc++.so.6 failed" |
110 |
|
111 |
if ! use qt-bundled || use headless; then |
112 |
# rm precompiled and bundled qt libs |
113 |
rm usr/lib/SpiderOak/libQt*.so.4 || die "rm libQt*.so.4 failed" |
114 |
fi |
115 |
} |
116 |
|
117 |
src_install() { |
118 |
insinto /opt/SpiderOak |
119 |
doins -r usr/lib/SpiderOak/* |
120 |
|
121 |
exeinto /opt/SpiderOak |
122 |
doexe usr/lib/SpiderOak/SpiderOak |
123 |
|
124 |
exeinto /opt/bin |
125 |
doexe usr/bin/SpiderOak |
126 |
|
127 |
if use dbus; then |
128 |
insinto /etc/dbus-1 |
129 |
doins -r etc/dbus-1/* |
130 |
fi |
131 |
|
132 |
if ! use headless; then |
133 |
domenu usr/share/applications/spideroak.desktop |
134 |
doicon usr/share/pixmaps/spideroak.png |
135 |
fi |
136 |
} |
137 |
|
138 |
pkg_postinst() { |
139 |
if use headless ; then |
140 |
einfo "For instructions on running SpiderOak without a GUI, please read the FAQ:" |
141 |
einfo " https://spideroak.com/faq/questions/62/how_do_i_install_spideroak_on_a_headless_linux_server/" |
142 |
einfo " https://spideroak.com/faq/questions/67/how_can_i_use_spideroak_from_the_commandline/" |
143 |
fi |
144 |
} |