net-misc/dropbox: EAPI-7 bump
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 15 Jan 2020 20:47:05 +0000 (21:47 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Sun, 19 Jan 2020 13:36:41 +0000 (14:36 +0100)
Package-Manager: Portage-2.3.84, Repoman-2.3.20
Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
net-misc/dropbox/dropbox-89.3.268.ebuild

index 7a750370139e2a86962184e6f3ae5f7140e9a8d5..b08c6c384923842f02da3fbfd297b061bc5d0a7e 100644 (file)
@@ -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
-}