summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2020-12-04 10:21:04 -0600
committerBen Kohler <bkohler@gentoo.org>2020-12-04 10:22:25 -0600
commitff4b3377e013df80a7c1af064aa1e9777df8be5a (patch)
tree8cb34a64c54671c4a65754d3870ed85017f6d5cb /net-misc/dropbox
parentmedia-gfx/geeqie: 1.6 bump (diff)
downloadgentoo-ff4b3377e013df80a7c1af064aa1e9777df8be5a.tar.gz
gentoo-ff4b3377e013df80a7c1af064aa1e9777df8be5a.tar.bz2
gentoo-ff4b3377e013df80a7c1af064aa1e9777df8be5a.zip
net-misc/dropbox: bump to 111.4.472
Package-Manager: Portage-3.0.11, Repoman-3.0.2 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-111.4.472.ebuild102
2 files changed, 104 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
index f853a319b040..090ad2d569a7 100644
--- a/net-misc/dropbox/Manifest
+++ b/net-misc/dropbox/Manifest
@@ -1,4 +1,6 @@
DIST dropbox-lnx.x86-109.4.517.tar.gz 98336166 BLAKE2B 6c8e59b6640d83c9f4a36a700d9471b2c4b97618126b78fabccc031ee6ba2c8b94122b273d01b21d6762020aae904c284a3d335dac70259692fbd045cbc0d7b2 SHA512 308e2d837a761d8bae02ef38cc9724fc6a411b1cdbd89c2bb0e3e2b4ee512755c859579fcb8cf1ea34b1e75becbe9910f878f8b019ce3b74c59a15a92e44df4f
DIST dropbox-lnx.x86-110.4.458.tar.gz 98543766 BLAKE2B 85c1e2d23436a8a48587a8d50a5d44c7a8f6e6de571f7a7eaa2cd54da45a7f3721f23a9ab1769353536d50c93f40d35635f228342888ba4509de9c9130d5f0a5 SHA512 e913cac34c1934818d5ac1478f3b723d34f5a196451a8b652a7bdbef552f94258b36323cd3ae77bfdb2a85caf0006b6fbf0ef6997a4d616f25c0bed18c844393
+DIST dropbox-lnx.x86-111.4.472.tar.gz 98640604 BLAKE2B 326c5290857bc511116f4375a1900570843ae0d50575ca8025ef3e431dafba7059a9952e8742d37ef0a297ac967ab115ebe4edc80f7f86a07aa04c6541ef2648 SHA512 4411f4f261bf4cde4d1d23c50696414119f13c5a18cb3e9cadec823570eed30c3f277b770068656d73e3a36e710c1554a58d51498ca1d2433905a2c03eae63a0
DIST dropbox-lnx.x86_64-109.4.517.tar.gz 102381526 BLAKE2B 915d8901e88597c456d507e70ba4026cb41d110ac08a902f10a02490e272e61cc81b67f04769e44746883e1f6064eb4ee034d74aa6b4ed4e6d6ee0a7d785efb2 SHA512 502149b0d20d47ed6af3e073d2e54b3888fa093084e8c45fb5c36aef56d47a2d4280daf8dd586ad95b55db9435b45acca4b25140840a786d1c1a101011210de4
DIST dropbox-lnx.x86_64-110.4.458.tar.gz 102601668 BLAKE2B b9614d7880dab101ff12812b78e26b269ad1e82505d4a02fc284dcf0c72256062b65bcb29598a45268b41eaa7567f6d13cfa8e264df805bbe434039852094b90 SHA512 f8107e4335adce49f3eca742b0517777aa84d35a60657c92dcf155f55fecef3bbcb01e4c1bddb43eb96568f9f296245e57e6af0c799e2cd5fd9c900bd98e0ccf
+DIST dropbox-lnx.x86_64-111.4.472.tar.gz 102674853 BLAKE2B 13255b9737859b9594901955d3819499173b43f12a0eaf476a402bf4bbfe3f1ca5881bf3fda5bdf47d0936e2e9d4bed58abc89c58feeb907074d965739e75021 SHA512 f70a37e0a6fa4f56353d1482b8621b526ecba31a9fdc6da337f3c01e075c87c28728cfd80f7f1a1f74286e294652684e2b7e671c7a6b195cd96eee64f785b3c4
diff --git a/net-misc/dropbox/dropbox-111.4.472.ebuild b/net-misc/dropbox/dropbox-111.4.472.ebuild
new file mode 100644
index 000000000000..7286be94a2dc
--- /dev/null
+++ b/net-misc/dropbox/dropbox-111.4.472.ebuild
@@ -0,0 +1,102 @@
+# Copyright 1999-2020 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
+"
+
+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"
+}