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-strategy/maxr/
Date: Mon, 26 Mar 2018 21:25:20
Message-Id: 1522099501.8aab4b0b10ac04dab682de38becbba7b54b24878.chewi@gentoo
1 commit: 8aab4b0b10ac04dab682de38becbba7b54b24878
2 Author: James Le Cuirot <chewi <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 26 21:23:24 2018 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 26 21:25:01 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8aab4b0b
7
8 games-strategy/maxr: Update icon cache
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 games-strategy/maxr/maxr-0.2.9.ebuild | 16 +++++++++++-----
13 1 file changed, 11 insertions(+), 5 deletions(-)
14
15 diff --git a/games-strategy/maxr/maxr-0.2.9.ebuild b/games-strategy/maxr/maxr-0.2.9.ebuild
16 index 1835decca36..624345a06b3 100644
17 --- a/games-strategy/maxr/maxr-0.2.9.ebuild
18 +++ b/games-strategy/maxr/maxr-0.2.9.ebuild
19 @@ -2,7 +2,8 @@
20 # Distributed under the terms of the GNU General Public License v2
21
22 EAPI=6
23 -inherit cmake-utils desktop
24 +
25 +inherit cmake-utils desktop gnome2-utils
26
27 DESCRIPTION="Mechanized Assault and Exploration Reloaded"
28 HOMEPAGE="http://www.maxr.org/"
29 @@ -20,14 +21,19 @@ DEPEND="${RDEPEND}"
30
31 src_configure() {
32 mycmakeargs=(
33 - -DMAXR_BUILD_DEDICATED_SERVER="$(usex dedicated)"
34 - "-DCMAKE_BUILD_TYPE=Release")
35 + -DMAXR_BUILD_DEDICATED_SERVER=$(usex dedicated)
36 + -DCMAKE_BUILD_TYPE=Release
37 + )
38
39 cmake-utils_src_configure
40 }
41
42 src_install() {
43 - doicon data/maxr.png
44 - make_desktop_entry maxr "Mechanized Assault and Exploration Reloaded"
45 cmake-utils_src_install
46 + doicon -s 128 data/${PN}.png
47 + make_desktop_entry ${PN} "Mechanized Assault and Exploration Reloaded"
48 }
49 +
50 +pkg_preinst() { gnome2_icon_savelist; }
51 +pkg_postinst() { gnome2_icon_cache_update; }
52 +pkg_postrm() { gnome2_icon_cache_update; }