summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2021-07-06 14:49:38 -0500
committerBen Kohler <bkohler@gentoo.org>2021-07-07 08:45:59 -0500
commitd867b1461248533d219ce61cd86abae13b556da3 (patch)
treee9ebbaf3736ae5626073b040bc2e4bad4fd862c2 /net-misc/dropbox
parentnet-news/rssguard: add 3.9.2 (diff)
downloadgentoo-d867b1461248533d219ce61cd86abae13b556da3.tar.gz
gentoo-d867b1461248533d219ce61cd86abae13b556da3.tar.bz2
gentoo-d867b1461248533d219ce61cd86abae13b556da3.zip
net-misc/dropbox: bump to 126.4.4618
Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-misc/dropbox')
-rw-r--r--net-misc/dropbox/Manifest2
-rw-r--r--net-misc/dropbox/dropbox-126.4.4618.ebuild105
2 files changed, 107 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
index 4a670b018b78..a89f2d68fe8d 100644
--- a/net-misc/dropbox/Manifest
+++ b/net-misc/dropbox/Manifest
@@ -1,2 +1,4 @@
DIST dropbox-lnx.x86-125.4.3474.tar.gz 98803434 BLAKE2B 9416f95e297ba5f278dde845c5f4b0b6e2d5c53dd8336017b27bfad8546d685a5f7ab4a953a0db471e87cab6a544178fd92dfd737aeb9f9b052364da41f18305 SHA512 2e3a8843d083a754513cf2d8c897910ccad9591d939bce84026e39a5cf4a9fc3489dc05ed7981fedd194c078a45bac412217cc5f629cdf1d77e70cbcdf7f9c5a
+DIST dropbox-lnx.x86-126.4.4618.tar.gz 99181455 BLAKE2B 3f7326d719c2a71d76a584173356d249164750fdb6c97e12d47de0d99cb43559a0b51d07f90ba7918c9e50d95cef77aec4eac854eaebdc56f0fa366d5ad44cc8 SHA512 4ca715e5309dd2dcec53721c8be93a3ad3898550edc42f6da90e99818593f812eb59040a9df5fe88517970893d6769cd2e39961ebc5c1c73de5df22e128bd02c
DIST dropbox-lnx.x86_64-125.4.3474.tar.gz 101953751 BLAKE2B 5ef621e2dba90ac08e52678eb8a63eaf3c97d3e294bd237499ef988a17a16d6b9425e5b0c17caa1dccc3d81ea7b558b0103f9120eb31ca1ff28baa487e43cd20 SHA512 dca1088d3e2467b54eb7494276cc3b97eb83ef8089bba513f7abb6e0007807f549615d41d3574ac9b53f74c84203d5863018dc374f883a485d60450e9a6c0a07
+DIST dropbox-lnx.x86_64-126.4.4618.tar.gz 101031058 BLAKE2B ff05f235d574824d45857d737db146b548813f4c8a3097a5103af273326ad3bb07d6b11e08c322afb9591479a325f25598a9196cfcc6ec0743452b1c51778bb9 SHA512 6c2d52bfbb53512ab4a35851dba2116f66387760e71b0744f863024599a68fa5fa948b5a5747cd45628da53cadae29a5239bb6d2412ec2f11a8b73e2e6975f15
diff --git a/net-misc/dropbox/dropbox-126.4.4618.ebuild b/net-misc/dropbox/dropbox-126.4.4618.ebuild
new file mode 100644
index 000000000000..be2fed244fff
--- /dev/null
+++ b/net-misc/dropbox/dropbox-126.4.4618.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit desktop pax-utils systemd xdg
+
+DESCRIPTION="Dropbox daemon (pretends to be GUI-less)"
+HOMEPAGE="https://www.dropbox.com/"
+SRC_URI="
+ amd64? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-${PV}.tar.gz )
+ x86? ( https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-${PV}.tar.gz )"
+
+LICENSE="BSD-2 CC-BY-ND-3.0 FTL MIT LGPL-2 openssl dropbox"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-linux"
+IUSE="selinux X"
+
+RESTRICT="mirror strip"
+
+QA_PREBUILT="opt/.*"
+QA_EXECSTACK="opt/dropbox/dropbox"
+
+BDEPEND="dev-util/patchelf"
+
+# Be sure to have GLIBCXX_3.4.9, #393125
+RDEPEND="
+ X? (
+ x11-themes/hicolor-icon-theme
+ )
+ selinux? ( sec-policy/selinux-dropbox )
+ app-arch/bzip2
+ dev-libs/glib:2
+ dev-libs/libffi-compat:6
+ media-libs/fontconfig
+ media-libs/freetype
+ net-misc/wget
+ sys-libs/zlib
+ sys-libs/ncurses-compat:5
+ virtual/opengl
+ x11-libs/libICE
+ x11-libs/libSM
+ x11-libs/libX11
+ x11-libs/libXext
+ x11-libs/libXrender
+ x11-libs/libxcb
+"
+
+src_unpack() {
+ unpack ${A}
+ mkdir -p "${S}" || die
+ mv "${WORKDIR}"/.dropbox-dist/* "${S}" || die
+ mv "${S}"/dropbox-lnx.*-${PV}/* "${S}" || die
+ rmdir "${S}"/dropbox-lnx.*-${PV}/ || die
+ rmdir .dropbox-dist || die
+}
+
+src_prepare() {
+ default
+ # we supply all of these in RDEPEND
+ rm -vf libGL.so.1 libX11* libffi.so.6 || die
+ # some of these do not appear to be used
+ rm -vf libQt5{OpenGL,PrintSupport,Qml,Quick,Sql,WebKit,WebKitWidgets}.so.5 \
+ PyQt5.QtPrintSupport.* PyQt5.QtQml.* PyQt5.QtQuick.* \
+ wmctrl libdrm.so.2 libpopt.so.0 || die
+ if use X ; then
+ mv images/hicolor/16x16/status "${T}" || die
+ else
+ rm -vrf images || die
+ fi
+ patchelf --set-rpath '$ORIGIN' \
+ apex._apex.*.so \
+ nucleus_python.*.so \
+ tprt.*.so \
+ || die
+ pax-mark cm dropbox
+ mv README ACKNOWLEDGEMENTS "${T}" || die
+}
+
+src_install() {
+ local targetdir="/opt/dropbox"
+
+ insinto "${targetdir}"
+ doins -r *
+ fperms a+x "${targetdir}"/{dropbox,dropboxd}
+ dosym "${targetdir}/dropboxd" "/opt/bin/dropbox"
+
+ use X && doicon -s 16 -c status "${T}"/status
+
+ make_desktop_entry "${PN}" "Dropbox" "dropboxstatus-logo"
+
+ newinitd "${FILESDIR}"/dropbox.initd dropbox
+ newconfd "${FILESDIR}"/dropbox.conf dropbox
+ systemd_newunit "${FILESDIR}"/dropbox_at.service-r2 "dropbox@.service"
+
+ dodoc "${T}"/{README,ACKNOWLEDGEMENTS}
+}
+
+pkg_postinst() {
+ einfo "Warning: while running, dropbox may attempt to autoupdate itself in"
+ einfo " your user's home directory. To prevent this, run the following as"
+ einfo " each user who will run dropbox:"
+ einfo ""
+ einfo "install -dm0 ~/.dropbox-dist"
+}