Gentoo Archives: gentoo-commits

From: Ben Kohler <bkohler@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/dropbox/
Date: Wed, 13 May 2020 22:33:55
Message-Id: 1589409214.306eb4e9a385341eb90328dff45dfb5ed79fd8b5.bkohler@gentoo
1 commit: 306eb4e9a385341eb90328dff45dfb5ed79fd8b5
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Wed May 13 22:33:02 2020 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Wed May 13 22:33:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=306eb4e9
7
8 net-misc/dropbox: bump to 97.4.467
9
10 Package-Manager: Portage-2.3.99, Repoman-2.3.22
11 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
12
13 net-misc/dropbox/Manifest | 2 +
14 net-misc/dropbox/dropbox-97.4.467.ebuild | 102 +++++++++++++++++++++++++++++++
15 2 files changed, 104 insertions(+)
16
17 diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
18 index 2567d815370..e26965ad48c 100644
19 --- a/net-misc/dropbox/Manifest
20 +++ b/net-misc/dropbox/Manifest
21 @@ -1,6 +1,8 @@
22 DIST dropbox-lnx.x86-94.4.384.tar.gz 94254443 BLAKE2B 4d12d0268ea71f4d06304dbe29bcd54f3af4c39e10ba8be4892724c6dc556dd844e587f789cc957dad66d7bd44ae8fdac398cefbfb714a8b01d7f8c06b1d6d50 SHA512 710af644cdaf88a6db26f86b2cafd1bb729b4cd52aab4a3328c9c3061183db32db016adb6d8dc9c5a2fc860a55c3abc712a774ac3e635459c605e91c0178c37e
23 DIST dropbox-lnx.x86-96.4.172.tar.gz 95619165 BLAKE2B 3d839e3ea9e1b9a7399693e8540230a8bd173b1cbe7fb9ee3a85621f6a3c59bc8c2c58d2f8e0f0998dcd9b0d77cbfcb006c9b543609546efca6ae8d85817b5ee SHA512 83ee64f7db74742c375fca8fa661da0774c3ec451cfe6cc71e5879427e8f822ae9f533ca2920bc01158b05dd52fac9f89fb3bd8928a2a71c4df4162f67547e22
24 DIST dropbox-lnx.x86-97.3.451.tar.gz 96560209 BLAKE2B 9ca8b50afddb8e0435cc1e408fdb10a12a1097baebf7241033661ac26e5d8c369b09bb6dfe707d1f0f3f6a79832ff0ae097eed859b0a3612574fb69d9d74fd47 SHA512 d50ba534f3b7b87755d09ffb216cc8741f0d520c088577fbda486aa4debd7317fd87fa7a86a0131800b1cdd75a60f2ee6c1b7d264a8e75b11d7d619e509f221e
25 +DIST dropbox-lnx.x86-97.4.467.tar.gz 96556504 BLAKE2B 1959c134126870e2d86b925766db9466be49fa0f71caeadac79f529194e85afeb4b45e47507a6786a2dc91cdb1cd976ec02110dac2c9d2abd71d789fd81204ac SHA512 fa056a96c1dd68f8c691c21b73d6d7159472616d2d67611a7ee01cb9b6bc4eeceed04087cb77114d6a62a715cbe82f828c6e75e4e92d3a4ce88ca7bbc2d71dd4
26 DIST dropbox-lnx.x86_64-94.4.384.tar.gz 98561877 BLAKE2B ff1ec6a8f76b9b79ed3cfe34d5dd5642886d01631bba062ba15528929e1068425fadc403c8a7fb3242b08c2d2742a2f4ccd255c8772691ee1e4f1b8693be4dcb SHA512 e905b283ef435d7b6c0d7973f49e8c0a4a5e7c25c2570967b24bb8476ef1889f63d01e7951f1c6d78a5c6851e1a30737b9297032dede1540e3bf391c56bc0c8b
27 DIST dropbox-lnx.x86_64-96.4.172.tar.gz 99944904 BLAKE2B 0b9b6c3d283de2751df9c083f7cf4ec8bd013def2a6cacc1a006e5a66ef5d0451d5c1faef3b10d7295ff3c23b941e48248126064e9eab6391e11ad7c193ebb01 SHA512 1aaf4b3e88e047f184af813d80e7754649ab33f2337ae1555c7d408d3358195e48cb0b1daaae1fe6f8a1e572ea087960eb2bda2413158f60588e022f5f01136f
28 DIST dropbox-lnx.x86_64-97.3.451.tar.gz 100909755 BLAKE2B 75de9da05ebdb1c1da0d604d8e7aff3fd1fa5a6b9f281cb8ae20f673ea05f0a4af775d6c5926fc5962782c896a71aaa48651c7b49e05ed4bc783f64275b1fcce SHA512 501e8754717a91b1fe01ebe5f895341b3ab74da97633faadf3bcf81735672efd6beffa87125aad7e32e851ef656cf5ba8951e57ecc6180a2f3b77af37a629e65
29 +DIST dropbox-lnx.x86_64-97.4.467.tar.gz 100899563 BLAKE2B 0ab7b98d9e1394ce997aa456157a85586addb0c82f47d831721bd36a716cb3117b280e2753040369bc04d5a0360a3861a34e9381dcba747fdb4a38e11d4dd34a SHA512 05ddc063c9dcfb8b9b03f93f0b298b53d90702aef25ce44254efc1e7b21c0e767702c91cbfa3b1876a4c32980f80dd34eaf40453d76d093635df17818f663c9c
30
31 diff --git a/net-misc/dropbox/dropbox-97.4.467.ebuild b/net-misc/dropbox/dropbox-97.4.467.ebuild
32 new file mode 100644
33 index 00000000000..38f892d3ba4
34 --- /dev/null
35 +++ b/net-misc/dropbox/dropbox-97.4.467.ebuild
36 @@ -0,0 +1,102 @@
37 +# Copyright 1999-2020 Gentoo Authors
38 +# Distributed under the terms of the GNU General Public License v2
39 +
40 +EAPI=7
41 +
42 +inherit desktop pax-utils systemd xdg
43 +
44 +DESCRIPTION="Dropbox daemon (pretends to be GUI-less)"
45 +HOMEPAGE="https://www.dropbox.com/"
46 +SRC_URI="
47 + amd64? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-${PV}.tar.gz )
48 + x86? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-${PV}.tar.gz )"
49 +
50 +LICENSE="BSD-2 CC-BY-ND-3.0 FTL MIT LGPL-2 openssl dropbox"
51 +SLOT="0"
52 +KEYWORDS="~amd64 ~x86 ~x86-linux"
53 +IUSE="+librsync-bundled selinux X"
54 +
55 +RESTRICT="mirror strip"
56 +
57 +QA_PREBUILT="opt/.*"
58 +QA_EXECSTACK="opt/dropbox/dropbox"
59 +
60 +BDEPEND="dev-util/patchelf"
61 +
62 +# Be sure to have GLIBCXX_3.4.9, #393125
63 +RDEPEND="
64 + X? (
65 + dev-libs/glib:2
66 + media-libs/fontconfig
67 + media-libs/freetype
68 + virtual/jpeg
69 + x11-libs/libSM
70 + x11-libs/libX11
71 + x11-libs/libXinerama
72 + x11-libs/libXxf86vm
73 + x11-libs/pango[X]
74 + x11-misc/wmctrl
75 + x11-themes/hicolor-icon-theme
76 + )
77 + !librsync-bundled? ( <net-libs/librsync-2 )
78 + selinux? ( sec-policy/selinux-dropbox )
79 + app-arch/bzip2
80 + dev-libs/libffi-compat:6
81 + dev-libs/popt
82 + net-misc/wget
83 + >=sys-devel/gcc-4.2.0
84 + sys-libs/zlib
85 + sys-libs/ncurses-compat:5"
86 +
87 +src_unpack() {
88 + unpack ${A}
89 + mkdir -p "${S}" || die
90 + mv "${WORKDIR}"/.dropbox-dist/* "${S}" || die
91 + mv "${S}"/dropbox-lnx.*-${PV}/* "${S}" || die
92 + rmdir "${S}"/dropbox-lnx.*-${PV}/ || die
93 + rmdir .dropbox-dist || die
94 +}
95 +
96 +src_prepare() {
97 + default
98 +
99 + rm -vf libGL.so.1 libX11* libdrm.so.2 libffi.so.6 libpopt.so.0 wmctrl || die
100 + # tray icon doesnt load when removing libQt5* (bug 641416)
101 + #rm -vrf libQt5* libicu* qt.conf plugins/ || die
102 + if use X ; then
103 + mv images/hicolor/16x16/status "${T}" || die
104 + else
105 + rm -vrf images || die
106 + fi
107 + if use librsync-bundled ; then
108 + patchelf --set-rpath '$ORIGIN' librsyncffi_native.*.so || die
109 + else
110 + rm -vf librsync.so.1 || die
111 + fi
112 + patchelf --set-rpath '$ORIGIN' \
113 + apex._apex.*.so \
114 + nucleus_python.*.so \
115 + tprt.*.so \
116 + || die
117 + pax-mark cm dropbox
118 + mv README ACKNOWLEDGEMENTS "${T}" || die
119 +}
120 +
121 +src_install() {
122 + local targetdir="/opt/dropbox"
123 +
124 + insinto "${targetdir}"
125 + doins -r *
126 + fperms a+x "${targetdir}"/{dropbox,dropboxd}
127 + dosym "${targetdir}/dropboxd" "/opt/bin/dropbox"
128 +
129 + use X && doicon -s 16 -c status "${T}"/status
130 +
131 + make_desktop_entry "${PN}" "Dropbox" "dropboxstatus-logo"
132 +
133 + newinitd "${FILESDIR}"/dropbox.initd dropbox
134 + newconfd "${FILESDIR}"/dropbox.conf dropbox
135 + systemd_newunit "${FILESDIR}"/dropbox_at.service-r2 "dropbox@.service"
136 +
137 + dodoc "${T}"/{README,ACKNOWLEDGEMENTS}
138 +}