summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-misc/dropbox/dropbox-43.3.47.ebuild (renamed from net-misc/dropbox/dropbox-37.3.28.ebuild)17
1 files changed, 7 insertions, 10 deletions
diff --git a/net-misc/dropbox/dropbox-37.3.28.ebuild b/net-misc/dropbox/dropbox-43.3.47.ebuild
index 23404e04..6ec33da2 100644
--- a/net-misc/dropbox/dropbox-37.3.28.ebuild
+++ b/net-misc/dropbox/dropbox-43.3.47.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
-PYTHON_COMPAT=( python2_7 )
+PYTHON_COMPAT=( python2_7 python3_5 )
inherit eutils gnome2-utils pax-utils systemd python-single-r1
DESCRIPTION="Dropbox daemon (pretends to be GUI-less)"
@@ -72,22 +72,19 @@ src_unpack() {
src_prepare() {
eapply_user
- rm -vf libbz2* libpopt.so.0 libpng12.so.0 || die
- rm -vf libdrm.so.2 libffi.so.6 libGL.so.1 libX11* || die
- rm -vf libQt5* libicu* qt.conf || die
- rm -vrf wmctrl plugins/ || die
+ 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
+ patchelf --set-rpath '$ORIGIN' librsyncffi.compiled._librsyncffi*.so || die
else
rm -vf librsync.so.1 || die
fi
- rm -rf *.egg library.zip || die
- ln -s dropbox library.zip || die
pax-mark cm dropbox
mv README ACKNOWLEDGEMENTS "${T}" || die
}
@@ -97,7 +94,7 @@ src_install() {
insinto "${targetdir}"
doins -r *
- fperms a+x "${targetdir}"/{dropbox,dropboxd}
+ fperms a+x "${targetdir}"/{dropbox,dropbox_py3,dropboxd}
dosym "${targetdir}/dropboxd" "/opt/bin/dropbox"
use X && doicon -s 16 -c status "${T}"/status