summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/dropbox/Manifest2
-rw-r--r--net-misc/dropbox/dropbox-197.4.7571.ebuild110
2 files changed, 112 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
index 65582d99871d..929a1f82cbea 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-195.4.4995.tar.gz 113305439 BLAKE2B 87dc38715189e06e98e5895389909f45a38208c8471ec92b9fb278c054ee5711d2acf95bdad01d34c097b96c8e3fe47d230af6bec8d3d2ff6782b1b477e23b61 SHA512 bf9ed46f1a34d96155b0d8f0c9d4a3583344d9eb06585e8e6c04e93dfcae7c55585861f31c2d70e79ba41f0141491aaf2b2c6b28b2baa9faf213ecdd97542fa8
DIST dropbox-lnx.x86-196.4.6900.tar.gz 113848883 BLAKE2B 05ef3a79d3bbc67a15cd6ede011883424686b7302761ed49a9456735718c05f80a9a273e431283d1b32790b52ec3c6bdbce0253a5a570bdfd47c21f9d02e12be SHA512 652adbace0abbcbfa2729e9e5af11bafd1459924d67180f5be82e3c0feb81b8333307c3cfeb7e528cdcc576062783a1275bba82217bf3761b62b89775d0d3155
+DIST dropbox-lnx.x86-197.4.7571.tar.gz 113668413 BLAKE2B 359dfba6bdf615a82f7af454e6c9ee7ab66b0ce0a048025f6981539054b93716dfeef67ba1a56b1c98117d1bdf376bd6da0fe6c11d156e02859d9a4833e11df9 SHA512 08238adbe96ec95797631790bb74d77ff7cffa8559f7f27e1b1d6580ba83c725b8ca5159b0a184831c5337bc546885743f6171e75b654624859c51260f6771b4
DIST dropbox-lnx.x86_64-195.4.4995.tar.gz 115954161 BLAKE2B 86f349f6813e160eea71a6c32e37ee8213639dfaa6c69b0a560bfee8e90dae6a95fd0f3b822d6c029e3046d73aa088fb097ce9246c1c0786df9c292b40091adc SHA512 e4ad740d873dbdad995f05fcfda824f57a8ed4707acab66576284c97c00329ef1dbe2d55980694f2edc8a00fbc6ab20a08ca7afcc12488d9fb188cddc0c3501f
DIST dropbox-lnx.x86_64-196.4.6900.tar.gz 116604283 BLAKE2B 5398f43c33e488d346c9991952673b607e88f93467915ac7e341e29de6e66cb4f60bcc6311a0e261075df38834e53da7a38ac10b20bd4cf5d41f70394668ba13 SHA512 a43cdee6cb192085c484cbaf1aa54691ce8dc24eb682c3f2fb8f8ff7135f7590e4dbfeed33ec3afbd5dbfe2bb6fd72a8c136329ebd9e8223fcd5c63819d25429
+DIST dropbox-lnx.x86_64-197.4.7571.tar.gz 116465452 BLAKE2B d83e16ca390a6974427371894f9d92199af3bf7f0510f88de6b51350d7435cd1b1e2629d0f335b718e5eb9d69705cb67eae692789144a989d138a1d23a8a1b8f SHA512 9f4cb1b6381b13d29880401f23c2b9e24c16a3b7cd00d944e1a9268bc8652b333409d16def3e71cc2ec6fe92d39a3a3aa3b99adb12c96ca2972ab6ca070ba18c
diff --git a/net-misc/dropbox/dropbox-197.4.7571.ebuild b/net-misc/dropbox/dropbox-197.4.7571.ebuild
new file mode 100644
index 000000000000..7d9715a71882
--- /dev/null
+++ b/net-misc/dropbox/dropbox-197.4.7571.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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" "dropbox"
+
+ 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"
+}