Gentoo Archives: gentoo-commits

From: Austin English <wizardedit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: games-action/tuxkart/
Date: Tue, 31 Jan 2017 00:59:36
Message-Id: 1485824361.77fd03586ede263c9fcc07121af00881ca3bcf99.wizardedit@gentoo
1 commit: 77fd03586ede263c9fcc07121af00881ca3bcf99
2 Author: Austin English <wizardedit <AT> gentoo <DOT> org>
3 AuthorDate: Mon Jan 30 23:58:25 2017 +0000
4 Commit: Austin English <wizardedit <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 31 00:59:21 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77fd0358
7
8 games-action/tuxkart: remove deprecated games eclass
9
10 Also update to EAPI 6
11
12 Gentoo-Bug: https://bugs.gentoo.org/574082
13
14 Package-Manager: Portage-2.3.2, Repoman-2.3.1
15
16 games-action/tuxkart/tuxkart-0.4.0-r1.ebuild | 46 ++++++++++++++++++++++++++++
17 1 file changed, 46 insertions(+)
18
19 diff --git a/games-action/tuxkart/tuxkart-0.4.0-r1.ebuild b/games-action/tuxkart/tuxkart-0.4.0-r1.ebuild
20 new file mode 100644
21 index 00000000..311dcf6
22 --- /dev/null
23 +++ b/games-action/tuxkart/tuxkart-0.4.0-r1.ebuild
24 @@ -0,0 +1,46 @@
25 +# Copyright 1999-2017 Gentoo Foundation
26 +# Distributed under the terms of the GNU General Public License v2
27 +# $Id$
28 +
29 +EAPI=6
30 +
31 +DESCRIPTION="A racing game starring Tux, the Linux penguin"
32 +HOMEPAGE="http://tuxkart.sourceforge.net/"
33 +SRC_URI="mirror://sourceforge/tuxkart/${P}.tar.gz"
34 +
35 +LICENSE="GPL-2"
36 +SLOT="0"
37 +KEYWORDS="~alpha ~amd64 ~x86"
38 +IUSE=""
39 +
40 +RDEPEND=">=media-libs/plib-1.8.0
41 + x11-libs/libX11
42 + x11-libs/libICE
43 + x11-libs/libSM
44 + x11-libs/libXext
45 + x11-libs/libXi
46 + x11-libs/libXmu
47 + virtual/opengl"
48 +DEPEND="${RDEPEND}
49 + x11-libs/libXt"
50 +
51 +src_prepare() {
52 + default
53 +
54 + # apparently <sys/perm.h> doesn't exist on alpha
55 + if use alpha; then
56 + sed -i \
57 + -e '/#include <sys\/perm.h>/d' src/gfx.cxx || die
58 + fi
59 + sed -i \
60 + -e "/^plib_suffix/ s/-lplibul/-lplibul -lplibjs/" \
61 + -e "s/-malign-double//; s/-O6//" configure || die
62 + sed -i \
63 + -e "/^bindir/s/=.*/=@bindir@/" src/Makefile.in || die
64 +}
65 +
66 +src_install() {
67 + default
68 + dodoc doc/*.html
69 + rm -rf "${D}/usr/share/tuxkart/" || die
70 +}