Gentoo Archives: gentoo-commits

From: James Le Cuirot <chewi@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-arcade/opentyrian/
Date: Mon, 27 Aug 2018 21:23:41
Message-Id: 1535404982.af520e35560e761d31f6988e8a28b65cefcb291e.chewi@gentoo
1 commit: af520e35560e761d31f6988e8a28b65cefcb291e
2 Author: Marty E. Plummer <hanetzer <AT> startmail <DOT> com>
3 AuthorDate: Fri Aug 3 01:22:12 2018 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Mon Aug 27 21:23:02 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=af520e35
7
8 games-arcade/opentyrian: add gnome2-utils
9
10 Needed for gnome2_icon_cache_update in pkg_postinst and pkg_postrm.
11
12 Package-Manager: Portage-2.3.44, Repoman-2.3.10
13
14 games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild | 10 +++++++++-
15 1 file changed, 9 insertions(+), 1 deletion(-)
16
17 diff --git a/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild b/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild
18 index f1b0678fb4e..fc82628bc52 100644
19 --- a/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild
20 +++ b/games-arcade/opentyrian/opentyrian-2.1.20130907-r1.ebuild
21 @@ -3,7 +3,7 @@
22
23 EAPI=6
24
25 -inherit desktop
26 +inherit desktop gnome2-utils
27
28 DESCRIPTION="Open-source port of the DOS game Tyrian, vertical scrolling shooter"
29 HOMEPAGE="https://bitbucket.org/opentyrian/opentyrian/wiki/Home"
30 @@ -47,3 +47,11 @@ src_install() {
31 rm *.exe dpmi16bi.ovl loudness.awe || die "Failed to remove win32 binaries"
32 doins * || die "Failed to install game data"
33 }
34 +
35 +pkg_postinst() {
36 + gnome2_icon_cache_update
37 +}
38 +
39 +pkg_postrm() {
40 + gnome2_icon_cache_update
41 +}