Gentoo Archives: gentoo-commits

From: "Anthony G. Basile (blueness)" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in app-backup/spideroak-bin: spideroak-bin-5.1.8.ebuild ChangeLog
Date: Sun, 31 Aug 2014 15:29:56
Message-Id: 20140831152951.DA47745AA@oystercatcher.gentoo.org
1 blueness 14/08/31 15:29:51
2
3 Modified: ChangeLog
4 Added: spideroak-bin-5.1.8.ebuild
5 Log:
6 Version bump
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
9
10 Revision Changes Path
11 1.45 app-backup/spideroak-bin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/ChangeLog?rev=1.45&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/ChangeLog?rev=1.45&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/ChangeLog?r1=1.44&r2=1.45
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/ChangeLog,v
20 retrieving revision 1.44
21 retrieving revision 1.45
22 diff -u -r1.44 -r1.45
23 --- ChangeLog 10 Aug 2014 01:54:01 -0000 1.44
24 +++ ChangeLog 31 Aug 2014 15:29:51 -0000 1.45
25 @@ -1,6 +1,12 @@
26 # ChangeLog for app-backup/spideroak-bin
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/ChangeLog,v 1.44 2014/08/10 01:54:01 patrick Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/ChangeLog,v 1.45 2014/08/31 15:29:51 blueness Exp $
30 +
31 +*spideroak-bin-5.1.8 (31 Aug 2014)
32 +
33 + 31 Aug 2014; Anthony G. Basile <blueness@g.o>
34 + +spideroak-bin-5.1.8.ebuild:
35 + Version bump
36
37 10 Aug 2014; Patrick Lauer <patrick@g.o> spideroak-bin-5.0.3.ebuild,
38 spideroak-bin-5.1.1.ebuild, spideroak-bin-5.1.3.ebuild:
39
40
41
42 1.1 app-backup/spideroak-bin/spideroak-bin-5.1.8.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/spideroak-bin-5.1.8.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/spideroak-bin-5.1.8.ebuild?rev=1.1&content-type=text/plain
46
47 Index: spideroak-bin-5.1.8.ebuild
48 ===================================================================
49 # Copyright 1999-2014 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/spideroak-bin-5.1.8.ebuild,v 1.1 2014/08/31 15:29:51 blueness Exp $
52
53 EAPI="5"
54
55 inherit eutils unpacker
56
57 SRC_URI_BASE="https://spideroak.com/getbuild?platform=ubuntu"
58
59 DESCRIPTION="An easy, secure and consolidated free online backup, storage, access and sharing system"
60 HOMEPAGE="https://spideroak.com"
61 SRC_URI="x86? ( ${SRC_URI_BASE}&arch=i386&version=${PV} -> ${P}_x86.deb )
62 amd64? ( ${SRC_URI_BASE}&arch=x86_64&version=${PV} -> ${P}_amd64.deb )"
63 RESTRICT="mirror strip"
64
65 LICENSE="spideroak"
66 SLOT="0"
67 KEYWORDS="~amd64 ~x86"
68 IUSE="dbus headless"
69
70 DEPEND="dev-util/patchelf"
71 RDEPEND="
72 app-crypt/mit-krb5[keyutils]
73 dbus? ( sys-apps/dbus )
74 !headless? (
75 media-libs/fontconfig
76 media-libs/freetype:2
77 dev-libs/glib:2
78 x11-libs/libICE
79 x11-libs/libSM
80 x11-libs/libX11
81 x11-libs/libXext
82 x11-libs/libXmu
83 x11-libs/libXrender
84 x11-libs/libXt
85 )
86 "
87
88 S=${WORKDIR}
89
90 QA_PREBUILT="*"
91
92 src_prepare() {
93 use headless && epatch "${FILESDIR}"/${PN}-5.0.1-headless.patch
94
95 # Set RPATH for preserve-libs handling (bug #400979).
96 cd "${S}/opt/SpiderOak/lib" || die
97 local x
98 for x in `find` ; do
99 # Use \x7fELF header to separate ELF executables and libraries
100 [[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue
101 patchelf --set-rpath '$ORIGIN' "${x}" || \
102 die "patchelf failed on ${x}"
103 done
104 }
105
106 src_install() {
107 #install the wrapper script
108 exeinto /usr/bin
109 doexe usr/bin/SpiderOak
110
111 # inotify_dir_watcher needs to be marked executable, bug #453266
112 #chmod a+rx opt/SpiderOak/lib/inotify_dir_watcher
113
114 #install the executable
115 exeinto /opt/SpiderOak/lib
116 doexe opt/SpiderOak/lib/SpiderOak
117 doexe opt/SpiderOak/lib/inotify_dir_watcher
118 rm -f opt/SpiderOak/lib/{SpiderOak,inotify_dir_watcher}
119
120 #install the prebundled libraries
121 insinto /opt/SpiderOak
122 doins -r opt/SpiderOak/lib
123
124 #install the config files
125 use dbus || rm -rf etc/dbus-1
126 insinto /
127 doins -r etc
128
129 #install the manpage
130 doman usr/share/man/man1/SpiderOak.1.gz
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 }