commit:     a721e2177f4e13c415bfb64106280a65ee1457b8
Author:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
AuthorDate: Thu Oct 24 15:28:40 2019 +0000
Commit:     Ben Kohler <bkohler <AT> gentoo <DOT> org>
CommitDate: Thu Oct 24 15:29:17 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a721e217

net-misc/dropbox: bump to 83.4.152

Package-Manager: Portage-2.3.78, Repoman-2.3.17
Signed-off-by: Ben Kohler <bkohler <AT> gentoo.org>

 net-misc/dropbox/Manifest                |   2 +
 net-misc/dropbox/dropbox-83.4.152.ebuild | 116 +++++++++++++++++++++++++++++++
 2 files changed, 118 insertions(+)

diff --git a/net-misc/dropbox/Manifest b/net-misc/dropbox/Manifest
index 0bd700335af..897e7a836c3 100644
--- a/net-misc/dropbox/Manifest
+++ b/net-misc/dropbox/Manifest
@@ -2,7 +2,9 @@ DIST dropbox-lnx.x86-48.3.56.tar.gz 108876564 BLAKE2B 
b809a220605265685026657e79
 DIST dropbox-lnx.x86-58.3.88.tar.gz 73782589 BLAKE2B 
406758f056dce4348706d181f1620a16199f99d82c6a24b2cbe7773de32b8f64dc10199b88b8c0b7c3a577deb8658e5de18ce28fb00e509a46a5cd21db890f89
 SHA512 
455b6e0f78b4307d65f6420b76454229b7542475aba089961117d387290ae60df44a659bb6f8d22975cc6f51827d80b3141cb09832fe327fb5cf9861337b08d3
 DIST dropbox-lnx.x86-81.4.195.tar.gz 93761227 BLAKE2B 
de0349126a701166eb9d1be64dbfad3d3386518dada09bf9544422336a92d69cbe01d252c04ce3141d55f32232f36823ec680d91c7161d80ba01af1c880d391d
 SHA512 
4d78400bcad4492eb82ba692fab0ce518c653a9ddf04c57a668ddb60da63652be69b74c09f74c2770bccb4a7e9ca57d4774214622a1858606c0e45276b317ca1
 DIST dropbox-lnx.x86-82.4.155.tar.gz 94112380 BLAKE2B 
bcff1c01c6ed8e30285defbd186bd51707eca05813dbb75cd1dcb15c03aa794bfdb0c9dd24b5b703bf6d37a2dde8d8dcb9d34cb43a2f551309e89752e0498469
 SHA512 
c9b005f7d99d023b74d59a6306b31d7a97af9455c71b54ad54513a64758cf3af8c03923746be645853a17734882adbc91174966f9f71b5d433dbbd1569386b2c
+DIST dropbox-lnx.x86-83.4.152.tar.gz 94612498 BLAKE2B 
ddf86853785ee4806cc96f2427a300b2db751bf3a5b12ec1508bdbc68ba7ff35d2d65e83e86b5a09ad4a7cc160e0f94e7cd141a819d35f9be87aea7f3cb8dd0d
 SHA512 
75793878c15ecd7224f0ef1897e38c1050d36e11ddf1c30db8e79c22dcb40ceed48fd6e4be204b19c54fe4ef7a2c68d5528df6e10a041cbe4220d9c129619a4b
 DIST dropbox-lnx.x86_64-48.3.56.tar.gz 114940928 BLAKE2B 
7d678344b59aa12bdbd28f3e425c0b80b15feae403911ef25a03150d1dfa47e94da1eb17d4b703feea6721d2fdfa721da54fab92e1a56b6b8f31456482bc3614
 SHA512 
cbd3eed71286be079aa8c898929dea305a4cefb9b5e2e41b196d07f68bfc3b5f2839f78d676a3fd7df62644fe00b9ad1930121bde88a6eea9c864d956ccb6f8e
 DIST dropbox-lnx.x86_64-58.3.88.tar.gz 77899313 BLAKE2B 
ecf729f4cf8c8fabed0f6ca19a9c908f7adec1a58719fae8ef3a6cc80f26b453c678d241af987339e26ccbe988db45f57402ea497c54245691cb702a868fc2dd
 SHA512 
50199f6e60f34a13376725d0deee7c0e6aa31e63574ecdcaf69b43427d262fb35dbf979798b704d6a5a33756e9cea5867591d9a632a311b111d6645123f3385e
 DIST dropbox-lnx.x86_64-81.4.195.tar.gz 98084742 BLAKE2B 
a21a9237b9f507d654de51f488c114a0a98d8b9e3659dc01713d14c8af94527724145bca1b4d39b3610828c625c1acec7b36ddd8090b49f77dc752d788e42a45
 SHA512 
