summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2023-01-04 08:48:25 -0600
committerBen Kohler <bkohler@gentoo.org>2023-01-04 09:23:18 -0600
commitec5d94ff7dee9170c0bf30d17154a5c9da8fa514 (patch)
tree626fd41ba52a9e36aaff31ad3a6dd0bf0f08b657 /net-misc/dropbox
parentnet-wireless/iwgtk: add 0.9 (diff)
downloadgentoo-ec5d94ff7dee9170c0bf30d17154a5c9da8fa514.tar.gz
gentoo-ec5d94ff7dee9170c0bf30d17154a5c9da8fa514.tar.bz2
gentoo-ec5d94ff7dee9170c0bf30d17154a5c9da8fa514.zip
net-misc/dropbox: add 164.4.7914
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-164.4.7914.ebuild110
2 files changed, 112 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
index c0c78bdc58b1..e50b8fe52291 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-162.4.5419.tar.gz 108572146 BLAKE2B de99e8f2617c6fd67d5d9791df6d9e84bfe35cb4cfd4c29c894298b9050f3fa46044c1dbd5d6a70ccbf5fe7768798ab83e8db1b1671bde208d735b222811d049 SHA512 d0e922de7ecb4d2296e43370cc9ff6d4dda73e39aa0229f1069c9f8f81c1da06e137f35e96e7c9df82ab1890b42c5314b75f32c62e1bd434314a73abd3dab741
DIST dropbox-lnx.x86-163.4.5456.tar.gz 108608681 BLAKE2B 54d7acdb489bc8235845e3a732dedd1e9ba295a1694f4e4669f21877c89abf7653ed2fe1e87c5b49c11fd278c83e8fc8407fa53dd601355cfaa1be0008e261fc SHA512 99af79c1b056ee163d9f0b115e5655c409bef192411021db66db01a0e5c31322ee71e829f45b0969cd8d495d853aaf7a6abb98bebbe3e6030e6e8e649a834727
+DIST dropbox-lnx.x86-164.4.7914.tar.gz 108442433 BLAKE2B a2eca177c9f1a7d46584ca429021c9e24cd108445457e4e49d690ebc228af954c694f765d469ea9ae60e7327e18efa06fdf347dca368585326f3212b8fa1eeb7 SHA512 3475680b65246e72733ed3d7d703ec3470a0d115880756f6395ed783cc9b466c75c294f9671ef644435891724d9372a08d3c0d294765d10063d5b206584abf65
DIST dropbox-lnx.x86_64-162.4.5419.tar.gz 110259777 BLAKE2B 35e84ff91a91eb31e9ab588f6aec207f8cdb8db275e68d866b7b758f6aa7fca1b1567eaf0e902b0812a7d8c641c5f92e1f13f94b538f9e943af1045a733b0c42 SHA512 45f996d51c3b2647deff8e8553f0509f59a21f17bcd63e05ab93813d3fb2076d14c5a67d5a628b9752498f1a6760904e8e4bfc5106616088add3c9790ee3ddfa
DIST dropbox-lnx.x86_64-163.4.5456.tar.gz 110345133 BLAKE2B b384e6016a06c4d7e6d09bcda69a2b4e0dd13a407d87f7d350d62e0db0d7c1de040a178dbdff5a302a2c3e587e660f967e3f2b71a5f1ee41c9eaf3623d2cb344 SHA512 c3059c331a736182bf2dba08c5bb9516b380111b6455ef5d27b0c453c940d5c634967722971dc2977eb6dbc649f4c246bac8bdc2e22e55c9925f2b03ac7ba231
+DIST dropbox-lnx.x86_64-164.4.7914.tar.gz 110169209 BLAKE2B 8e77068f2478a3ebd3a21ae9b8c9e296ba4f93f1e17329bdeb9f053d6385e181610dccf893caa7d9095ddca7b05e98096fecd9115b08a368adbf73470cd8efda SHA512 4eef83e2b24b02bbf59a7b752febb3693c9a29b86e3f514172f4fedf709de02f1cd4aae687aae8089bc2c014430c2b371e0a91379c520e432f14494600455fb0
diff --git a/net-misc/dropbox/dropbox-164.4.7914.ebuild b/net-misc/dropbox/dropbox-164.4.7914.ebuild
new file mode 100644
index 000000000000..e1949fb60f88
--- /dev/null
+++ b/net-misc/dropbox/dropbox-164.4.7914.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"
+}