diff options
author | Ben Kohler <bkohler@gentoo.org> | 2023-10-02 09:50:24 -0500 |
---|---|---|
committer | Ben Kohler <bkohler@gentoo.org> | 2023-10-02 09:50:24 -0500 |
commit | 53cfbad619ad12b933d530f732f49b92d3a2ce17 (patch) | |
tree | f7478b968695492e8b90d898fc5ee9bdc551d4cf /net-misc | |
parent | net-misc/remmina: Fixes build with USE="-ssh" (diff) | |
download | gentoo-53cfbad619ad12b933d530f732f49b92d3a2ce17.tar.gz gentoo-53cfbad619ad12b933d530f732f49b92d3a2ce17.tar.bz2 gentoo-53cfbad619ad12b933d530f732f49b92d3a2ce17.zip |
net-misc/dropbox: add 183.4.7058
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-183.4.7058.ebuild | 110 |
2 files changed, 112 insertions, 0 deletions
diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest index fdad0d3c2fcf..9acaff8bbbba 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-181.4.5678.tar.gz 112778488 BLAKE2B 58464f93af02a40d08c049de30d702a55cc23021a1460ee3f0116c3dc6ecd72dedc057a17e07047fd1588d96d548f6da87f104572a8fe3bfbc26761f8953c7f0 SHA512 7cfdd048012ed5202408f4d4bc81693fb178b06500469a4a57284b901deabacbaf7b6b59f5acfa5aa985eedecb1d0883134fc9f605d68f4204e44bec9e26473a DIST dropbox-lnx.x86-182.4.6427.tar.gz 112940367 BLAKE2B 57ac19684973efa395a26087734a4ea4def06accdee813d1be8635e80d688dd43c52cbe80805d9b983df50d7a23f61f1d6b725ec87e252fc57c81a02b2c917c3 SHA512 0822c4de8a0a63f2a97b83cffcbcde6b30c7700bb4a06cefd5d9bf68b54f67520c85a8852820523103ec63f7008e4dfa1dd3d6802b0375e6a30f3d65e7d4fe87 +DIST dropbox-lnx.x86-183.4.7058.tar.gz 112562961 BLAKE2B 23a7f94c8825b08b1cfa2cb5bd6ee4425d868ced13e842c7f800674c870adde34f4cbb821b41e3da268b988604bc73771e0dfe202c94da15b02f079b58d0438f SHA512 cdd503aaa3d827b76e0dde6153c1b4d32e4dc5a48aecd81a23f6a9cba91cbae989e33251a27b92d2224856bc844f43035d10e3f3fc4e10b4c79ed1f8630afc48 DIST dropbox-lnx.x86_64-181.4.5678.tar.gz 114189162 BLAKE2B c339d40fe82d3a2bae3f7e2f0e510d5e7f77d0a04d0875bfa558aef07f7676279cec4a79afb57e22bc1616460cbf5279058448310faa33e6e048a216ca2c43a0 SHA512 067b620535a398a77c9d8bbf6e0a924feb5730135970f900e34c6aa71cae9c239fcb60b41ad742937ca96019b5d617df37379db9244300c149e3bdf0b196e028 DIST dropbox-lnx.x86_64-182.4.6427.tar.gz 114508859 BLAKE2B f2b837567a54574496f24e40351a0641eaa0f7b447f49d59c2bab456b66e8a94ec50fd6bef32b71d5cd75a4153152fd7586e07a7e7cef6d67dff1e7c086559fe SHA512 86b9b37931bbc1fed0e4720f6bd331061162def39097eeb91ac836d941d880f03c427d476c4051be3e519a9589889d1409348fbfd0595678c461b69b3049c62d +DIST dropbox-lnx.x86_64-183.4.7058.tar.gz 114216470 BLAKE2B 256bc5d4e008f6b7036768c672f086a82f23553701f23a515ef82d94be63cb6fbb5dc99e9b7aa59b401b2ac16ef9555f6c627df149311a9ed56f7a47d45eb225 SHA512 e531d0322126994c6943ce6922e0beee954fdcd9d10b9d6256375b3ee2016a113bf82780ce04dcf3e1409a823752a97e453b00922469d52f70bdbbd159914761 diff --git a/net-misc/dropbox/dropbox-183.4.7058.ebuild b/net-misc/dropbox/dropbox-183.4.7058.ebuild new file mode 100644 index 000000000000..e1949fb60f88 --- /dev/null +++ b/net-misc/dropbox/dropbox-183.4.7058.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" +} |