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: Mon, 29 Mar 2021 13:49:46
Message-Id: 1617025770.1038f198f7af2e3fa93f622716c05c7e650401b9.bkohler@gentoo
1 commit: 1038f198f7af2e3fa93f622716c05c7e650401b9
2 Author: Ben Kohler <bkohler <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 29 13:35:34 2021 +0000
4 Commit: Ben Kohler <bkohler <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 29 13:49:30 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1038f198
7
8 net-misc/dropbox: drop old
9
10 Package-Manager: Portage-3.0.17, Repoman-3.0.2
11 Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>
12
13 net-misc/dropbox/Manifest | 2 -
14 net-misc/dropbox/dropbox-117.4.378.ebuild | 102 ------------------------------
15 2 files changed, 104 deletions(-)
16
17 diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
18 index d154b0a00ea..12063e607a9 100644
19 --- a/net-misc/dropbox/Manifest
20 +++ b/net-misc/dropbox/Manifest
21 @@ -1,4 +1,2 @@
22 -DIST dropbox-lnx.x86-117.4.378.tar.gz 98240407 BLAKE2B 2a4a1f2967cc3b4fb59461d3ab94a8cb120db5ec3283d4ef0b1b13ad69e903bb87e11dbc72b1d1e2969aded63f03390af0087026864699c679276d195ec6e54f SHA512 261aad190643e02a102b70ce5418cf61f8affcf3607e6b35d91ec5713fb7ee058d2e20390fd6e8c434ae69d6f888ff390b12d2f544aa2b08a7ac98a9c545811d
23 DIST dropbox-lnx.x86-118.4.460.tar.gz 98620060 BLAKE2B 3b2aa51cd93d2ccfc78efe434ba2fd2a7bf270c54e64d009ce7d82927b85805d1616525aa8433afe3c59c8b7d15b3cfd129b8f85a504210e05fd2d95024e9589 SHA512 1858c1bafcb87cf5db44549ac3b12f56402ac2ef63e959d9d22a42952ca4a620115f92021736560e350730a5f5f0da52abf2d5b5c7765f82e39fb4f9b76098e4
24 -DIST dropbox-lnx.x86_64-117.4.378.tar.gz 101675442 BLAKE2B 42dbb52a4cb1998b1e114e5486acc0a89191c1856f1391c3f19186937faeae12ceec39e5496744f3237e457656f50d4c6af6b4f9ad5b02541e946c96f325ba92 SHA512 876314d7d56692c34c714c7aa8d03d5e9250a5a5bb72c74a16eaee68cf1cf28d4585e4b3ac457dc42d0230d222d62eeeab66672765c182d999f7200a1335a4b7
25 DIST dropbox-lnx.x86_64-118.4.460.tar.gz 102012647 BLAKE2B 87ee9e246e5e4c7cd4b5fe7aacbbe028ebec3f02abf650b1d8d8f867aea0900d05ae697ec02916b59b19ad3049606bfa1c63a286f7d21a335650a4322978c345 SHA512 206bb2bc4932d0784438df8de4dfecbbc6deda4ca71f8cd5dced17066293f41f8a722d7e05516e24fcc163cdb9e475733d75d19b369a7f63b3a7f1a966f0d5f4
26
27 diff --git a/net-misc/dropbox/dropbox-117.4.378.ebuild b/net-misc/dropbox/dropbox-117.4.378.ebuild
28 deleted file mode 100644
29 index 17ace6762e1..00000000000
30 --- a/net-misc/dropbox/dropbox-117.4.378.ebuild
31 +++ /dev/null
32 @@ -1,102 +0,0 @@
33 -# Copyright 1999-2021 Gentoo Authors
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI=7
37 -
38 -inherit desktop pax-utils systemd xdg
39 -
40 -DESCRIPTION="Dropbox daemon (pretends to be GUI-less)"
41 -HOMEPAGE="https://www.dropbox.com/"
42 -SRC_URI="
43 - amd64? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-${PV}.tar.gz )
44 - x86? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-${PV}.tar.gz )"
45 -
46 -LICENSE="BSD-2 CC-BY-ND-3.0 FTL MIT LGPL-2 openssl dropbox"
47 -SLOT="0"
48 -KEYWORDS="amd64 x86 ~x86-linux"
49 -IUSE="selinux X"
50 -
51 -RESTRICT="mirror strip"
52 -
53 -QA_PREBUILT="opt/.*"
54 -QA_EXECSTACK="opt/dropbox/dropbox"
55 -
56 -BDEPEND="dev-util/patchelf"
57 -
58 -# Be sure to have GLIBCXX_3.4.9, #393125
59 -RDEPEND="
60 - X? (
61 - x11-themes/hicolor-icon-theme
62 - )
63 - selinux? ( sec-policy/selinux-dropbox )
64 - app-arch/bzip2
65 - dev-libs/glib:2
66 - dev-libs/libffi-compat:6
67 - media-libs/fontconfig
68 - media-libs/freetype
69 - net-misc/wget
70 - sys-libs/zlib
71 - sys-libs/ncurses-compat:5
72 - virtual/opengl
73 - x11-libs/libICE
74 - x11-libs/libSM
75 - x11-libs/libX11
76 -"
77 -
78 -src_unpack() {
79 - unpack ${A}
80 - mkdir -p "${S}" || die
81 - mv "${WORKDIR}"/.dropbox-dist/* "${S}" || die
82 - mv "${S}"/dropbox-lnx.*-${PV}/* "${S}" || die
83 - rmdir "${S}"/dropbox-lnx.*-${PV}/ || die
84 - rmdir .dropbox-dist || die
85 -}
86 -
87 -src_prepare() {
88 - default
89 - # we supply all of these in RDEPEND
90 - rm -vf libGL.so.1 libX11* libffi.so.6 || die
91 - # some of these do not appear to be used
92 - rm -vf libQt5{OpenGL,PrintSupport,Qml,Quick,Sql,WebKit,WebKitWidgets}.so.5 \
93 - PyQt5.QtPrintSupport.* PyQt5.QtQml.* PyQt5.QtQuick.* \
94 - wmctrl libdrm.so.2 libpopt.so.0 || die
95 - if use X ; then
96 - mv images/hicolor/16x16/status "${T}" || die
97 - else
98 - rm -vrf images || die
99 - fi
100 - patchelf --set-rpath '$ORIGIN' \
101 - apex._apex.*.so \
102 - nucleus_python.*.so \
103 - tprt.*.so \
104 - || die
105 - pax-mark cm dropbox
106 - mv README ACKNOWLEDGEMENTS "${T}" || die
107 -}
108 -
109 -src_install() {
110 - local targetdir="/opt/dropbox"
111 -
112 - insinto "${targetdir}"
113 - doins -r *
114 - fperms a+x "${targetdir}"/{dropbox,dropboxd}
115 - dosym "${targetdir}/dropboxd" "/opt/bin/dropbox"
116 -
117 - use X && doicon -s 16 -c status "${T}"/status
118 -
119 - make_desktop_entry "${PN}" "Dropbox" "dropboxstatus-logo"
120 -
121 - newinitd "${FILESDIR}"/dropbox.initd dropbox
122 - newconfd "${FILESDIR}"/dropbox.conf dropbox
123 - systemd_newunit "${FILESDIR}"/dropbox_at.service-r2 "dropbox@.service"
124 -
125 - dodoc "${T}"/{README,ACKNOWLEDGEMENTS}
126 -}
127 -
128 -pkg_postinst() {
129 - einfo "Warning: while running, dropbox may attempt to autoupdate itself in"
130 - einfo " your user's home directory. To prevent this, run the following as"
131 - einfo " each user who will run dropbox:"
132 - einfo ""
133 - einfo "install -dm0 ~/.dropbox-dist"
134 -}