1 |
commit: a33b8f8e0592e3bd2538e056171229dca8f4a21a |
2 |
Author: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Sep 24 03:10:25 2018 +0000 |
4 |
Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Sep 24 03:14:23 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a33b8f8e |
7 |
|
8 |
net-misc/dropbox: bump 58.3.88 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/665586 |
11 |
Package-Manager: Portage-2.3.49, Repoman-2.3.10 |
12 |
|
13 |
net-misc/dropbox/Manifest | 2 + |
14 |
net-misc/dropbox/dropbox-58.3.88.ebuild | 121 ++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 123 insertions(+) |
16 |
|
17 |
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest |
18 |
index e70fe425c00..fb4d30d55d9 100644 |
19 |
--- a/net-misc/dropbox/Manifest |
20 |
+++ b/net-misc/dropbox/Manifest |
21 |
@@ -1,4 +1,6 @@ |
22 |
DIST dropbox-lnx.x86-45.3.88.tar.gz 108891513 BLAKE2B f72ea5663a2ea46b0c34294eb18e647f857c8769a3a341fe73b1d4d252a3c08f3add1613b0413e6909e3a5b770f32e473b3383a956c08fec78067736b5b66cbe SHA512 499249377c22452a8266402e6b4ab48f9a1cf1249c4354919a5861ccb7080e8df47d4ef7d757a1667b3511b82c9faf512de1aa1e2e35a939908f74976a728724 |
23 |
DIST dropbox-lnx.x86-48.3.56.tar.gz 108876564 BLAKE2B b809a220605265685026657e791aff3e716f7ff51e1fc5074d66df87eb8dc473c63c7513c94ca0715844c600fe71aaa3c42a108be4baee2e3e72baade97e3429 SHA512 3174c41e19a01cbd986c111711bc0df80b68882d595a5c869b81bfa1982b3f219da4cda852168bf7fdc9d67b91f52260017f4d25508f6372efd470536a6b96c8 |
24 |
+DIST dropbox-lnx.x86-58.3.88.tar.gz 73782589 BLAKE2B 406758f056dce4348706d181f1620a16199f99d82c6a24b2cbe7773de32b8f64dc10199b88b8c0b7c3a577deb8658e5de18ce28fb00e509a46a5cd21db890f89 SHA512 455b6e0f78b4307d65f6420b76454229b7542475aba089961117d387290ae60df44a659bb6f8d22975cc6f51827d80b3141cb09832fe327fb5cf9861337b08d3 |
25 |
DIST dropbox-lnx.x86_64-45.3.88.tar.gz 114967662 BLAKE2B 3276b3b20bc96eff3a756064c64b5a0e8ad28b27d29579dd6dc34043427bb209bc5d86be62651f6642f61af17388113ec9a1a4a211e3149ecb8679a4b8e505ca SHA512 d3a787487084237fff928afd6ec2192f27e196c589bba3c6bd8a501055d1a3d4c8dcb88b15336ea03bed38e2a02d0731bb9725cbb324bb6e00ec95e98ed671ea |
26 |
DIST dropbox-lnx.x86_64-48.3.56.tar.gz 114940928 BLAKE2B 7d678344b59aa12bdbd28f3e425c0b80b15feae403911ef25a03150d1dfa47e94da1eb17d4b703feea6721d2fdfa721da54fab92e1a56b6b8f31456482bc3614 SHA512 cbd3eed71286be079aa8c898929dea305a4cefb9b5e2e41b196d07f68bfc3b5f2839f78d676a3fd7df62644fe00b9ad1930121bde88a6eea9c864d956ccb6f8e |
27 |
+DIST dropbox-lnx.x86_64-58.3.88.tar.gz 77899313 BLAKE2B ecf729f4cf8c8fabed0f6ca19a9c908f7adec1a58719fae8ef3a6cc80f26b453c678d241af987339e26ccbe988db45f57402ea497c54245691cb702a868fc2dd SHA512 50199f6e60f34a13376725d0deee7c0e6aa31e63574ecdcaf69b43427d262fb35dbf979798b704d6a5a33756e9cea5867591d9a632a311b111d6645123f3385e |
28 |
|
29 |
diff --git a/net-misc/dropbox/dropbox-58.3.88.ebuild b/net-misc/dropbox/dropbox-58.3.88.ebuild |
30 |
new file mode 100644 |
31 |
index 00000000000..4d43632ecb7 |
32 |
--- /dev/null |
33 |
+++ b/net-misc/dropbox/dropbox-58.3.88.ebuild |
34 |
@@ -0,0 +1,121 @@ |
35 |
+# Copyright 1999-2018 Gentoo Foundation |
36 |
+# Distributed under the terms of the GNU General Public License v2 |
37 |
+ |
38 |
+EAPI=6 |
39 |
+ |
40 |
+PYTHON_COMPAT=( python2_7 python3_5 python3_6 ) |
41 |
+inherit eutils gnome2-utils pax-utils systemd python-single-r1 |
42 |
+ |
43 |
+DESCRIPTION="Dropbox daemon (pretends to be GUI-less)" |
44 |
+HOMEPAGE="https://www.dropbox.com/" |
45 |
+SRC_URI=" |
46 |
+ x86? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-${PV}.tar.gz ) |
47 |
+ amd64? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-${PV}.tar.gz )" |
48 |
+ |
49 |
+LICENSE="CC-BY-ND-3.0 FTL MIT LGPL-2 openssl dropbox" |
50 |
+SLOT="0" |
51 |
+KEYWORDS="~amd64 ~x86 ~x86-linux" |
52 |
+IUSE="+librsync-bundled selinux X" |
53 |
+RESTRICT="mirror strip" |
54 |
+ |
55 |
+QA_PREBUILT="opt/.*" |
56 |
+QA_EXECSTACK="opt/dropbox/dropbox" |
57 |
+ |
58 |
+REQUIRED_USE="${PYTHON_REQUIRED_USE}" |
59 |
+ |
60 |
+DEPEND="librsync-bundled? ( dev-util/patchelf )" |
61 |
+ |
62 |
+# Be sure to have GLIBCXX_3.4.9, #393125 |
63 |
+# USE=X require wxGTK's dependencies. system-library cannot be used due to |
64 |
+# missing symbol (CtlColorEvent). #443686 |
65 |
+RDEPEND="${PYTHON_DEPS} |
66 |
+ X? ( |
67 |
+ dev-libs/glib:2 |
68 |
+ dev-qt/qtcore:5 |
69 |
+ dev-qt/qtdbus:5 |
70 |
+ dev-qt/qtdeclarative:5 |
71 |
+ dev-qt/qtgui:5[-gles2,xcb] |
72 |
+ dev-qt/qtopengl:5[-gles2] |
73 |
+ dev-qt/qtnetwork:5 |
74 |
+ dev-qt/qtprintsupport:5[-gles2] |
75 |
+ dev-qt/qtwebkit:5 |
76 |
+ dev-qt/qtwidgets:5[-gles2] |
77 |
+ media-libs/fontconfig |
78 |
+ media-libs/freetype |
79 |
+ virtual/jpeg |
80 |
+ x11-libs/libSM |
81 |
+ x11-libs/libX11 |
82 |
+ x11-libs/libXinerama |
83 |
+ x11-libs/libXxf86vm |
84 |
+ x11-libs/pango[X] |
85 |
+ x11-misc/wmctrl |
86 |
+ x11-themes/hicolor-icon-theme |
87 |
+ ) |
88 |
+ !librsync-bundled? ( <net-libs/librsync-2 ) |
89 |
+ selinux? ( sec-policy/selinux-dropbox ) |
90 |
+ app-arch/bzip2 |
91 |
+ dev-libs/popt |
92 |
+ net-misc/wget |
93 |
+ >=sys-devel/gcc-4.2.0 |
94 |
+ sys-libs/zlib |
95 |
+ sys-libs/ncurses:5/5" |
96 |
+ |
97 |
+src_unpack() { |
98 |
+ unpack ${A} |
99 |
+ mkdir -p "${S}" || die |
100 |
+ mv "${WORKDIR}"/.dropbox-dist/* "${S}" || die |
101 |
+ mv "${S}"/dropbox-lnx.*-${PV}/* "${S}" || die |
102 |
+ rmdir "${S}"/dropbox-lnx.*-${PV}/ || die |
103 |
+ rmdir .dropbox-dist || die |
104 |
+} |
105 |
+ |
106 |
+src_prepare() { |
107 |
+ eapply_user |
108 |
+ |
109 |
+ rm -vf libGL.so.1 libX11* libdrm.so.2 libffi.so.6 libpopt.so.0 wmctrl || die |
110 |
+ # tray icon doesnt load when removing libQt5* (bug 641416) |
111 |
+ #rm -vrf libQt5* libicu* qt.conf plugins/ || die |
112 |
+ if use X ; then |
113 |
+ mv images/hicolor/16x16/status "${T}" || die |
114 |
+ else |
115 |
+ rm -vrf PyQt5* *pyqt5* images || die |
116 |
+ fi |
117 |
+ if use librsync-bundled ; then |
118 |
+ patchelf --set-rpath '$ORIGIN' librsyncffi.compiled._librsyncffi*.so || die |
119 |
+ else |
120 |
+ rm -vf librsync.so.1 || die |
121 |
+ fi |
122 |
+ pax-mark cm dropbox |
123 |
+ mv README ACKNOWLEDGEMENTS "${T}" || die |
124 |
+} |
125 |
+ |
126 |
+src_install() { |
127 |
+ local targetdir="/opt/dropbox" |
128 |
+ |
129 |
+ insinto "${targetdir}" |
130 |
+ doins -r * |
131 |
+ fperms a+x "${targetdir}"/{dropbox,dropboxd} |
132 |
+ dosym "${targetdir}/dropboxd" "/opt/bin/dropbox" |
133 |
+ |
134 |
+ use X && doicon -s 16 -c status "${T}"/status |
135 |
+ |
136 |
+ make_desktop_entry "${PN}" "Dropbox" |
137 |
+ |
138 |
+ newinitd "${FILESDIR}"/dropbox.initd dropbox |
139 |
+ newconfd "${FILESDIR}"/dropbox.conf dropbox |
140 |
+ systemd_newunit "${FILESDIR}"/dropbox_at.service-r1 "dropbox@.service" |
141 |
+ |
142 |
+ dodoc "${T}"/{README,ACKNOWLEDGEMENTS} |
143 |
+} |
144 |
+ |
145 |
+pkg_preinst() { |
146 |
+ gnome2_icon_savelist |
147 |
+} |
148 |
+ |
149 |
+pkg_postinst() { |
150 |
+ gnome2_icon_cache_update |
151 |
+} |
152 |
+ |
153 |
+pkg_postrm() { |
154 |
+ gnome2_icon_cache_update |
155 |
+} |