summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2021-11-14 05:11:55 -0600
committerBen Kohler <bkohler@gentoo.org>2021-11-14 05:12:33 -0600
commit273002a27b22b21b2b5c89083cf167a9fbed440f (patch)
tree8001636ba526c9d889b32a58bad9034f0cf6311d /net-misc
parentnet-im/sendxmpp-amm: add 1.1.1, drop 1.1.0 (diff)
downloadgentoo-273002a27b22b21b2b5c89083cf167a9fbed440f.tar.gz
gentoo-273002a27b22b21b2b5c89083cf167a9fbed440f.tar.bz2
gentoo-273002a27b22b21b2b5c89083cf167a9fbed440f.zip
net-misc/dropbox: bump to 135.4.4221
Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/dropbox/Manifest2
-rw-r--r--net-misc/dropbox/dropbox-135.4.4221.ebuild105
2 files changed, 107 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
index 96cf21366626..6eaf124490e0 100644
--- a/net-misc/dropbox/Manifest
+++ b/net-misc/dropbox/Manifest
@@ -1,4 +1,6 @@
DIST dropbox-lnx.x86-133.4.4089.tar.gz 99659191 BLAKE2B d13af3f0ff0f763773969292470165c2e0695a1341bf78f69227048f245bcbd0cd520f748c40062661e9c1a95bf290fb3ff72d5d960fa86db03c70e7892d36d7 SHA512 716e9c387c19424e75b8fa164ce978ed9cfb0b5a26ff425162183293c26a6a09e33e76432f9f6badd5fb6d80ae658cb310d69345cb74861df474f3628a2023bc
DIST dropbox-lnx.x86-134.4.4115.tar.gz 99756969 BLAKE2B cb8a753725a35c490ab13aec82e529b3bf9027c721f2d1eba5c6974c27e4e39054f9a8186d948eeb6b2dd216a0bcd252fe26c7c7053c80da5e69a623a73de344 SHA512 93db18ee248198b6ff8ff42f10dd8c151c9f38225f8f2d2c14e0240ce4a1fcc205458db7bc8877a46c97524a3db922c81c05de2b93edc20f0f5d96e33f5571f2
+DIST dropbox-lnx.x86-135.4.4221.tar.gz 99891129 BLAKE2B 0f5e651f3305b89e7635c5df5a184c32fa17203734d0b6e33929497b2e18aa24c5eae77fd8266bbd6b50d805c439cf58c2f329656f7bde22eab7e78c5353d526 SHA512 d3859b79eebe7148452861cc248ae209c473aaa42f0098bbc281badf6a96b1b85ff76cd017376024a01d1f2f0ac2eafc7e2b235cf37e710e04eed9460b47e62f
DIST dropbox-lnx.x86_64-133.4.4089.tar.gz 101463037 BLAKE2B 561efbfa7adb5b173112d36e63e92c31bbc6e4cdc87671817222c55c5b3beebe0195d8f566e0da6a1196ecd75f6148a6307ebd998c77b41760b0596f3fae8e70 SHA512 8b7509d813653478ecf86addb00f8b8f2739976e716c94a67f5f471396a656c43cafab9104722bd238e42965d3ef34cc6273aa92af5a0ea9076da0a5fb40b1c2
DIST dropbox-lnx.x86_64-134.4.4115.tar.gz 101575017 BLAKE2B 46d9124cac8c318dbefe3d1579dfeffa4b1cf48ea173a9635af243a2a26f340ce8fdcedcc8efb61316e89407f9fb96d1166c3cea5d2f86a7321b33cd4d58a4ed SHA512 2593caa766fddf88a85cd218e99c013ef071d8aeac1b37f16c65d25769014cfcec0ad3158f2bfb19b79d88e4f1e1ef5937f281c2a735c55c3bac5a930553096c
+DIST dropbox-lnx.x86_64-135.4.4221.tar.gz 101696081 BLAKE2B 43aff5b95430c98c67ce58bd838500ea915e6da4c7500da86b1cf9d125b9f4c7c6ef2ab93da77ee17542c0b929f654df470a481135463deb623fe7135569d0c9 SHA512 4ee3b489d1ccce44ce27c06aff7e12f83cf82113d4f032d2a23ad981ed1d21dccb4be12aca801a45a221d1e75fdc6651da27c2fb404f3340ac7043cb8288493e
diff --git a/net-misc/dropbox/dropbox-135.4.4221.ebuild b/net-misc/dropbox/dropbox-135.4.4221.ebuild
new file mode 100644
index 000000000000..be2fed244fff
--- /dev/null
+++ b/net-misc/dropbox/dropbox-135.4.4221.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"
+}