684ca4e643d9e662bb6273def6bd3bfcba358b3e3279d88ec2fbf60c90d57026af7b83fc92ecb3e882633501433f1f7e6331213291879f28b70cc4d19003680f
 DIST dropbox-lnx.x86_64-82.4.155.tar.gz 98437566 BLAKE2B 
972d9132a3225408844e4679d1c065a3fb9e6f2135eb6f99341848cff1235d6d1a5719c1a50539ba0e0051d99939c1636b34722d55a509e88be3ba85281da070
 SHA512 
a829eedebfc6d8814fec2a04834f392b5c32ae334289376cc736cb6c9473bbfdcd29b063805ef1def7a22134771cc246569e85f337a4adee9eec9f34a929c272
+DIST dropbox-lnx.x86_64-83.4.152.tar.gz 98772192 BLAKE2B 
c023fe81128217b8e11b287afdf6d5cd74d7dd4229c7845aa8e96065f03912720dfe3531995bacc45c50a2971dac0bb7e10364206c531fe5f4e23ce6c617a1d4
 SHA512 
55874247f3dcfafc62d07aad459a6b3d951c87e675a28f6e66c9c51c9190ca8e4dc32bce5339e338694d31036bc8e1b039f54460b84bce0ee1fff9dd3d6aa684

diff --git a/net-misc/dropbox/dropbox-83.4.152.ebuild 
b/net-misc/dropbox/dropbox-83.4.152.ebuild
new file mode 100644
index 00000000000..c21396bd015
--- /dev/null
+++ b/net-misc/dropbox/dropbox-83.4.152.ebuild
@@ -0,0 +1,116 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils gnome2-utils pax-utils systemd
+
+DESCRIPTION="Dropbox daemon (pretends to be GUI-less)"
+HOMEPAGE="https://www.dropbox.com/";
+SRC_URI="
+       x86? ( 
https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86-${PV}.tar.gz
 )
+       amd64? ( 
https://clientupdates.dropboxstatic.com/dbx-releng/client/dropbox-lnx.x86_64-${PV}.tar.gz
 )"
+
+LICENSE="BSD-2 CC-BY-ND-3.0 FTL MIT LGPL-2 openssl dropbox"
+SLOT="0"
+KEYWORDS="~amd64 ~x86 ~x86-linux"
+IUSE="+librsync-bundled selinux X"
+RESTRICT="mirror strip"
+
+QA_PREBUILT="opt/.*"
+QA_EXECSTACK="opt/dropbox/dropbox"
+
+DEPEND="librsync-bundled? ( dev-util/patchelf )"
+
+# Be sure to have GLIBCXX_3.4.9, #393125
+RDEPEND="X? (
+               dev-libs/glib:2
+               dev-qt/qtcore:5
+               dev-qt/qtdbus:5
+               dev-qt/qtdeclarative:5
+               dev-qt/qtgui:5[-gles2,xcb]
+               dev-qt/qtopengl:5[-gles2]
+               dev-qt/qtnetwork:5
+               dev-qt/qtprintsupport:5[-gles2]
+               dev-qt/qtwebkit:5
+               dev-qt/qtwidgets:5[-gles2]
+               media-libs/fontconfig
+               media-libs/freetype
+               virtual/jpeg
+               x11-libs/libSM
+               x11-libs/libX11
+               x11-libs/libXinerama
+               x11-libs/libXxf86vm
+               x11-libs/pango[X]
+               x11-misc/wmctrl
+               x11-themes/hicolor-icon-theme
+       )
+       !librsync-bundled? ( <net-libs/librsync-2 )
+       selinux? ( sec-policy/selinux-dropbox )
+       app-arch/bzip2
+       dev-libs/libffi-compat:6
+       dev-libs/popt
+       net-misc/wget
+       >=sys-devel/gcc-4.2.0
+       sys-libs/zlib
+       sys-libs/ncurses-compat:5"
+
+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() {
+       eapply_user
+
+       rm -vf libGL.so.1 libX11* libdrm.so.2 libffi.so.6 libpopt.so.0 wmctrl 
|| die
+       # tray icon doesnt load when removing libQt5* (bug 641416)
+       #rm -vrf libQt5* libicu* qt.conf plugins/ || die
+       if use X ; then
+               mv images/hicolor/16x16/status "${T}" || die
+       else
+               rm -vrf PyQt5* *pyqt5* images || die
+       fi
+       if use librsync-bundled ; then
+               patchelf --set-rpath '$ORIGIN' 
librsyncffi.compiled._librsyncffi*.so || die
+       else
+               rm -vf librsync.so.1 || die
+       fi
+       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"
+
+       use X && doicon -s 16 -c status "${T}"/status
+
+       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_preinst() {
+       gnome2_icon_savelist
+}
+
+pkg_postinst() {
+       gnome2_icon_cache_update
+}
+
+pkg_postrm() {
+       gnome2_icon_cache_update
+}

Reply via email to