summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Kohler <bkohler@gentoo.org>2023-05-03 11:39:41 -0500
committerBen Kohler <bkohler@gentoo.org>2023-05-04 08:09:48 -0500
commit86d64a86689e6b429d9a2ebb11a86b9fd82fd737 (patch)
tree9c9ffd78f7e744d6731a587a27d4f9409bb0b471
parentsci-chemistry/GromacsWrapper: enable py3.11 (diff)
downloadgentoo-86d64a86689e6b429d9a2ebb11a86b9fd82fd737.tar.gz
gentoo-86d64a86689e6b429d9a2ebb11a86b9fd82fd737.tar.bz2
gentoo-86d64a86689e6b429d9a2ebb11a86b9fd82fd737.zip
net-misc/dropbox: add 173.4.6706
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
-rw-r--r--net-misc/dropbox/Manifest2
-rw-r--r--net-misc/dropbox/dropbox-173.4.6706.ebuild110
2 files changed, 112 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
index e77b030958b1..d03caf26606a 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-171.4.6182.tar.gz 110173976 BLAKE2B cfc2fb882d61b5055546a7eabc6a525927bb9aaaac4fd49b23d7d140b77e1a78b80f0bb9679918b91fd81dd60cd11008d2a4c0bcb6247eff4d4711ef7e5f8e41 SHA512 681b6373ca5448a49e0e265ee2f78965ee17b0e565af7a260d437138837049371ddd135b6c73ac43afe896ac7806bd45da5c197b510c32de392932400562ecb7
DIST dropbox-lnx.x86-172.4.7555.tar.gz 110226499 BLAKE2B 227838fa4a705a8d3ddd119c2585a04b7232ea6f4cea1eb863b061da4275a1906182d01540e63c5699d74c4b9caff29beff35e68d7e8be9d1eff80ab7a92f760 SHA512 0c5ab49c5561a823f82f6e36d4f9cdbb9206de9a8d7f3af167ddc07f32c6c9f9f53e0e1a6b580065a190cfc357579b54e86e37f75fd8b382ca986268471c2dda
+DIST dropbox-lnx.x86-173.4.6706.tar.gz 110412404 BLAKE2B 644066ba8a55dea4e00a7db600e9456958e98ab40884a678d452c2425c20c72b44511894f3ce1881c1c5c55370909381fce26f76c451069b4f4e38e478de7800 SHA512 48debab42a0047051bfacd232257e1b64ae50b1927224c5aaa4b015b9617eb2546affbcd69a2d56742f843438ea20e74d0d45a6f684687fa8907e41174dd213b
DIST dropbox-lnx.x86_64-171.4.6182.tar.gz 111736593 BLAKE2B 66386df7b59fd0078c621de0da14ce9474dd9386daa57938bfbf195ab9edd26cb87322898d1c4dc702f5f141048671dbd6024da190846785e6fa0ffe7975b82f SHA512 d881bcedefdd39202f0730999bcfa30dc3b728d82a0c381603843413a58c7995df5c64a77a125fd529db552a8020601f5b46b82cd6e614d64da0184b7334ab81
DIST dropbox-lnx.x86_64-172.4.7555.tar.gz 111837671 BLAKE2B 17483cd9b6833a4f59e14816a7f6ba9e1412552764d873e9e7831cac913a87f59d85cc9c946f648adee7c8a5b7f891666debc029cbd863d2209e9e62a003e134 SHA512 047e35edc230e86fd2393b9c082f5bd60780e7b686c8b0faff8df7ae6160d171db41e8654f7d50bf34ca6d3a2cebbba99d5e964413f156f30b3f7b3328418a7f
+DIST dropbox-lnx.x86_64-173.4.6706.tar.gz 112095704 BLAKE2B 8b6ce644bfe38bde1cbb70ae37b963c286c39a2b528673cc076b1e537b3407b72e0e29b4cd3e310bffeb2d87190c1f2a7f989276f498f66062fc846a6d262523 SHA512 fb9cc436024a99bbb600e04bf9bd25bc2689ec6a8f5dd70def3f4018c4e76f32d9f5e47704739d4ee9b9775e3d9873d2a49df58b2b8b922279fa738475c74804
diff --git a/net-misc/dropbox/dropbox-173.4.6706.ebuild b/net-misc/dropbox/dropbox-173.4.6706.ebuild
new file mode 100644
index 000000000000..e1949fb60f88
--- /dev/null
+++ b/net-misc/dropbox/dropbox-173.4.6706.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"
+}