Added app-office/overgrive

This commit is contained in:
Ronald Farrer 2020-01-10 14:18:45 -08:00
parent a8302be37a
commit 81debf6b87
3 changed files with 103 additions and 0 deletions

View file

@ -0,0 +1,33 @@
--- a/usr/share/applications/overgrive.desktop 2017-01-23 19:22:34.394288685 -0200
+++ b/usr/share/applications/overgrive.desktop 2017-01-23 19:23:15.189289616 -0200
@@ -1,9 +1,8 @@
[Desktop Entry]
Name=overGrive
-Version=3.3
GenericName=overgrive
X-GNOME-FullName=overGrive
-Comment=Ubuntu Google Drive Client
+Comment=Google Drive Client
Type=Application
Categories=Utility;GTK
Path=/opt/thefanclub/overgrive/
@@ -11,17 +10,14 @@
Terminal=false
StartupNotify=true
Icon=/opt/thefanclub/overgrive/overgrive.png
-TargetEnvironment=Unity
GenericName[en_ZA]=overgrive
X-Ayatana-Desktop-Shortcuts=GoogleDriveWeb;GoogleDriveHelp
-[GoogleDriveWeb Shortcut Group]
+[X-GoogleDriveWeb Shortcut Group]
Name=Visit Google Drive on the web
Exec=xdg-open https://drive.google.com
-TargetEnvironment=Unity
-[GoogleDriveHelp Shortcut Group]
+[X-GoogleDriveHelp Shortcut Group]
Name=Help
Exec=xdg-open https://support.google.com/drive
-TargetEnvironment=Unity

View file

@ -0,0 +1,11 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>canutethegreat@gmail.com</email>
<name>Ronald Farrer</name>
</maintainer>
<longdescription>
overGrive is a complete Google Drive™ desktop client solution for Linux
</longdescription>
</pkgmetadata>

View file

@ -0,0 +1,59 @@
# 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
KEYWORDS="~amd64 ~x86"
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=""
NATIVE_DEPEND="
>=dev-python/google-api-python-client-1.5.3
"
RDEPEND="
${NATIVE_DEPEND}
"
DEPEND="
"
S="${WORKDIR}"
src_prepare() {
unpack ./control.tar.gz
unpack ./data.tar.xz
eapply "${FILESDIR}/${PN}.desktop.patch"
eapply_user
}
src_install() {
doins -r opt
doins -r usr
fperms 755 /opt/thefanclub/overgrive/overgrive
}
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
}