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$
|
|
|
|
|
2023-09-12 16:43:31 -07:00
|
|
|
EAPI=8
|
2021-05-05 11:18:56 -07:00
|
|
|
inherit xdg-utils font gnome2-utils eutils
|
2020-01-10 14:18:45 -08:00
|
|
|
|
2020-01-15 17:09:35 -08:00
|
|
|
KEYWORDS="~amd64 ~x86 ~arm ~arm64"
|
2020-01-10 14:18:45 -08:00
|
|
|
|
2023-04-21 13:41:07 -07:00
|
|
|
PYTHON_COMPAT=( python3_{5..12} )
|
|
|
|
|
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"
|
2023-04-05 09:16:50 -07:00
|
|
|
SRC_URI="${PN}_${PV}.deb"
|
2020-01-10 14:18:45 -08:00
|
|
|
|
|
|
|
SLOT="0"
|
2023-04-05 09:16:50 -07:00
|
|
|
RESTRICT="fetch strip mirror" # mirror as explained at bug #547372
|
2020-01-10 14:18:45 -08:00
|
|
|
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="
|
|
|
|
"
|
|
|
|
|
2023-04-21 13:41:07 -07:00
|
|
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
|
|
|
2020-01-10 14:18:45 -08:00
|
|
|
S="${WORKDIR}"
|
|
|
|
|
2023-04-05 09:05:24 -07:00
|
|
|
pkg_nofetch() {
|
|
|
|
einfo "Please download"
|
|
|
|
einfo " - overgrive_${PV}_all.deb -> ${PN}_${PV}.deb"
|
|
|
|
einfo "from ${HOMEPAGE} and place them in your DISTDIR directory."
|
|
|
|
}
|
|
|
|
|
2020-01-10 14:18:45 -08:00
|
|
|
src_prepare() {
|
2022-11-23 14:02:28 -08:00
|
|
|
unpack ./control.tar.gz
|
|
|
|
unpack ./data.tar.gz
|
2020-01-10 14:18:45 -08:00
|
|
|
|
|
|
|
eapply_user
|
2020-01-15 18:12:20 -08:00
|
|
|
|
2020-01-10 14:18:45 -08:00
|
|
|
}
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
doins -r opt
|
|
|
|
doins -r usr
|
2023-04-21 14:04:00 -07:00
|
|
|
exeinto /opt/bin
|
2023-04-21 13:59:38 -07:00
|
|
|
doexe "${FILESDIR}/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
|
|
|
|
}
|