diff --git a/app-office/gtg/files/gtg-desktop.patch b/app-office/gtg/files/gtg-desktop.patch new file mode 100644 index 0000000..b06312f --- /dev/null +++ b/app-office/gtg/files/gtg-desktop.patch @@ -0,0 +1,13 @@ +Fix desktop-file-validate warning. + +--- a/data/gtg.desktop 2014-11-01 11:23:31.101881704 +0100 ++++ b/data/gtg.desktop 2014-11-01 11:23:37.349775014 +0100 +@@ -14,7 +14,7 @@ + StartupNotify=true + X-Ayatana-Desktop-Shortcuts=NewTask + +-[NewTask Shortcut Group] ++[X-NewTask Shortcut Group] + Name=New Task + Exec=gtg_new_task + TargetEnvironment=Unity diff --git a/app-office/gtg/files/gtg-metainfo.patch b/app-office/gtg/files/gtg-metainfo.patch new file mode 100644 index 0000000..c9e0c63 --- /dev/null +++ b/app-office/gtg/files/gtg-metainfo.patch @@ -0,0 +1,13 @@ +Install appdata to share/metainfo/ + +--- a/setup.py ++++ b/setup.py +@@ -169,7 +169,7 @@ def find_data_files(): + # Misc files + data_files.extend([ + ('share/applications', ['data/gtg.desktop']), +- ('share/appdata/', ['data/gtg.appdata.xml']), ++ ('share/metainfo/', ['data/gtg.appdata.xml']), + ('share/dbus-1/services', ['data/org.gnome.GTG.service']), + ('share/gtg/', ['data/gtcli_bash_completion']), + ]) diff --git a/app-office/gtg/gtg-9999.ebuild b/app-office/gtg/gtg-9999.ebuild new file mode 100644 index 0000000..c2ce723 --- /dev/null +++ b/app-office/gtg/gtg-9999.ebuild @@ -0,0 +1,45 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="7" + +PYTHON_COMPAT=( python3_{5,6,7,8} ) + +if [[ ${PV} == 9999* ]]; then + EGIT_REPO_URI="https://github.com/getting-things-gnome/${PN}.git" + inherit git-r3 + MY_PV=${PV/_rc/-RC} + S="${WORKDIR}/${PN}-${MY_PV}" +else + SRC_URI="https://github.com/getting-things-gnome/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86" +fi + +inherit python-single-r1 meson + +DESCRIPTION="Personal organizer for the GNOME desktop environment" +HOMEPAGE="https://wiki.gnome.org/Apps/GTG" + +LICENSE="GPL-3" +SLOT="0" +IUSE="plugins" +REQUIRED_USE=${PYTHON_REQUIRED_USE} + +RDEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep ' + dev-python/nose[${PYTHON_MULTI_USEDEP}] + dev-python/pyxdg[${PYTHON_MULTI_USEDEP}] + dev-python/pyflakes[${PYTHON_MULTI_USEDEP}] + dev-python/pep8[${PYTHON_MULTI_USEDEP}] + dev-python/pycodestyle[${PYTHON_MULTI_USEDEP}] + dev-python/mock[${PYTHON_MULTI_USEDEP}] + dev-python/liblarch[${PYTHON_MULTI_USEDEP}] + dev-python/dbus-python[${PYTHON_MULTI_USEDEP}] + dev-python/pygobject[${PYTHON_MULTI_USEDEP}] + plugins? ( + dev-python/cheetah3[${PYTHON_MULTI_USEDEP}] + app-text/pdftk + app-text/pdfjam + ) + ') +" diff --git a/app-office/gtg/metadata.xml b/app-office/gtg/metadata.xml new file mode 100644 index 0000000..7bfae26 --- /dev/null +++ b/app-office/gtg/metadata.xml @@ -0,0 +1,22 @@ + + + + + ange@bloome.rs + + + Getting Things Gnome! (gtg) is a personal organizer for the GNOME desktop that + was inspired by the Getting Things Done methodology (GTD). It is not a GTD only + software as it aims for flexibility, adaptability and ease of use. + + GTG wants to help you to track everything you need to do and need to know, from + very small tasks to big projects. + + GTG uses a very handy text edition system for task creation and edition. + The task editor can automatically recognize metadata such as tags and subtasks + only by the use of a very simple syntax. + + + getting-things-gnome/gtg + +