Gentoo Archives: gentoo-commits

From: Mikle Kolyada <zlogene@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/zathura-cb/
Date: Mon, 24 Aug 2020 08:58:42
Message-Id: 1598259514.74bfda505e3610bbc8f5a63a3aa27abd9054e7a0.zlogene@gentoo
1 commit: 74bfda505e3610bbc8f5a63a3aa27abd9054e7a0
2 Author: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
3 AuthorDate: Mon Aug 24 08:58:12 2020 +0000
4 Commit: Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 24 08:58:34 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=74bfda50
7
8 app-text/zathura-cb: call xdg_desktop_database_update
9
10 Closes: https://bugs.gentoo.org/735700
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-cb/zathura-cb-0.1.8.ebuild | 12 ++++++++++--
15 app-text/zathura-cb/zathura-cb-9999.ebuild | 12 ++++++++++--
16 2 files changed, 20 insertions(+), 4 deletions(-)
17
18 diff --git a/app-text/zathura-cb/zathura-cb-0.1.8.ebuild b/app-text/zathura-cb/zathura-cb-0.1.8.ebuild
19 index 2fad557959c..237c58a1247 100644
20 --- a/app-text/zathura-cb/zathura-cb-0.1.8.ebuild
21 +++ b/app-text/zathura-cb/zathura-cb-0.1.8.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 @@ -28,3 +28,11 @@ DEPEND=">=app-text/zathura-0.3.9
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-cb/zathura-cb-9999.ebuild b/app-text/zathura-cb/zathura-cb-9999.ebuild
48 index 5e59ea0d4e2..a5d47c0a1d7 100644
49 --- a/app-text/zathura-cb/zathura-cb-9999.ebuild
50 +++ b/app-text/zathura-cb/zathura-cb-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 @@ -28,3 +28,11 @@ DEPEND=">=app-text/zathura-0.3.9
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 +}