summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2023-06-15 10:08:56 -0500
committerBen Kohler <bkohler@gentoo.org>2023-06-15 10:08:56 -0500
commit82e2b1629919dbde39d11c448d3e011c2726496f (patch)
treeef49fd9712df439f3083cd0da8b085fe927e88f8 /net-misc
parentgnome-extra/gnome-shell-frippery: Version bump to 44.1 (diff)
downloadgentoo-82e2b1629919dbde39d11c448d3e011c2726496f.tar.gz
gentoo-82e2b1629919dbde39d11c448d3e011c2726496f.tar.bz2
gentoo-82e2b1629919dbde39d11c448d3e011c2726496f.zip
net-misc/dropbox: add 176.4.5108
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-176.4.5108.ebuild110
2 files changed, 112 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
index ddd381d79c50..a65a652b9422 100644
--- a/net-misc/dropbox/Manifest
+++ b/net-misc/dropbox/Manifest
@@ -1,3 +1,5 @@
DIST DropboxGlyph_Blue.svg 605 BLAKE2B 6c488bd261293b22da98035935ddfa9247bedbc6f4da2f9fc2470af802c1f4f597ac88b01b5bef9e77e1e717267f633d6a04af2ccfd3c5f9dbff22fbceaf9a91 SHA512 9202344b904dcd7955e5a355dadf537d1544140d74f8a33bdc40e18e36661e3a474d11cf17613eaebf4e76c170d8413d99abdedfb8635784bcd6892b4b259712
DIST dropbox-lnx.x86-175.4.5569.tar.gz 111357596 BLAKE2B 40c87bfa2a880781124c61a05f0dbf5433d39f71469ddac749a2bc89c1cf80c4d675675757e06db0771352047aaa416a5ad9ddbc70d477e7241ccd982e1ed3b8 SHA512 3298340a3217938fdc16a98f159f489553506c515db7a2ca5c34865340bf5ac915c2a73d016958dcdbb4713b0550d41b7b72671e23c1431ef521cc6d7e1d9c2f
+DIST dropbox-lnx.x86-176.4.5108.tar.gz 111312458 BLAKE2B a98f44918530cdfad9b2b74e2c64c961b7394c3cc5617575926c1c4520c99db6ab9826770a1e9359d756bd6cda77a1e2ff67a4213224f789a1852b1ddb9c21f9 SHA512 ebcfe3ada2896166881eb7d031cc33badd5517dedf86710ea625f640d34c51a0172a4ed35635b6708b4ad1e6b26909f630576af4c83af9d5208fd06c29ab4271
DIST dropbox-lnx.x86_64-175.4.5569.tar.gz 112911087 BLAKE2B f25341808bec5339c3d0459359771f53a505a911097ec09252727c9da861e353d6513cda06aad1251b869b9dae6e5063b96d5706bc150222e7d1372e332f9e50 SHA512 aa40e421a7d2d8435dfa9fa334a8c7111b2f045572f26d614c201d4b1035587ea05d962d47f66ad020757547ddac52db3d0e2f43106f923b7689769c7f6e4fe6
+DIST dropbox-lnx.x86_64-176.4.5108.tar.gz 113000130 BLAKE2B c41d720b8046723db4606d4bdcb16530468c01f72df0661fb0d38cf1a067092ef92915775c4bf856b8cf3b7548fea1b1dde7cea36980c363a47d28a22a2f4c43 SHA512 0d2aabe7550b47853d3d7893a59267202c64edc3e140842c0bf12d39fafb159563f7dbd9ea0bbebc8581cbcc56b52eee6e7dd3b392c0f7bf864680a7b6c7bb14
diff --git a/net-misc/dropbox/dropbox-176.4.5108.ebuild b/net-misc/dropbox/dropbox-176.4.5108.ebuild
new file mode 100644
index 000000000000..e1949fb60f88
--- /dev/null
+++ b/net-misc/dropbox/dropbox-176.4.5108.ebuild
@@ -0,0 +1,110 @@
+# Copyright 1999-2023 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" "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"
+}