1 |
commit: 5813c61666a019002f48fe95459bd12f61270f97 |
2 |
Author: Herb Miller Jr <herb <AT> hlmjr <DOT> com> |
3 |
AuthorDate: Sun Mar 4 00:19:58 2018 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Mar 24 19:39:42 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5813c616 |
7 |
|
8 |
app-misc/gramps: Fix MimeType QA notice. |
9 |
|
10 |
Package-Manager: Portage-2.3.19, Repoman-2.3.6 |
11 |
|
12 |
app-misc/gramps/gramps-4.2.8.ebuild | 12 +++++++++++- |
13 |
1 file changed, 11 insertions(+), 1 deletion(-) |
14 |
|
15 |
diff --git a/app-misc/gramps/gramps-4.2.8.ebuild b/app-misc/gramps/gramps-4.2.8.ebuild |
16 |
index 8b6fa4bcdef..556bb44410a 100644 |
17 |
--- a/app-misc/gramps/gramps-4.2.8.ebuild |
18 |
+++ b/app-misc/gramps/gramps-4.2.8.ebuild |
19 |
@@ -5,7 +5,7 @@ EAPI=6 |
20 |
PYTHON_COMPAT=( python3_{4,5} ) |
21 |
|
22 |
DISTUTILS_SINGLE_IMPL=1 |
23 |
-inherit distutils-r1 |
24 |
+inherit distutils-r1 xdg-utils |
25 |
|
26 |
DESCRIPTION="Genealogical Research and Analysis Management Programming System" |
27 |
HOMEPAGE="https://gramps-project.org/" |
28 |
@@ -44,3 +44,13 @@ python_prepare_all() { |
29 |
sed -i "s:share/doc/gramps:share/doc/${PF}:g" setup.py || die |
30 |
distutils-r1_python_prepare_all |
31 |
} |
32 |
+ |
33 |
+pkg_postinst() { |
34 |
+ xdg_desktop_database_update |
35 |
+ xdg_mimeinfo_database_update |
36 |
+} |
37 |
+ |
38 |
+pkg_postrm() { |
39 |
+ xdg_desktop_database_update |
40 |
+ xdg_mimeinfo_database_update |
41 |
+} |