summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Sturmlechner <asturm@gentoo.org>2020-01-15 21:47:05 +0100
committerAndreas Sturmlechner <asturm@gentoo.org>2020-01-19 14:36:41 +0100
commit1ecc08102d6b52b6dd98c4f35139d33eba18e111 (patch)
tree431e6a588383060b05f40972153ee950673a0103 /net-misc/dropbox
parentnet-misc/anydesk: Drop 5.0.0 and 5.1.2 (diff)
downloadgentoo-1ecc08102d6b52b6dd98c4f35139d33eba18e111.tar.gz
gentoo-1ecc08102d6b52b6dd98c4f35139d33eba18e111.tar.bz2
gentoo-1ecc08102d6b52b6dd98c4f35139d33eba18e111.zip
net-misc/dropbox: EAPI-7 bump
Package-Manager: Portage-2.3.84, Repoman-2.3.20 Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
Diffstat (limited to 'net-misc/dropbox')
-rw-r--r--net-misc/dropbox/dropbox-89.3.268.ebuild26
1 files 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 7a750370139e..b08c6c384923 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
-}