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-action/supertuxkart/
Date: Fri, 10 May 2019 21:16:31
Message-Id: 1557522968.8bf0fc2b213fcc178b62ff0405fa563464bfe434.chewi@gentoo
1 commit: 8bf0fc2b213fcc178b62ff0405fa563464bfe434
2 Author: François-Xavier Carton <fx.carton91 <AT> gmail <DOT> com>
3 AuthorDate: Tue Apr 30 23:14:09 2019 +0000
4 Commit: James Le Cuirot <chewi <AT> gentoo <DOT> org>
5 CommitDate: Fri May 10 21:16:08 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8bf0fc2b
7
8 games-action/supertuxkart: EAPI 7
9
10 Package-Manager: Portage-2.3.62, Repoman-2.3.11
11 Signed-off-by: François-Xavier Carton <fx.carton91 <AT> gmail.com>
12 Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>
13
14 games-action/supertuxkart/supertuxkart-1.0.ebuild | 16 +++++++---------
15 1 file changed, 7 insertions(+), 9 deletions(-)
16
17 diff --git a/games-action/supertuxkart/supertuxkart-1.0.ebuild b/games-action/supertuxkart/supertuxkart-1.0.ebuild
18 index f6d84df9613..08bfa673f95 100644
19 --- a/games-action/supertuxkart/supertuxkart-1.0.ebuild
20 +++ b/games-action/supertuxkart/supertuxkart-1.0.ebuild
21 @@ -1,9 +1,9 @@
22 # Copyright 1999-2019 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=6
26 +EAPI=7
27
28 -inherit cmake-utils desktop gnome2-utils
29 +inherit cmake-utils desktop xdg-utils
30
31 DESCRIPTION="A kart racing game starring Tux, the linux penguin (TuxKart fork)"
32 HOMEPAGE="https://supertuxkart.net/"
33 @@ -42,7 +42,8 @@ RDEPEND="
34 )
35 recorder? ( media-libs/libopenglrecorder )
36 wiimote? ( net-wireless/bluez )"
37 -DEPEND="${RDEPEND}
38 +DEPEND="${RDEPEND}"
39 +BDEPEND="
40 sys-devel/gettext
41 virtual/pkgconfig"
42
43 @@ -72,6 +73,7 @@ src_configure() {
44 -DUSE_WIIUSE=$(usex wiimote)
45 -DSTK_INSTALL_BINARY_DIR=bin
46 -DSTK_INSTALL_DATA_DIR=share/${PN}
47 + -DBUILD_SHARED_LIBS=OFF # build bundled libsquish as static library
48 )
49 cmake-utils_src_configure
50 }
51 @@ -83,14 +85,10 @@ src_install() {
52 doicon -s 64 "${DISTDIR}"/${PN}.png
53 }
54
55 -pkg_preinst() {
56 - gnome2_icon_savelist
57 -}
58 -
59 pkg_postinst() {
60 - gnome2_icon_cache_update
61 + xdg_icon_cache_update
62 }
63
64 pkg_postrm() {
65 - gnome2_icon_cache_update
66 + xdg_icon_cache_update
67 }