diff --git a/app-office/overgrive/files/overgrive.desktop.patch b/app-office/overgrive/files/overgrive.desktop.patch new file mode 100644 index 0000000..905c168 --- /dev/null +++ b/app-office/overgrive/files/overgrive.desktop.patch @@ -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 diff --git a/app-office/overgrive/metadata.xml b/app-office/overgrive/metadata.xml new file mode 100644 index 0000000..e6dcf53 --- /dev/null +++ b/app-office/overgrive/metadata.xml @@ -0,0 +1,11 @@ + + + + + canutethegreat@gmail.com + Ronald Farrer + + + overGrive is a complete Google Driveā„¢ desktop client solution for Linux + + diff --git a/app-office/overgrive/overgrive-3.3.7.ebuild b/app-office/overgrive/overgrive-3.3.7.ebuild new file mode 100644 index 0000000..5c483a9 --- /dev/null +++ b/app-office/overgrive/overgrive-3.3.7.ebuild @@ -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 +}