summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrançois-Xavier Carton <fx.carton91@gmail.com>2019-05-01 01:14:09 +0200
committerJames Le Cuirot <chewi@gentoo.org>2019-05-10 22:16:08 +0100
commit8bf0fc2b213fcc178b62ff0405fa563464bfe434 (patch)
tree2d01cd4a5a3e9313a2adb1fd035d54a01e96c723 /games-action
parentgames-action/supertuxkart: bump to 1.0 (diff)
downloadgentoo-8bf0fc2b213fcc178b62ff0405fa563464bfe434.tar.gz
gentoo-8bf0fc2b213fcc178b62ff0405fa563464bfe434.tar.bz2
gentoo-8bf0fc2b213fcc178b62ff0405fa563464bfe434.zip
games-action/supertuxkart: EAPI 7
Package-Manager: Portage-2.3.62, Repoman-2.3.11 Signed-off-by: François-Xavier Carton <fx.carton91@gmail.com> Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-action')
-rw-r--r--games-action/supertuxkart/supertuxkart-1.0.ebuild16
1 files changed, 7 insertions, 9 deletions
diff --git a/games-action/supertuxkart/supertuxkart-1.0.ebuild b/games-action/supertuxkart/supertuxkart-1.0.ebuild
index f6d84df9613a..08bfa673f952 100644
--- a/games-action/supertuxkart/supertuxkart-1.0.ebuild
+++ b/games-action/supertuxkart/supertuxkart-1.0.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
-inherit cmake-utils desktop gnome2-utils
+inherit cmake-utils desktop xdg-utils
DESCRIPTION="A kart racing game starring Tux, the linux penguin (TuxKart fork)"
HOMEPAGE="https://supertuxkart.net/"
@@ -42,7 +42,8 @@ RDEPEND="
)
recorder? ( media-libs/libopenglrecorder )
wiimote? ( net-wireless/bluez )"
-DEPEND="${RDEPEND}
+DEPEND="${RDEPEND}"
+BDEPEND="
sys-devel/gettext
virtual/pkgconfig"
@@ -72,6 +73,7 @@ src_configure() {
-DUSE_WIIUSE=$(usex wiimote)
-DSTK_INSTALL_BINARY_DIR=bin
-DSTK_INSTALL_DATA_DIR=share/${PN}
+ -DBUILD_SHARED_LIBS=OFF # build bundled libsquish as static library
)
cmake-utils_src_configure
}
@@ -83,14 +85,10 @@ src_install() {
doicon -s 64 "${DISTDIR}"/${PN}.png
}
-pkg_preinst() {
- gnome2_icon_savelist
-}
-
pkg_postinst() {
- gnome2_icon_cache_update
+ xdg_icon_cache_update
}
pkg_postrm() {
- gnome2_icon_cache_update
+ xdg_icon_cache_update
}