diff options
author | Ben Kohler <bkohler@gentoo.org> | 2024-01-30 08:35:44 -0600 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2024-01-30 08:44:21 -0600 |
commit | 9006f3ab4dfa2ac83e68c0a60b196b1397befc9f (patch) | |
tree | d9c46edeb29dd877d21406ee6ddd33fb4caa3f13 /net-misc | |
parent | dev-util/perf: add 6.7 (diff) | |
download | gentoo-9006f3ab4dfa2ac83e68c0a60b196b1397befc9f.tar.gz gentoo-9006f3ab4dfa2ac83e68c0a60b196b1397befc9f.tar.bz2 gentoo-9006f3ab4dfa2ac83e68c0a60b196b1397befc9f.zip |
net-misc/dropbox: add 191.4.4995
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-misc')
-rw-r--r-- | net-misc/dropbox/Manifest | 2 | ||||
-rw-r--r-- | net-misc/dropbox/dropbox-191.4.4995.ebuild | 110 |
2 files changed, 112 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest index 107e5349704d..aea15e280865 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-190.4.6383.tar.gz 113669890 BLAKE2B 538250096936e5548a55eb442f5893db2c0b25ff1cc3c040e82c568dd5400ed6dac7e83eacf5fb575a5ea05a5edf738458e99d6679f82c5622b4cf5364458a95 SHA512 65e603d504a36e236198ac7edae77d90a0ec17e7cdaad097d9fb80187194054e770aac546d3aa07ecdc9683489bb12c3f1ea553c942a237934f189d80637def8 +DIST dropbox-lnx.x86-191.4.4995.tar.gz 113609714 BLAKE2B 52c4c93bb3391a50f97eb484e44fd4db6c7772c031613a3250c18a342d314a4af28d76f47c73cc084af774c059e3a2015934e5e768ea6d1c5e3bdba0ab3ca121 SHA512 73c597afbd544a8e38c9dd389f97befc174b7768d95a1483bf0e50c03384a422d7f11ec33818803ee6c7e084f004b6cce42cb70b47b66876d32d47ff2eccf930 DIST dropbox-lnx.x86_64-190.4.6383.tar.gz 115387950 BLAKE2B f1e6e9f5b480a05192eb9595e1556ede907e3e971fa75cb0f25f3c0ea8bad89fdaa74e881461f2ca3ef7906c64d3e1986386d5086ee4b8210f587ab774d62797 SHA512 ba15c67c7763a7c58a8ff250444e1fc12720442e985ef70b208c5629c5157f9d5e561c28a7adf8c2a0c668206dd6f2ff881a0e688f0c8d06140e7325fdc07ea2 +DIST dropbox-lnx.x86_64-191.4.4995.tar.gz 115356260 BLAKE2B 56ade937a51ee6ce2137fc4996c1024c415a88ca59a7da2017dc8abb8a1e1012400550eb4a117d052a5cfe34221cdfc9ee1a4c4bf7cd1e61418dfccbfc9f702a SHA512 a0f9a8171b4824cb0338cd13948bc9a55a6dcbaabe5d8d2792895e8dc352b761100b06832a6617c82ad6566ba21a952cc25b19007d0f66db43030c869144036e diff --git a/net-misc/dropbox/dropbox-191.4.4995.ebuild b/net-misc/dropbox/dropbox-191.4.4995.ebuild new file mode 100644 index 000000000000..4ab56202224d --- /dev/null +++ b/net-misc/dropbox/dropbox-191.4.4995.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2024 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" +} |