summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCtibor Brančík <ctibor@brancik.cz>2016-11-03 20:18:18 +0100
committerCtibor Brančík <ctibor@brancik.cz>2016-11-03 20:18:18 +0100
commit98995900b628b714507968885493bbe407c7b1cf (patch)
tree6995e12ac8a5d8dc7467e68e85e5d9235b275621
parent5943f851f7eb00dbec9c5b115ada5b24fe07dcfc (diff)
downloadbrancik-overlay-98995900b628b714507968885493bbe407c7b1cf.tar.gz
brancik-overlay-98995900b628b714507968885493bbe407c7b1cf.tar.bz2
Add xdg-utils support to app-office/zfo-editor and make some rearrangements.
-rw-r--r--app-office/zfo-editor/zfo-editor-0.3.2.ebuild22
1 files changed, 14 insertions, 8 deletions
diff --git a/app-office/zfo-editor/zfo-editor-0.3.2.ebuild b/app-office/zfo-editor/zfo-editor-0.3.2.ebuild
index 302fc8a..da23f45 100644
--- a/app-office/zfo-editor/zfo-editor-0.3.2.ebuild
+++ b/app-office/zfo-editor/zfo-editor-0.3.2.ebuild
@@ -2,16 +2,16 @@
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="6"
-
-DESCRIPTION="ZFO Editor is an application that enables work with ZFO format on Linux"
-
-SLOT="0"
+EAPI=6
PYTHON_COMPAT=( "python2_7" )
+DESCRIPTION="ZFO editor allows working with ZFO forms on systems which are not officially
+or at all supported by SW602 602XML Filler."
-inherit distutils-r1
+SLOT=0
+
+inherit distutils-r1 xdg-utils
HOMEPAGE="https://labs.nic.cz/cs/zfo-editor.html"
SRC_URI="https://www.nic.cz/files/labs/zfo_editor/${PN}-${PV}.tar.gz"
@@ -19,7 +19,13 @@ SRC_URI="https://www.nic.cz/files/labs/zfo_editor/${PN}-${PV}.tar.gz"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
-RDEPEND="dev-python/pywebkitgtk
- dev-python/lxml"
+RDEPEND="${PYTHON_DEPS}
+ dev-python/pywebkitgtk[${PYTHON_USEDEP}]
+ dev-python/lxml[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}"
+
+pkg_postinst() {
+ xdg_desktop_database_update
+ xdg_mimeinfo_database_update
+}