summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2021-10-13 09:05:43 -0500
committerBen Kohler <bkohler@gentoo.org>2021-10-13 12:31:16 -0500
commit07ae352c2f6621532f337d6f20e77489d38c3a27 (patch)
treec7ef54fca96d3e9b586bff0ffcfa62a2975196e2 /net-misc/dropbox
parentnet-misc/s3cmd: one more cleanup tweak (diff)
downloadgentoo-07ae352c2f6621532f337d6f20e77489d38c3a27.tar.gz
gentoo-07ae352c2f6621532f337d6f20e77489d38c3a27.tar.bz2
gentoo-07ae352c2f6621532f337d6f20e77489d38c3a27.zip
net-misc/dropbox: bump to 133.4.4089
Package-Manager: Portage-3.0.28, 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-133.4.4089.ebuild105
2 files changed, 107 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
index 4ab63d4c4732..82ce8ddee90b 100644
--- a/net-misc/dropbox/Manifest
+++ b/net-misc/dropbox/Manifest
@@ -1,4 +1,6 @@
DIST dropbox-lnx.x86-131.4.3968.tar.gz 99373510 BLAKE2B f9db71b392218b09d1428729af8ad83353c9c9b045342af7fcb19d63e318d260cf35ec8ce52ab14eabd6f5c5e094f9f6fb14517fed806381ee5d6f1f61e16ae8 SHA512 3b220c9768199e7cafafde5b73c0ea5a976aa73ed2b9bba9fcc116c25a0da362b1cff65d86f71c3c75a7ba82337c4d4673abf56934ad0e4b4a6c797e7664f4c5
DIST dropbox-lnx.x86-132.4.3800.tar.gz 99450051 BLAKE2B c765236721e462a1f0a1b1d48bfc1bb80c8347a0b64b0fb37a68a03fc10ff69274e84065802d31419d5810324a41e638eabeafc1563b2b464770fafd40b5be1d SHA512 8a132623b4dde39e0e39d88a4ca90c88c6349236a7e3941be77f1784fd1a289a803a211f532b78d7805c5e765d0f358a20745a6300ad4c1e16f385fb82b01625
+DIST dropbox-lnx.x86-133.4.4089.tar.gz 99659191 BLAKE2B d13af3f0ff0f763773969292470165c2e0695a1341bf78f69227048f245bcbd0cd520f748c40062661e9c1a95bf290fb3ff72d5d960fa86db03c70e7892d36d7 SHA512 716e9c387c19424e75b8fa164ce978ed9cfb0b5a26ff425162183293c26a6a09e33e76432f9f6badd5fb6d80ae658cb310d69345cb74861df474f3628a2023bc
DIST dropbox-lnx.x86_64-131.4.3968.tar.gz 101176952 BLAKE2B da7470b1f401792874e6fd1c0fb2546d38f111f0db232f20adb9488ee844c7cbe469362f1ccb74b8708da43fd7389642ca5ba5579de60ae340c13f833add63cd SHA512 1a6b9262f31f540c4aa718058106dafc990694ef26f247d0f43e32592a2bfcc831dd2f1009feed634299546034aba4451fc7ce621f8574bb83510b783011b78e
DIST dropbox-lnx.x86_64-132.4.3800.tar.gz 101246481 BLAKE2B 9ad48da71e42810dcd898fb3f52e5b0a6c0791be03a41ab54a5a97c88c635542ccfb528e2b8d6165b9d8497ac48002d62139eaad649fb4fac694975542dc295a SHA512 e4b7fdcfe8aeb67f523f2ce320dba7e689e9947d741f2ae21a0a12a3f25dab6e3e9a67394d312149b5e181207d0c2b28d417684b739d3462c9984ccca3fba3c3
+DIST dropbox-lnx.x86_64-133.4.4089.tar.gz 101463037 BLAKE2B 561efbfa7adb5b173112d36e63e92c31bbc6e4cdc87671817222c55c5b3beebe0195d8f566e0da6a1196ecd75f6148a6307ebd998c77b41760b0596f3fae8e70 SHA512 8b7509d813653478ecf86addb00f8b8f2739976e716c94a67f5f471396a656c43cafab9104722bd238e42965d3ef34cc6273aa92af5a0ea9076da0a5fb40b1c2
diff --git a/net-misc/dropbox/dropbox-133.4.4089.ebuild b/net-misc/dropbox/dropbox-133.4.4089.ebuild
new file mode 100644
index 000000000000..be2fed244fff
--- /dev/null
+++ b/net-misc/dropbox/dropbox-133.4.4089.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"
+}