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-r2.ebuild ChangeLog
Date: Tue, 30 Sep 2014 23:53:11
Message-Id: 20140930235306.709B469FC@oystercatcher.gentoo.org
1 blueness 14/09/30 23:53:06
2
3 Modified: ChangeLog
4 Added: spideroak-bin-5.1.8-r2.ebuild
5 Log:
6 Replace USE=headless with USE=-X, bug #521766
7
8 (Portage version: 2.2.8-r2/cvs/Linux x86_64, signed Manifest commit with key 0xF52D4BBA)
9
10 Revision Changes Path
11 1.48 app-backup/spideroak-bin/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/ChangeLog?rev=1.48&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/ChangeLog?rev=1.48&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/ChangeLog?r1=1.47&r2=1.48
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/ChangeLog,v
20 retrieving revision 1.47
21 retrieving revision 1.48
22 diff -u -r1.47 -r1.48
23 --- ChangeLog 28 Sep 2014 16:03:58 -0000 1.47
24 +++ ChangeLog 30 Sep 2014 23:53:06 -0000 1.48
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.47 2014/09/28 16:03:58 blueness Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/app-backup/spideroak-bin/ChangeLog,v 1.48 2014/09/30 23:53:06 blueness Exp $
30 +
31 +*spideroak-bin-5.1.8-r2 (30 Sep 2014)
32 +
33 + 30 Sep 2014; Anthony G. Basile <blueness@g.o>
34 + +spideroak-bin-5.1.8-r2.ebuild:
35 + Replace USE=headless with USE=-X, bug #521766
36
37 *spideroak-bin-5.1.8-r1 (28 Sep 2014)
38
39
40
41
42 1.1 app-backup/spideroak-bin/spideroak-bin-5.1.8-r2.ebuild
43
44 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-backup/spideroak-bin/spideroak-bin-5.1.8-r2.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-r2.ebuild?rev=1.1&content-type=text/plain
46
47 Index: spideroak-bin-5.1.8-r2.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-r2.ebuild,v 1.1 2014/09/30 23:53:06 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 X"
69
70 DEPEND="dev-util/patchelf"
71 RDEPEND="
72 app-crypt/mit-krb5[keyutils]
73 dbus? ( sys-apps/dbus )
74 X? (
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 # Set RPATH for preserve-libs handling (bug #400979).
94 cd "${S}/opt/SpiderOak/lib" || die
95 local x
96 for x in `find` ; do
97 # Use \x7fELF header to separate ELF executables and libraries
98 [[ -f ${x} && $(od -t x1 -N 4 "${x}") == *"7f 45 4c 46"* ]] || continue
99 patchelf --set-rpath '$ORIGIN' "${x}" || \
100 die "patchelf failed on ${x}"
101 done
102 }
103
104 src_install() {
105 #install the wrapper script
106 exeinto /usr/bin
107 doexe usr/bin/SpiderOak
108
109 # inotify_dir_watcher needs to be marked executable, bug #453266
110 #chmod a+rx opt/SpiderOak/lib/inotify_dir_watcher
111
112 #install the executable
113 exeinto /opt/SpiderOak/lib
114 doexe opt/SpiderOak/lib/SpiderOak
115 doexe opt/SpiderOak/lib/inotify_dir_watcher
116 rm -f opt/SpiderOak/lib/{SpiderOak,inotify_dir_watcher}
117
118 #install the prebundled libraries
119 insinto /opt/SpiderOak
120 doins -r opt/SpiderOak/lib
121
122 #install the config files
123 use dbus || rm -rf etc/dbus-1
124 insinto /
125 doins -r etc
126
127 #install the manpage
128 doman usr/share/man/man1/SpiderOak.1.gz
129
130 if use X; then
131 domenu usr/share/applications/spideroak.desktop
132 doicon usr/share/pixmaps/SpiderOak.png
133 fi
134 }
135
136 pkg_postinst() {
137 if ! use X; then
138 einfo "For instructions on running SpiderOak without a GUI, please read the FAQ:"
139 einfo " https://spideroak.com/faq/questions/62/how_do_i_install_spideroak_on_a_headless_linux_server/"
140 einfo " https://spideroak.com/faq/questions/67/how_can_i_use_spideroak_from_the_commandline/"
141 fi
142 }