summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2022-01-22 13:57:31 -0600
committerBen Kohler <bkohler@gentoo.org>2022-01-22 13:59:02 -0600
commit2046752b4207bbc34eef8f99a4a7a1cd5e0855a5 (patch)
treef6504b93c96ee783c0822b5365f16275d2877289 /net-misc
parentprofiles/arch/arm64: mask xscreensaver-6.02 (diff)
downloadgentoo-2046752b4207bbc34eef8f99a4a7a1cd5e0855a5.tar.gz
gentoo-2046752b4207bbc34eef8f99a4a7a1cd5e0855a5.tar.bz2
gentoo-2046752b4207bbc34eef8f99a4a7a1cd5e0855a5.zip
net-misc/dropbox: bump to 140.4.1951
Package-Manager: Portage-3.0.30, 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-140.4.1951.ebuild110
2 files changed, 112 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
index 6432338bb453..3207010c724b 100644
--- a/net-misc/dropbox/Manifest
+++ b/net-misc/dropbox/Manifest
@@ -1,5 +1,7 @@
DIST DropboxGlyph_Blue.svg 605 BLAKE2B 6c488bd261293b22da98035935ddfa9247bedbc6f4da2f9fc2470af802c1f4f597ac88b01b5bef9e77e1e717267f633d6a04af2ccfd3c5f9dbff22fbceaf9a91 SHA512 9202344b904dcd7955e5a355dadf537d1544140d74f8a33bdc40e18e36661e3a474d11cf17613eaebf4e76c170d8413d99abdedfb8635784bcd6892b4b259712
DIST dropbox-lnx.x86-138.4.2392.tar.gz 100212564 BLAKE2B 901212edd0a0034cf8040bc745d0ce50c38f922305cad9c07d4c48be935758658e729087008ca039273b2213dd756dcfd212aa10a803bc14537a570e06de5d5c SHA512 b17f77267cfe08ed4d5be3a2087eb8c1fdd7112245aa7f63f7d334f404bc6617dfa45f8f38918971bed051d7f3a9e765b910c597de63e2d48a5afd3d3d9a4fa4
DIST dropbox-lnx.x86-139.4.4896.tar.gz 99109699 BLAKE2B 42de55420b78be67f863a4e53c252afaf7123ced2df2a597c44cdd4f62482a494c078446a6de15301ee2fbcfda08e8232d8964b9c11d40109b397142ceeb0470 SHA512 57d31a961eec14887af5ac1cadd06b202b4d181e864000f10596637602cf55ad9ceebb5442aab06bf09abeadce7ded4b4794ccfc299a4c0e9dbd6945311d45f3
+DIST dropbox-lnx.x86-140.4.1951.tar.gz 99178001 BLAKE2B eb9f6686386ea7f844f9284786fc9f8ec33653c740de8c6b14cf2853fb21fd883cc317ecf57232d479a5964662bfbe65c675871fa946a68869f797b766bb0724 SHA512 857e97d7091fc4c10c693828424ca0df367c8d4456092e44eade0b6d5057a10923db02a23620b5eb5055ddb53913a7ef7b09ff385529a9da7b0ddf39ae13daa3
DIST dropbox-lnx.x86_64-138.4.2392.tar.gz 101870495 BLAKE2B c9e38624814afd47776a04d0cf8f7ce7fe1392a72bc778d322f91e3aa097e2769acfe696366dd98f53b2af5ff87f88a9bb78bc906a3cfcd6bff0cd436fb16bd5 SHA512 6692711545af89bbde6f43bafb76b8c89d813522849ddfc66892d575ee4c315273a4a489a73f6e80f457c8b2059a62100469c4d43dd12f99a98d803fde9701bf
DIST dropbox-lnx.x86_64-139.4.4896.tar.gz 100772994 BLAKE2B e8e79fb351441f4f619227967c7e74f25ac17d305b97ac51dd71e00dc72ca1d213cfeab2f49ed8bb545386de07c9beac249e881f9dafe485575c57766e29def1 SHA512 7f30247b0caa11dcea1c182644611a66daea43b84a97f829342927b7bb80d71dd0ea0bb602eb107e4b4f83d0f2cc5802a0b07f94c01a48d7af0b8d484dd6237a
+DIST dropbox-lnx.x86_64-140.4.1951.tar.gz 100824435 BLAKE2B 03f35dcd651535dbbfaf593119f1ffe58c5c4ee6e1beaac178affdd560e3aad406d36a4b990130915c0152ee9694133142073ad420bf72d6297279f804e358c8 SHA512 97e85eb5426ec26361b57ab07e34b5aefd17925ba2ca73b1f75b006cd6697e42e08b75781ffbef9456ce2e1c36f549c0c7ebf823b495331c98c5fd5c55724471
diff --git a/net-misc/dropbox/dropbox-140.4.1951.ebuild b/net-misc/dropbox/dropbox-140.4.1951.ebuild
new file mode 100644
index 000000000000..0c3e0f739306
--- /dev/null
+++ b/net-misc/dropbox/dropbox-140.4.1951.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2022 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 )
+ https://www.dropbox.com/sh/42f8d4kq6yt5lte/AAD69lhaw6gy46W8HfQAm0GSa/Glyph/Dropbox/SVG/DropboxGlyph_Blue.svg
+"
+
+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"
+
+ if use X; then
+ doicon -s 16 -c status "${T}"/status
+ newicon -s scalable "${DISTDIR}/DropboxGlyph_Blue.svg" dropbox.svg
+ fi
+
+ 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"
+}