diff options
author | Ben Kohler <bkohler@gentoo.org> | 2022-09-28 09:12:11 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2022-09-28 09:17:46 -0500 |
commit | e5e646f52375f07dda07e2f9dbce6f0e26f9ac4e (patch) | |
tree | 637ff5656cde698cdccb8908fad96155c2ebac44 /net-misc/dropbox | |
parent | www-apps/chromedriver-bin: add 106.0.5249.61, drop 106.0.5249.21 (diff) | |
download | gentoo-e5e646f52375f07dda07e2f9dbce6f0e26f9ac4e.tar.gz gentoo-e5e646f52375f07dda07e2f9dbce6f0e26f9ac4e.tar.bz2 gentoo-e5e646f52375f07dda07e2f9dbce6f0e26f9ac4e.zip |
net-misc/dropbox: add 158.4.4564
Signed-off-by: Ben Kohler <bkohler@gentoo.org>
Diffstat (limited to 'net-misc/dropbox')
-rw-r--r-- | net-misc/dropbox/Manifest | 2 | ||||
-rw-r--r-- | net-misc/dropbox/dropbox-158.4.4564.ebuild | 110 |
2 files changed, 112 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest index 6e42d04163f7..851df15c42c8 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-157.4.4808.tar.gz 110762632 BLAKE2B cb8044f70f2c655a0ba3fc67f05cb41524331f807d08ff0d52370fb950232ccb72df7029ec84fc18b09e5adc22f82bce2a49f38970a7d1ad9b8bd62defb8ca99 SHA512 6fd109dd306fd446247e7e44daabca3467afbf7ec62a705347ab316aad376f28f653ab3bfb00b37948d9a4a59511efd24b29cda33c5c691eb140778078506737 +DIST dropbox-lnx.x86-158.4.4564.tar.gz 111069802 BLAKE2B 22666a1fe191624851a74badf2cd4a227299acb49d1bf9bf207b2342f273612ac846b07b7389eb45a2046632766790e7060f7eb0c7ae11f01a14f2059a2440a8 SHA512 23bedc48f0b6103a16519fd09d9f63b5210d875ff6f1a0f73ec112e06d96f921817d52a6e0090e033756ea38a774d8d8fe0a4e4eb94baae3fdd8d1b23aa833ed DIST dropbox-lnx.x86_64-157.4.4808.tar.gz 112343232 BLAKE2B 21c478f8d4775823893236887ea8bb9a63bd793c56688b3f478c951fcb031efafc2c48747042beaa4898cdcbabd773e0b6faf42fbb7fc91d94a8ea86aa6a3819 SHA512 53a94c60ba2a7a97b02e35ab7bd9a9374763e023220c2f07313f7619eedfa65f4be93e342626e574e9e505b03b11f60dcd6bf27197a6c94231b689e1aa767fdb +DIST dropbox-lnx.x86_64-158.4.4564.tar.gz 112619595 BLAKE2B 432083753481e90edc0ecd953c364a5baba65821d329e56a72766f66d7c0f9d198e6181574fb48b6203e91f499b03a1fbc74d4488812a557ad78727e4e444e35 SHA512 ac1663d36a2eec6a9846a7b798f48edd063d5483b8bdc7f5376b7277e6994f36b6c10b92ce3fff61445d58ea7a7a98f254c337c7266bf180c35402a95410e586 diff --git a/net-misc/dropbox/dropbox-158.4.4564.ebuild b/net-misc/dropbox/dropbox-158.4.4564.ebuild new file mode 100644 index 000000000000..8b2419b74a06 --- /dev/null +++ b/net-misc/dropbox/dropbox-158.4.4564.ebuild @@ -0,0 +1,110 @@ +# Copyright 1999-2022 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" +} |