2020-01-10 14:18:45 -08:00
|
|
|
# Copyright 1999-2017 Gentoo Foundation
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
# $Id$
|
|
|
|
|
|
|
|
EAPI=6
|
|
|
|
inherit fdo-mime font gnome2-utils eutils versionator
|
|
|
|
|
2020-01-15 17:09:35 -08:00
|
|
|
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
|
2020-01-10 14:18:45 -08:00
|
|
|
|
|
|
|
DESCRIPTION="overGrive is a complete Google Drive desktop client solution for Linux"
|
|
|
|
HOMEPAGE="https://www.thefanclub.co.za/overgrive"
|
|
|
|
SRC_URI="
|
|
|
|
https://www.thefanclub.co.za/sites/default/files/public/overgrive/overgrive_${PV}_all.deb -> ${PN}_${PV}.deb
|
|
|
|
"
|
|
|
|
|
|
|
|
SLOT="0"
|
|
|
|
RESTRICT="strip mirror" # mirror as explained at bug #547372
|
|
|
|
LICENSE="fanclub-EULA"
|
|
|
|
IUSE=""
|
|
|
|
|
|
|
|
RDEPEND="
|
2020-01-15 17:09:35 -08:00
|
|
|
dev-libs/libappindicator
|
|
|
|
dev-python/pyinotify
|
|
|
|
>=dev-python/google-api-python-client-1.5.3
|
2020-01-10 14:18:45 -08:00
|
|
|
"
|
|
|
|
|
|
|
|
DEPEND="
|
|
|
|
"
|
|
|
|
|
|
|
|
S="${WORKDIR}"
|
|
|
|
|
|
|
|
src_prepare() {
|
2020-01-13 22:33:54 -08:00
|
|
|
unpack ./control.tar.xz
|
2020-01-10 14:18:45 -08:00
|
|
|
unpack ./data.tar.xz
|
|
|
|
|
|
|
|
eapply_user
|
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
doins -r opt
|
|
|
|
doins -r usr
|
2020-01-15 17:50:39 -08:00
|
|
|
fperms 0755 /opt/thefanclub/overgrive/__pycache__/overgrive.cpython-36.pyc
|
|
|
|
dosym /opt/thefanclub/overgrive/__pycache__/overgrive.cpython-36.pyc /opt/thefanclub/overgrive/overgrive
|
2020-01-15 17:59:57 -08:00
|
|
|
insinto /usr/bin/
|
|
|
|
newins files/overgrive overgrive
|
2020-01-10 14:18:45 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postinst() {
|
|
|
|
fdo-mime_desktop_database_update
|
|
|
|
fdo-mime_mime_database_update
|
|
|
|
/usr/bin/gtk-update-icon-cache
|
|
|
|
/usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas/
|
|
|
|
}
|
|
|
|
|
|
|
|
pkg_postrm() {
|
|
|
|
fdo-mime_desktop_database_update
|
|
|
|
/usr/bin/gtk-update-icon-cache
|
|
|
|
}
|