1 |
commit: 568809430e481a3682ed56eefe4e4dcc9fbaa559 |
2 |
Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 10 15:44:46 2012 +0000 |
4 |
Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 10 15:44:46 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/blueness.git;a=commit;h=56880943 |
7 |
|
8 |
app-backup/spideroak-bin: merging my ebuild with tree's |
9 |
|
10 |
--- |
11 |
app-backup/spideroak-bin/Manifest | 4 + |
12 |
app-backup/spideroak-bin/files/opt-path.patch | 12 +++ |
13 |
app-backup/spideroak-bin/metadata.xml | 23 +++++ |
14 |
.../spideroak-bin/spideroak-bin-4.2.9913.ebuild | 86 ++++++++++++++++++++ |
15 |
4 files changed, 125 insertions(+), 0 deletions(-) |
16 |
|
17 |
diff --git a/app-backup/spideroak-bin/Manifest b/app-backup/spideroak-bin/Manifest |
18 |
new file mode 100644 |
19 |
index 0000000..6d571e6 |
20 |
--- /dev/null |
21 |
+++ b/app-backup/spideroak-bin/Manifest |
22 |
@@ -0,0 +1,4 @@ |
23 |
+DIST spideroak-bin-4.2.9913_amd64.deb 24566640 RMD160 2ce797732ca6e157c7a2e93cede44cc18aec6fd8 SHA1 141de5c7fa4b17c9cc2fd074336a80f00da649b7 SHA256 4d0491e8b52503fa4cd5cf38cf235a946c9b9d28e1b01c5d2f02c2cdb97a6bff |
24 |
+DIST spideroak-bin-4.2.9913_x86.deb 23969878 RMD160 c083bb88033eda8600b190e57f063c94cf1e48b5 SHA1 1d9a2d3450a8ec737740c3a4308082679bf5479d SHA256 0e460c1d89c9284201b6537dcee5ae4078de422f5f426202ca24f28b59bd1a61 |
25 |
+EBUILD spideroak-bin-4.2.9913.ebuild 3041 RMD160 1ac5b2d8d8a7240e76fab34468c13f27c4adc57b SHA1 7339a34504dc76e0167a4f1bf64672a9e201c096 SHA256 01b1036fd086fae06c0b5adee30f1cdc6f41317025b84af1a513d9cc877a9fa0 |
26 |
+MISC metadata.xml 690 RMD160 10e629b3e5bf0bfdd55aa1df775ddefb8cb915bd SHA1 72b64b4f98e4731e527468c601d37e1468c4b02a SHA256 d756681b36f4120db893d13daa563f01fd3bd62694f53c86a24d7c2d9a31123d |
27 |
|
28 |
diff --git a/app-backup/spideroak-bin/files/opt-path.patch b/app-backup/spideroak-bin/files/opt-path.patch |
29 |
new file mode 100644 |
30 |
index 0000000..50b7017 |
31 |
--- /dev/null |
32 |
+++ b/app-backup/spideroak-bin/files/opt-path.patch |
33 |
@@ -0,0 +1,12 @@ |
34 |
+diff -Naur spideroak-9913.orig//usr/bin/SpiderOak spideroak-9913/usr/bin/SpiderOak |
35 |
+--- spideroak-9913.orig//usr/bin/SpiderOak 2011-12-26 16:27:35.000000000 -0500 |
36 |
++++ spideroak-9913/usr/bin/SpiderOak 2012-01-09 10:04:03.000000000 -0500 |
37 |
+@@ -1,6 +1,6 @@ |
38 |
+ #!/bin/sh |
39 |
+ |
40 |
+-LD_LIBRARY_PATH="/usr/lib/SpiderOak:$LD_LIBRARY_PATH" |
41 |
++LD_LIBRARY_PATH="/opt/spideroak/usr/lib/SpiderOak:$LD_LIBRARY_PATH" |
42 |
+ export LD_LIBRARY_PATH |
43 |
+ QT_PLUGIN_PATH= ; export QT_PLUGIN_PATH |
44 |
+-exec "/usr/lib/SpiderOak/SpiderOak" "$@" |
45 |
++exec "/opt/spideroak/usr/lib/SpiderOak/SpiderOak" "$@" |
46 |
|
47 |
diff --git a/app-backup/spideroak-bin/metadata.xml b/app-backup/spideroak-bin/metadata.xml |
48 |
new file mode 100644 |
49 |
index 0000000..2dbb3ca |
50 |
--- /dev/null |
51 |
+++ b/app-backup/spideroak-bin/metadata.xml |
52 |
@@ -0,0 +1,23 @@ |
53 |
+<?xml version="1.0" encoding="UTF-8"?> |
54 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
55 |
+<pkgmetadata> |
56 |
+<maintainer> |
57 |
+ <email>devurandom@×××.net</email> |
58 |
+ <name>Dennis Schridde</name> |
59 |
+ <description>Maintainer.</description> |
60 |
+</maintainer> |
61 |
+<maintainer> |
62 |
+ <email>naota@g.o</email> |
63 |
+ <name>Naohiro Aota</name> |
64 |
+ <description>Proxy maintainer.</description> |
65 |
+</maintainer> |
66 |
+<maintainer> |
67 |
+ <email>blueness@g.o</email> |
68 |
+ <name>Anthony G. Basile</name> |
69 |
+</maintainer> |
70 |
+<use> |
71 |
+ <flag name='headless'>Build without graphic frontend</flag> |
72 |
+ <flag name='pycurl-bundled'>Use bundled pycurl</flag> |
73 |
+ <flag name='qt-bundled'>Use bundled Qt4 libraries</flag> |
74 |
+</use> |
75 |
+</pkgmetadata> |
76 |
|
77 |
diff --git a/app-backup/spideroak-bin/spideroak-bin-4.2.9913.ebuild b/app-backup/spideroak-bin/spideroak-bin-4.2.9913.ebuild |
78 |
new file mode 100644 |
79 |
index 0000000..5d2ce00 |
80 |
--- /dev/null |
81 |
+++ b/app-backup/spideroak-bin/spideroak-bin-4.2.9913.ebuild |
82 |
@@ -0,0 +1,86 @@ |
83 |
+# Copyright 1999-2011 Gentoo Foundation |
84 |
+# Distributed under the terms of the GNU General Public License v2 |
85 |
+# $Header: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/spideroak-bin-4.2.9907.ebuild,v 1.1 2011/12/10 00:34:07 naota Exp $ |
86 |
+ |
87 |
+EAPI="4" |
88 |
+ |
89 |
+inherit eutils versionator |
90 |
+ |
91 |
+REV=$(get_version_component_range 3) |
92 |
+SRC_URI_BASE="https://spideroak.com/directdownload?platform=ubuntulucid" |
93 |
+ |
94 |
+DESCRIPTION="An easy, secure and consolidated free online backup, storage, access and sharing system." |
95 |
+HOMEPAGE="https://spideroak.com" |
96 |
+SRC_URI="x86? ( ${SRC_URI_BASE}&arch=i386&revision=${REV} -> ${P}_x86.deb ) |
97 |
+ amd64? ( ${SRC_URI_BASE}&arch=x86_64&revision=${REV} -> ${P}_amd64.deb )" |
98 |
+RESTRICT="mirror strip" |
99 |
+ |
100 |
+LICENSE="spideroak" |
101 |
+SLOT="0" |
102 |
+KEYWORDS="~amd64 ~x86" |
103 |
+IUSE="dbus headless" |
104 |
+ |
105 |
+DEPEND="" |
106 |
+RDEPEND=" |
107 |
+ >=dev-libs/glib-2.22.0 |
108 |
+ media-libs/libpng:1.2 |
109 |
+ >=sys-devel/gcc-4 |
110 |
+ >=sys-libs/glibc-2.7 |
111 |
+ dbus? ( sys-apps/dbus ) |
112 |
+ !headless? ( |
113 |
+ >=media-libs/fontconfig-2.8.0 |
114 |
+ >=media-libs/freetype-2.3.5 |
115 |
+ x11-libs/libICE |
116 |
+ x11-libs/libSM |
117 |
+ x11-libs/libX11 |
118 |
+ x11-libs/libXext |
119 |
+ x11-libs/libXrender |
120 |
+ )" |
121 |
+ |
122 |
+S=${WORKDIR} |
123 |
+ |
124 |
+QA_PREBUILT="*" |
125 |
+ |
126 |
+src_unpack() { |
127 |
+ unpack ${A} |
128 |
+ unpack ./data.tar.gz |
129 |
+ rm -f control.tar.gz data.tar.gz debian-binary |
130 |
+ rm -f usr/share/doc/spideroak/copyright |
131 |
+ mv usr/share/doc/spideroak usr/share/doc/${P} |
132 |
+} |
133 |
+ |
134 |
+src_prepare() { |
135 |
+ epatch "${FILESDIR}"/opt-path.patch |
136 |
+} |
137 |
+ |
138 |
+src_install() { |
139 |
+ insinto /opt/${PN} |
140 |
+ doins -r usr/lib/SpiderOak/* |
141 |
+ |
142 |
+ exeinto /usr/bin |
143 |
+ doexe usr/bin/SpiderOak |
144 |
+ |
145 |
+ #exeinto /opt/SpiderOak |
146 |
+ #doexe usr/lib/SpiderOak/SpiderOak |
147 |
+ |
148 |
+ if use dbus ; then |
149 |
+ insinto /etc/dbus-1 |
150 |
+ doins -r etc/dbus-1/* |
151 |
+ fi |
152 |
+ |
153 |
+ insinto /usr/share/doc/${P} |
154 |
+ doins usr/share/doc/${P}/changelog.gz |
155 |
+ |
156 |
+ if ! use headless ; then |
157 |
+ domenu usr/share/applications/spideroak.desktop |
158 |
+ doicon usr/share/pixmaps/spideroak.png |
159 |
+ fi |
160 |
+} |
161 |
+ |
162 |
+pkg_postinst() { |
163 |
+ if use headless ; then |
164 |
+ einfo "For instructions on running SpiderOak without a GUI, please read the FAQ:" |
165 |
+ einfo " https://spideroak.com/faq/questions/62/how_do_i_install_spideroak_on_a_headless_linux_server/" |
166 |
+ einfo " https://spideroak.com/faq/questions/67/how_can_i_use_spideroak_from_the_commandline/" |
167 |
+ fi |
168 |
+} |