Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-client/otter/
Date: Mon, 25 Sep 2017 14:46:49
Message-Id: 1506350804.dd9224fd5a5dc0ef0fc025b67f266063bdcd92de.jer@gentoo
1 commit: dd9224fd5a5dc0ef0fc025b67f266063bdcd92de
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Mon Sep 25 14:46:28 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Mon Sep 25 14:46:44 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd9224fd
7
8 www-client/otter: Run things in pkg_postinst()/pkg_postrm().
9
10 Package-Manager: Portage-2.3.10, Repoman-2.3.3
11
12 www-client/otter/otter-0.9.12.ebuild | 13 +++++++++++--
13 www-client/otter/otter-9999.ebuild | 13 +++++++++++--
14 2 files changed, 22 insertions(+), 4 deletions(-)
15
16 diff --git a/www-client/otter/otter-0.9.12.ebuild b/www-client/otter/otter-0.9.12.ebuild
17 index 123171f6303..a2e32ebc01d 100644
18 --- a/www-client/otter/otter-0.9.12.ebuild
19 +++ b/www-client/otter/otter-0.9.12.ebuild
20 @@ -2,8 +2,7 @@
21 # Distributed under the terms of the GNU General Public License v2
22
23 EAPI=6
24 -
25 -inherit eutils cmake-utils
26 +inherit eutils cmake-utils gnome2-utils xdg-utils
27
28 DESCRIPTION="Project aiming to recreate classic Opera (12.x) UI using Qt5"
29 HOMEPAGE="http://otter-browser.org/"
30 @@ -60,3 +59,13 @@ src_install() {
31 cmake-utils_src_install
32 domenu ${PN}-browser.desktop
33 }
34 +
35 +pkg_postinst() {
36 + gnome2_icon_cache_update
37 + xdg_desktop_database_update
38 +}
39 +
40 +pkg_postrm() {
41 + gnome2_icon_cache_update
42 + xdg_desktop_database_update
43 +}
44
45 diff --git a/www-client/otter/otter-9999.ebuild b/www-client/otter/otter-9999.ebuild
46 index fdb1f94ba3a..012c8341b63 100644
47 --- a/www-client/otter/otter-9999.ebuild
48 +++ b/www-client/otter/otter-9999.ebuild
49 @@ -2,8 +2,7 @@
50 # Distributed under the terms of the GNU General Public License v2
51
52 EAPI=6
53 -
54 -inherit eutils cmake-utils git-r3
55 +inherit eutils cmake-utils git-r3 gnome2-utils xdg-utils
56
57 DESCRIPTION="Project aiming to recreate classic Opera (12.x) UI using Qt5"
58 HOMEPAGE="http://otter-browser.org/"
59 @@ -51,3 +50,13 @@ src_install() {
60 cmake-utils_src_install
61 domenu ${PN}-browser.desktop
62 }
63 +
64 +pkg_postinst() {
65 + gnome2_icon_cache_update
66 + xdg_desktop_database_update
67 +}
68 +
69 +pkg_postrm() {
70 + gnome2_icon_cache_update
71 + xdg_desktop_database_update
72 +}