commit:     1ecc08102d6b52b6dd98c4f35139d33eba18e111
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Wed Jan 15 20:47:05 2020 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jan 19 13:36:41 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ecc0810

net-misc/dropbox: EAPI-7 bump

Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 net-misc/dropbox/dropbox-89.3.268.ebuild | 26 ++++++++------------------
 1 file changed, 8 insertions(+), 18 deletions(-)

diff --git a/net-misc/dropbox/dropbox-89.3.268.ebuild 
b/net-misc/dropbox/dropbox-89.3.268.ebuild
index 7a750370139..b08c6c38492 100644
--- a/net-misc/dropbox/dropbox-89.3.268.ebuild
+++ b/net-misc/dropbox/dropbox-89.3.268.ebuild
@@ -1,20 +1,21 @@
 # Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-inherit eutils gnome2-utils pax-utils systemd
+inherit desktop pax-utils systemd xdg
 
 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
 )"
+       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
 )"
 
 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/.*"
@@ -23,7 +24,8 @@ QA_EXECSTACK="opt/dropbox/dropbox"
 DEPEND="librsync-bundled? ( dev-util/patchelf )"
 
 # Be sure to have GLIBCXX_3.4.9, #393125
-RDEPEND="X? (
+RDEPEND="
+       X? (
                dev-libs/glib:2
                dev-qt/qtcore:5
                dev-qt/qtdbus:5
@@ -65,7 +67,7 @@ src_unpack() {
 }
 
 src_prepare() {
-       eapply_user
+       default
 
        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)
@@ -102,15 +104,3 @@ src_install() {
 
        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