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