1 |
commit: 52a8be186b9572777ffb94bc9478ef9023e1ffd4 |
2 |
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 15 20:47:33 2020 +0000 |
4 |
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jan 19 23:51:33 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52a8be18 |
7 |
|
8 |
net-misc/dropbox: Drop 89.3.268 (r0) |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> |
12 |
|
13 |
net-misc/dropbox/dropbox-89.3.268.ebuild | 106 ------------------------------- |
14 |
1 file changed, 106 deletions(-) |
15 |
|
16 |
diff --git a/net-misc/dropbox/dropbox-89.3.268.ebuild b/net-misc/dropbox/dropbox-89.3.268.ebuild |
17 |
deleted file mode 100644 |
18 |
index b08c6c38492..00000000000 |
19 |
--- a/net-misc/dropbox/dropbox-89.3.268.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,106 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI=7 |
26 |
- |
27 |
-inherit desktop pax-utils systemd xdg |
28 |
- |
29 |
-DESCRIPTION="Dropbox daemon (pretends to be GUI-less)" |
30 |
-HOMEPAGE="https://www.dropbox.com/" |
31 |
-SRC_URI=" |
32 |
- amd64? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-${PV}.tar.gz ) |
33 |
- x86? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-${PV}.tar.gz )" |
34 |
- |
35 |
-LICENSE="BSD-2 CC-BY-ND-3.0 FTL MIT LGPL-2 openssl dropbox" |
36 |
-SLOT="0" |
37 |
-KEYWORDS="amd64 x86 ~x86-linux" |
38 |
-IUSE="+librsync-bundled selinux X" |
39 |
- |
40 |
-RESTRICT="mirror strip" |
41 |
- |
42 |
-QA_PREBUILT="opt/.*" |
43 |
-QA_EXECSTACK="opt/dropbox/dropbox" |
44 |
- |
45 |
-DEPEND="librsync-bundled? ( dev-util/patchelf )" |
46 |
- |
47 |
-# Be sure to have GLIBCXX_3.4.9, #393125 |
48 |
-RDEPEND=" |
49 |
- X? ( |
50 |
- dev-libs/glib:2 |
51 |
- dev-qt/qtcore:5 |
52 |
- dev-qt/qtdbus:5 |
53 |
- dev-qt/qtdeclarative:5 |
54 |
- dev-qt/qtgui:5[-gles2,xcb] |
55 |
- dev-qt/qtopengl:5[-gles2] |
56 |
- dev-qt/qtnetwork:5 |
57 |
- dev-qt/qtprintsupport:5[-gles2] |
58 |
- dev-qt/qtwebkit:5 |
59 |
- dev-qt/qtwidgets:5[-gles2] |
60 |
- media-libs/fontconfig |
61 |
- media-libs/freetype |
62 |
- virtual/jpeg |
63 |
- x11-libs/libSM |
64 |
- x11-libs/libX11 |
65 |
- x11-libs/libXinerama |
66 |
- x11-libs/libXxf86vm |
67 |
- x11-libs/pango[X] |
68 |
- x11-misc/wmctrl |
69 |
- x11-themes/hicolor-icon-theme |
70 |
- ) |
71 |
- !librsync-bundled? ( <net-libs/librsync-2 ) |
72 |
- selinux? ( sec-policy/selinux-dropbox ) |
73 |
- app-arch/bzip2 |
74 |
- dev-libs/libffi-compat:6 |
75 |
- dev-libs/popt |
76 |
- net-misc/wget |
77 |
- >=sys-devel/gcc-4.2.0 |
78 |
- sys-libs/zlib |
79 |
- sys-libs/ncurses-compat:5" |
80 |
- |
81 |
-src_unpack() { |
82 |
- unpack ${A} |
83 |
- mkdir -p "${S}" || die |
84 |
- mv "${WORKDIR}"/.dropbox-dist/* "${S}" || die |
85 |
- mv "${S}"/dropbox-lnx.*-${PV}/* "${S}" || die |
86 |
- rmdir "${S}"/dropbox-lnx.*-${PV}/ || die |
87 |
- rmdir .dropbox-dist || die |
88 |
-} |
89 |
- |
90 |
-src_prepare() { |
91 |
- default |
92 |
- |
93 |
- rm -vf libGL.so.1 libX11* libdrm.so.2 libffi.so.6 libpopt.so.0 wmctrl || die |
94 |
- # tray icon doesnt load when removing libQt5* (bug 641416) |
95 |
- #rm -vrf libQt5* libicu* qt.conf plugins/ || die |
96 |
- if use X ; then |
97 |
- mv images/hicolor/16x16/status "${T}" || die |
98 |
- else |
99 |
- rm -vrf PyQt5* *pyqt5* images || die |
100 |
- fi |
101 |
- if use librsync-bundled ; then |
102 |
- patchelf --set-rpath '$ORIGIN' librsyncffi_native.*.so || die |
103 |
- else |
104 |
- rm -vf librsync.so.1 || die |
105 |
- fi |
106 |
- pax-mark cm dropbox |
107 |
- mv README ACKNOWLEDGEMENTS "${T}" || die |
108 |
-} |
109 |
- |
110 |
-src_install() { |
111 |
- local targetdir="/opt/dropbox" |
112 |
- |
113 |
- insinto "${targetdir}" |
114 |
- doins -r * |
115 |
- fperms a+x "${targetdir}"/{dropbox,dropboxd} |
116 |
- dosym "${targetdir}/dropboxd" "/opt/bin/dropbox" |
117 |
- |
118 |
- use X && doicon -s 16 -c status "${T}"/status |
119 |
- |
120 |
- make_desktop_entry "${PN}" "Dropbox" "dropboxstatus-logo" |
121 |
- |
122 |
- newinitd "${FILESDIR}"/dropbox.initd dropbox |
123 |
- newconfd "${FILESDIR}"/dropbox.conf dropbox |
124 |
- systemd_newunit "${FILESDIR}"/dropbox_at.service-r2 "dropbox@.service" |
125 |
- |
126 |
- dodoc "${T}"/{README,ACKNOWLEDGEMENTS} |
127 |
-} |