1 |
commit: eee4e3d2774344992a174ed9478b366a1ac00e0f |
2 |
Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 24 09:01:00 2020 +0000 |
4 |
Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 24 09:01:00 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eee4e3d2 |
7 |
|
8 |
app-text/zathura-ps: call xdg_desktop_database_update |
9 |
|
10 |
Closes: https://bugs.gentoo.org/735702 |
11 |
Package-Manager: Portage-2.3.103, Repoman-2.3.23 |
12 |
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org> |
13 |
|
14 |
app-text/zathura-ps/zathura-ps-0.2.6.ebuild | 12 ++++++++++-- |
15 |
app-text/zathura-ps/zathura-ps-9999.ebuild | 12 ++++++++++-- |
16 |
2 files changed, 20 insertions(+), 4 deletions(-) |
17 |
|
18 |
diff --git a/app-text/zathura-ps/zathura-ps-0.2.6.ebuild b/app-text/zathura-ps/zathura-ps-0.2.6.ebuild |
19 |
index 94dab249fb7..e115907ec1e 100644 |
20 |
--- a/app-text/zathura-ps/zathura-ps-0.2.6.ebuild |
21 |
+++ b/app-text/zathura-ps/zathura-ps-0.2.6.ebuild |
22 |
@@ -1,9 +1,9 @@ |
23 |
-# Copyright 1999-2018 Gentoo Authors |
24 |
+# Copyright 1999-2020 Gentoo Authors |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
|
27 |
EAPI=7 |
28 |
|
29 |
-inherit meson |
30 |
+inherit meson xdg-utils |
31 |
|
32 |
if [[ ${PV} == *9999 ]]; then |
33 |
inherit git-r3 |
34 |
@@ -29,3 +29,11 @@ DEPEND="app-text/libspectre |
35 |
RDEPEND="${DEPEND}" |
36 |
|
37 |
BDEPEND="virtual/pkgconfig" |
38 |
+ |
39 |
+pkg_postinst() { |
40 |
+ xdg_desktop_database_update |
41 |
+} |
42 |
+ |
43 |
+pkg_postrm() { |
44 |
+ xdg_desktop_database_update |
45 |
+} |
46 |
|
47 |
diff --git a/app-text/zathura-ps/zathura-ps-9999.ebuild b/app-text/zathura-ps/zathura-ps-9999.ebuild |
48 |
index 16e0d2d5ba3..1029752194f 100644 |
49 |
--- a/app-text/zathura-ps/zathura-ps-9999.ebuild |
50 |
+++ b/app-text/zathura-ps/zathura-ps-9999.ebuild |
51 |
@@ -1,9 +1,9 @@ |
52 |
-# Copyright 1999-2018 Gentoo Authors |
53 |
+# Copyright 1999-2020 Gentoo Authors |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
|
56 |
EAPI=7 |
57 |
|
58 |
-inherit meson |
59 |
+inherit meson xdg-utils |
60 |
|
61 |
if [[ ${PV} == *9999 ]]; then |
62 |
inherit git-r3 |
63 |
@@ -29,3 +29,11 @@ DEPEND="app-text/libspectre |
64 |
RDEPEND="${DEPEND}" |
65 |
|
66 |
BDEPEND="virtual/pkgconfig" |
67 |
+ |
68 |
+pkg_postinst() { |
69 |
+ xdg_desktop_database_update |
70 |
+} |
71 |
+ |
72 |
+pkg_postrm() { |
73 |
+ xdg_desktop_database_update |
74 |
+} |