Gentoo Archives: gentoo-commits

From: "Michael Sterrett (mr_bones_)" <mr_bones_@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in games-sports/ultimatestunts: ChangeLog ultimatestunts-0.7.4.ebuild
Date: Sun, 24 Feb 2008 07:32:54
Message-Id: E1JTBLt-0000Vy-69@stork.gentoo.org
1 mr_bones_ 08/02/24 07:32:49
2
3 Modified: ChangeLog
4 Added: ultimatestunts-0.7.4.ebuild
5 Log:
6 version bump
7 (Portage version: 2.1.4.4)
8
9 Revision Changes Path
10 1.18 games-sports/ultimatestunts/ChangeLog
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/ultimatestunts/ChangeLog?rev=1.18&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/ultimatestunts/ChangeLog?rev=1.18&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/ultimatestunts/ChangeLog?r1=1.17&r2=1.18
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v
19 retrieving revision 1.17
20 retrieving revision 1.18
21 diff -u -r1.17 -r1.18
22 --- ChangeLog 19 Oct 2007 16:11:06 -0000 1.17
23 +++ ChangeLog 24 Feb 2008 07:32:48 -0000 1.18
24 @@ -1,6 +1,12 @@
25 # ChangeLog for games-sports/ultimatestunts
26 -# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v 1.17 2007/10/19 16:11:06 mr_bones_ Exp $
28 +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ChangeLog,v 1.18 2008/02/24 07:32:48 mr_bones_ Exp $
30 +
31 +*ultimatestunts-0.7.4 (24 Feb 2008)
32 +
33 + 24 Feb 2008; Michael Sterrett <mr_bones_@g.o>
34 + +files/ultimatestunts-0.7.4-paths.patch, +ultimatestunts-0.7.4.ebuild:
35 + version bump
36
37 *ultimatestunts-0.7.3 (19 Oct 2007)
38
39
40
41
42 1.1 games-sports/ultimatestunts/ultimatestunts-0.7.4.ebuild
43
44 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.7.4.ebuild?rev=1.1&view=markup
45 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.7.4.ebuild?rev=1.1&content-type=text/plain
46
47 Index: ultimatestunts-0.7.4.ebuild
48 ===================================================================
49 # Copyright 1999-2008 Gentoo Foundation
50 # Distributed under the terms of the GNU General Public License v2
51 # $Header: /var/cvsroot/gentoo-x86/games-sports/ultimatestunts/ultimatestunts-0.7.4.ebuild,v 1.1 2008/02/24 07:32:48 mr_bones_ Exp $
52
53 inherit autotools eutils versionator games
54
55 MY_P=${PN}-srcdata-$(replace_all_version_separators)1
56 DESCRIPTION="Remake of the famous Stunts game"
57 HOMEPAGE="http://www.ultimatestunts.nl/"
58 SRC_URI="mirror://sourceforge/${PN}/${MY_P}.tar.gz"
59
60 LICENSE="GPL-2"
61 SLOT="0"
62 KEYWORDS="~amd64 ~x86"
63 IUSE="nls"
64
65 RDEPEND="media-libs/libsdl
66 media-libs/sdl-image
67 media-libs/openal
68 media-libs/freealut
69 virtual/opengl
70 virtual/glu
71 nls? ( virtual/libintl )"
72 DEPEND="${RDEPEND}
73 dev-util/cvs
74 sys-devel/gettext"
75
76 S=${WORKDIR}/${MY_P}
77
78 pkg_setup() {
79 games_pkg_setup
80 if ! built_with_use media-libs/libsdl opengl ; then
81 die "Please emerge libsdl with USE=opengl"
82 fi
83 if ! built_with_use media-libs/openal vorbis ; then
84 die "Please emerge openal with USE=vorbis"
85 fi
86 }
87
88 src_unpack() {
89 unpack ${A}
90 cd "${S}"
91 find "${S}" -type d -name CVS -exec rm -rf '{}' +
92 epatch "${FILESDIR}"/${P}-paths.patch
93 autopoint -f || die "autopoint failed"
94 sed -i \
95 -e 's:$(datadir)/locale:@top_srcdir@/data/lang:' \
96 po/Makefile.in.in \
97 || die "sed failed"
98 AT_M4DIR=m4 eautoreconf
99 }
100
101 src_compile() {
102 egamesconf \
103 --disable-dependency-tracking \
104 $(use_enable nls) \
105 || die
106 emake -C trackedit libtrackedit.a || die "emake failed"
107 emake || die "emake failed"
108 }
109
110 src_install() {
111 emake DESTDIR="${D}" install || die "emake install failed"
112 newicon data/cars/diablo/steer.png ${PN}.png
113 make_desktop_entry ustunts "Ultimate Stunts"
114 dodoc AUTHORS README
115 prepgamesdirs
116 }
117
118
119
120 --
121 gentoo-commits@l.g.o mailing list