diff options
author | Ben Kohler <bkohler@gentoo.org> | 2022-03-17 09:03:11 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2022-03-22 06:38:56 -0500 |
commit | 236323f5d221a1c1655440b2d0f062d27b8ad1fd (patch) | |
tree | 4b172cae1c7d9a82e7ea3162d10b64cbf821fbe8 /net-misc/dropbox | |
parent | dev-java/rome: fix test failures (diff) | |
download | gentoo-236323f5d221a1c1655440b2d0f062d27b8ad1fd.tar.gz gentoo-236323f5d221a1c1655440b2d0f062d27b8ad1fd.tar.bz2 gentoo-236323f5d221a1c1655440b2d0f062d27b8ad1fd.zip |
net-misc/dropbox: add 144.4.4491
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-144.4.4491.ebuild | 110 |
2 files changed, 112 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest index 471036813db4..2e022549db3f 100644 --- a/net-misc/dropbox/Manifest +++ b/net-misc/dropbox/Manifest @@ -2,6 +2,8 @@ DIST DropboxGlyph_Blue.svg 605 BLAKE2B 6c488bd261293b22da98035935ddfa9247bedbc6f DIST dropbox-lnx.x86-141.4.3299.tar.gz 101154693 BLAKE2B b95f1b1d9ba4673bb8c66129c6221f72f0bd08b86152f4a810e4d7346f52f5bab3488747d007ab6c9f15cf1c9a4df1ca68097f21122465386822a8862f3888dc SHA512 2c9277fa73a5930b2abf113b4f52f205b7dd2cc5b6eb4d46487fb3a70019b77d0fdef7afd24aa9563f527d2b48094d2da865e122523a79f30cbdf0c2c3f87205 DIST dropbox-lnx.x86-142.4.4197.tar.gz 101203911 BLAKE2B 5f8d299372fb0e6d67eb091ebd95c0f92fc1a1ca7e89b4bbad6c00a7f8b049c9aec46cc330657e797b0125e9c090fec40cbba5475e376262ad38f94ebb9daa58 SHA512 65f77bd6b9906291246a5dd7e5e1ad2771ed4f2e1a969e0335950a88043a0799564ed0d1efa61a2495d4dfd109278edc4b3adeac9b0959cec9e0b3f3f655410f DIST dropbox-lnx.x86-143.4.4161.tar.gz 101332974 BLAKE2B c81417a3f100c064af4370cac698a46b7f667eb26b819dbc8420ed7bf583cc5e07ac469cb34ffbb5818314c5adb1869b8611b7c5768feb307f62fcbaf49541c9 SHA512 41ad7016feb2560d09877388e423e16364d132abb1ac4d875b19b3d1be71b9c2f313efcc09f18ebdab6fe3b36f6add50137ea36e67737320a7ec0a229643978c +DIST dropbox-lnx.x86-144.4.4491.tar.gz 102606173 BLAKE2B e662ffac51126b1541a448a32aa4885e4a9a300a48cda79b2cd26e9edcdc53c2cf76dd1e03be4bc7d44d2a7c11e2b7f32d2b89af6ded4c650af8f05ddd865753 SHA512 ed040ddc8883877dd28966691ac068e26cc57a89d9cd9c364b005afb6057c025ec7182f341e1d8c7c2edb1d65ad7ab71a8f39c17e2dcbf73a5af6eba1275986b DIST dropbox-lnx.x86_64-141.4.3299.tar.gz 103354049 BLAKE2B 5f2d881d8c8422707ab42b3a4f75ca9a9c32023273f3bb0bacd6eb7a9cf89b45b3aa8442649868814ca8d4063978ddb8f34c5c1bc464274c103075ecc19ea514 SHA512 16dd3c717c7cd578b7a7af53cb3f432ce849b5ee7bd13ba86ff919e59c35b8b5ee8e70784995cdfdf49b877d0c3d9ca5638974ee3cbe863e332978c5fad905bf DIST dropbox-lnx.x86_64-142.4.4197.tar.gz 103610767 BLAKE2B 005a0b36b9265f6ec9e4b019ac8df1a2e83f56cf15f6f558ab167fa2972a1fad4e605e7553b819877902dbf63685c77c47468882e47c1ef9ec1965d00fe455ce SHA512 30228316033d76dd1204a909f6fb21f21bcb1e2c5752a000619c4a69859299bc441830f5ca5439ea096f2e3f493374257367c90b5d4d6f4c8268bf3010913244 DIST dropbox-lnx.x86_64-143.4.4161.tar.gz 103726609 BLAKE2B ac611ed45d57d0ffa9f31ba5078e54fdacebc5b59cfc82d101c87db69ad1eff5709159898504c7032e680c4d26d22ccf149299ce874e8709c765fcf9ad5ff41d SHA512 fa885e6ada8000c888cca201127c3511da3e5a007b0984105eb20cb3615addb26dc1558561ab59cecf8835697fd2ed64a357ac28320960b0dbd7778dfbbedd92 +DIST dropbox-lnx.x86_64-144.4.4491.tar.gz 104875474 BLAKE2B 42dd986edcf1ae6b709f0a52872219618d771636dccd6f4d0ff0abd7302c8d9358ed0cc6f6f26fb007633a9696f6119c7aac80f631f6687203cd8ed85760f8e4 SHA512 4bef381d4ab177325cd089a854942814b8a7efd553b4f71980c17ea1312d8e9c9a64662ab6a99626254e50a195c2c66f5fc92f465f12881cbd4e89618e120d89 diff --git a/net-misc/dropbox/dropbox-144.4.4491.ebuild b/net-misc/dropbox/dropbox-144.4.4491.ebuild new file mode 100644 index 000000000000..0c3e0f739306 --- /dev/null +++ b/net-misc/dropbox/dropbox-144.4.4491.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" "dropboxstatus-logo" + + 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" +} |