summaryrefslogtreecommitdiff
path: root/games-action/tuxkart
diff options
context:
space:
mode:
Diffstat (limited to 'games-action/tuxkart')
-rw-r--r--games-action/tuxkart/Manifest2
-rw-r--r--games-action/tuxkart/tuxkart-0.4.0-r2.ebuild (renamed from games-action/tuxkart/tuxkart-0.4.0-r1.ebuild)24
2 files changed, 17 insertions, 9 deletions
diff --git a/games-action/tuxkart/Manifest b/games-action/tuxkart/Manifest
index 297525039528..bca9620528a5 100644
--- a/games-action/tuxkart/Manifest
+++ b/games-action/tuxkart/Manifest
@@ -1,3 +1,3 @@
DIST tuxkart-0.4.0.tar.gz 4932535 BLAKE2B 36b188cbba2f6bee07b3c2e32da13dfb0372b291d47e10d15049571ad2e9114bec79e5418353928b76fb85f7d4ba36a3a8612f1acf7e0b8e454e7f4410cf5fb5 SHA512 5c49b417a1e582d0151a79c0ee5f746ff22c118ce7ed6d243ae43c9d465cb23891736afd10db771cd1f133414f34fce7747e63dafbbe8ebe4f3997ab77ec31a9
-EBUILD tuxkart-0.4.0-r1.ebuild 958 BLAKE2B 59305cad0ca9e5e085b450b92f7f7ccacb4aa4d6788022655f7042fdecb90e52f5ed248944573bface55a01b58315f1ee8d22c3e02eb1e1901849877e22b7e60 SHA512 062fbd50900eefe69a79e741ede394c17d8e61e23dc34ca620340f69a955cda75876374aec907a32e8fe0aff890792e33ca5894a9b89d993ed2c59e0ebfd7686
+EBUILD tuxkart-0.4.0-r2.ebuild 1056 BLAKE2B c17db7996f64cef8370660ba1421d84cfbb39e06b67b2d44aabd56ae063c02f8842f72ca27224054d1b1da5fb64a48dd530e636a9f42c415963c1aa87fcfe295 SHA512 4dcf586a29bad1db920cfef5d3e06db590a5722687259b8f2bff55269751c8100cd6e4787226601cec9b77a8f5928752b204cd4562b862ecf403c59d040bab22
MISC metadata.xml 330 BLAKE2B dd597158f9edbe7eaf360d35d3a7f3f27ac16ad654a67b18062abce86e770023d7a9c0a7e37b3cee34695b488dde28271329aa348a10eab126560dde2544920b SHA512 c9f7ed02c9b379ea9a73974dcbf03d601ef34b58c8aa957167da59d223eaecb262fcaaa6042a8dd54bfac5397a60c1452ac5855c044e048e12f1c00fd9fe2df0
diff --git a/games-action/tuxkart/tuxkart-0.4.0-r1.ebuild b/games-action/tuxkart/tuxkart-0.4.0-r2.ebuild
index 4591388145c1..38a3a375ea99 100644
--- a/games-action/tuxkart/tuxkart-0.4.0-r1.ebuild
+++ b/games-action/tuxkart/tuxkart-0.4.0-r2.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
+
+inherit desktop xdg
DESCRIPTION="A racing game starring Tux, the Linux penguin"
HOMEPAGE="http://tuxkart.sourceforge.net/"
@@ -10,18 +12,21 @@ SRC_URI="mirror://sourceforge/tuxkart/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~x86"
-IUSE=""
-RDEPEND=">=media-libs/plib-1.8.0
+RDEPEND="
+ >=media-libs/plib-1.8.0
x11-libs/libX11
x11-libs/libICE
x11-libs/libSM
x11-libs/libXext
x11-libs/libXi
x11-libs/libXmu
- virtual/opengl"
-DEPEND="${RDEPEND}
- x11-libs/libXt"
+ virtual/opengl
+"
+DEPEND="
+ ${RDEPEND}
+ x11-libs/libXt
+"
src_prepare() {
default
@@ -41,5 +46,8 @@ src_prepare() {
src_install() {
default
dodoc doc/*.html
- rm -rf "${D}/usr/share/tuxkart/" || die
+ rm -r "${ED}"/usr/share/tuxkart/ || die
+
+ newicon -s 256 doc/title_screen.png ${PN}.png
+ make_desktop_entry ${PN} TuxKart
}