diff options
author | James Le Cuirot <chewi@gentoo.org> | 2021-01-05 22:42:33 +0000 |
---|---|---|
committer | James Le Cuirot <chewi@gentoo.org> | 2021-01-05 22:42:33 +0000 |
commit | 2ccb281efe544c386cff2fff45c4c2670c70f3f3 (patch) | |
tree | 7f3d5d9838a13f21b5cd9adaee55b754503ba3b4 /games-action | |
parent | sci-libs/superlu: revert "cleanup old (inc. EAPI 5)" (diff) | |
download | gentoo-2ccb281efe544c386cff2fff45c4c2670c70f3f3.tar.gz gentoo-2ccb281efe544c386cff2fff45c4c2670c70f3f3.tar.bz2 gentoo-2ccb281efe544c386cff2fff45c4c2670c70f3f3.zip |
games-action/tuxkart: EAPI 7, fix prefix, add desktop entry
Package-Manager: Portage-3.0.12, Repoman-3.0.1
Signed-off-by: James Le Cuirot <chewi@gentoo.org>
Diffstat (limited to 'games-action')
-rw-r--r-- | games-action/tuxkart/tuxkart-0.4.0-r2.ebuild (renamed from games-action/tuxkart/tuxkart-0.4.0-r1.ebuild) | 24 |
1 files changed, 16 insertions, 8 deletions
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 } |