/[gentoo-x86]/games-action/extreme-tuxracer/extreme-tuxracer-0.5_beta.ebuild
Gentoo

Contents of /games-action/extreme-tuxracer/extreme-tuxracer-0.5_beta.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Thu May 15 16:22:21 2014 UTC (8 weeks, 2 days ago) by ulm
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +3 -3 lines
Fix USE dependency on media-libs/libsdl, "audio" USE flag was renamed to "sound", bug 357661.

(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 9433907D693FB5B8!)

1 # Copyright 1999-2014 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/games-action/extreme-tuxracer/extreme-tuxracer-0.5_beta.ebuild,v 1.6 2012/08/22 18:55:03 mr_bones_ Exp $
4
5 EAPI=2
6 inherit eutils games
7
8 DESCRIPTION="High speed arctic racing game based on Tux Racer"
9 HOMEPAGE="http://www.extremetuxracer.com/"
10 SRC_URI="mirror://sourceforge/extremetuxracer/extremetuxracer-${PV/_/}.tar.gz"
11
12 LICENSE="GPL-2"
13 SLOT="0"
14 KEYWORDS="amd64 x86"
15 IUSE="nls"
16
17 RDEPEND="virtual/opengl
18 virtual/glu
19 dev-lang/tcl
20 media-libs/libsdl[X,sound,video]
21 media-libs/sdl-mixer[mod,vorbis]
22 media-libs/freetype:2
23 media-libs/libpng
24 x11-libs/libXmu
25 x11-libs/libXi
26 virtual/libintl"
27 DEPEND="${RDEPEND}
28 nls? ( sys-devel/gettext )
29 virtual/pkgconfig"
30
31 S=${WORKDIR}/${P/_}
32
33 src_prepare() {
34 sed -i \
35 -e '/^localedir/s:=.*:=@localedir@:' \
36 src/Makefile.in \
37 || die "sed failed"
38
39 epatch "${FILESDIR}"/${P}-libpng14.patch
40 }
41
42 src_configure() {
43 egamesconf \
44 --disable-dependency-tracking \
45 --localedir=/usr/share/locale \
46 $(use_enable nls)
47 }
48
49 src_install() {
50 emake DESTDIR="${D}" install || die "emake install failed"
51 dodoc AUTHORS ChangeLog
52 doicon "${FILESDIR}"/${PN}.svg
53 make_desktop_entry etracer "Extreme Tux Racer"
54 prepgamesdirs
55 }

  ViewVC Help
Powered by ViewVC 1.1.20