Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 349899 | Differences between
and this patch

Collapse All | Expand All

(-)/portage/trees/gentoo/games-action/supertuxkart/supertuxkart-0.6.2.ebuild (-14 / +10 lines)
Lines 3-9 Link Here
3
# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/supertuxkart-0.6.2.ebuild,v 1.9 2010/11/03 08:56:15 tupone Exp $
3
# $Header: /var/cvsroot/gentoo-x86/games-action/supertuxkart/supertuxkart-0.6.2.ebuild,v 1.9 2010/11/03 08:56:15 tupone Exp $
4
4
5
EAPI=2
5
EAPI=2
6
inherit autotools eutils games
6
inherit autotools flag-o-matic eutils games
7
7
8
DESCRIPTION="A kart racing game starring Tux, the linux penguin (TuxKart fork)"
8
DESCRIPTION="A kart racing game starring Tux, the linux penguin (TuxKart fork)"
9
HOMEPAGE="http://supertuxkart.sourceforge.net/"
9
HOMEPAGE="http://supertuxkart.sourceforge.net/"
Lines 12-35 Link Here
12
12
13
LICENSE="GPL-3 CCPL-Attribution-ShareAlike-3.0 CCPL-Attribution-2.0 CCPL-Sampling-Plus-1.0 public-domain as-is"
13
LICENSE="GPL-3 CCPL-Attribution-ShareAlike-3.0 CCPL-Attribution-2.0 CCPL-Sampling-Plus-1.0 public-domain as-is"
14
SLOT="0"
14
SLOT="0"
15
KEYWORDS="amd64 ~ppc x86"
15
KEYWORDS="~amd64 ~ppc ~x86"
16
IUSE="nls"
16
IUSE="nls unicode"
17
17
18
RDEPEND=">=media-libs/plib-1.8.4
18
RDEPEND=">=dev-games/irrlicht-1.7.2
19
	virtual/opengl
19
	virtual/opengl
20
	media-libs/freeglut
20
	media-libs/freeglut
21
	virtual/glu
21
	virtual/glu
22
	net-libs/enet:0
22
	net-libs/enet:0
23
	media-libs/libmikmod
24
	media-libs/libvorbis
23
	media-libs/libvorbis
25
	media-libs/openal
24
	media-libs/openal
26
	media-libs/libsdl[X,video,audio,joystick]
27
	virtual/libintl"
25
	virtual/libintl"
28
DEPEND="${RDEPEND}
26
DEPEND="${RDEPEND}
29
	nls? ( sys-devel/gettext )"
27
	nls? ( sys-devel/gettext )
28
	unicode? ( dev-libs/fribidi )"
30
29
31
src_prepare() {
30
src_prepare() {
32
	esvn_clean
33
	sed -i \
31
	sed -i \
34
		-e '/ENETTREE/d' \
32
		-e '/ENETTREE/d' \
35
		-e '/src\/enet\/Makefile/d' \
33
		-e '/src\/enet\/Makefile/d' \
Lines 52-68 Link Here
52
		-e '/AM_CPPFLAGS/s:/games::' \
50
		-e '/AM_CPPFLAGS/s:/games::' \
53
		src/Makefile.am \
51
		src/Makefile.am \
54
		|| die "sed failed"
52
		|| die "sed failed"
55
	# bug #328021
56
	sed -i \
57
		-e '13d' \
58
		data/Makefile.am \
59
		|| die "sed failed"
60
	rm -rf src/enet
53
	rm -rf src/enet
61
	epatch "${FILESDIR}"/${P}-ovflfix.patch
62
	eautoreconf
54
	eautoreconf
63
}
55
}
64
56
65
src_configure() {
57
src_configure() {
58
	append-libs -lpng
59
	append-libs -ljpeg
60
	append-libs -lbz2
61
66
	egamesconf \
62
	egamesconf \
67
		--disable-dependency-tracking \
63
		--disable-dependency-tracking \
68
		$(use_enable nls)
64
		$(use_enable nls)

Return to bug 349899