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/torcs: torcs-1.3.6.ebuild ChangeLog
Date: Tue, 02 Sep 2014 00:54:03
Message-Id: 20140902005359.6E98847A5@oystercatcher.gentoo.org
1 mr_bones_ 14/09/02 00:53:59
2
3 Modified: ChangeLog
4 Added: torcs-1.3.6.ebuild
5 Log:
6 version bump
7
8 (Portage version: 2.2.8-r1/cvs/Linux x86_64, unsigned Manifest commit)
9
10 Revision Changes Path
11 1.41 games-sports/torcs/ChangeLog
12
13 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/torcs/ChangeLog?rev=1.41&view=markup
14 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/torcs/ChangeLog?rev=1.41&content-type=text/plain
15 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/torcs/ChangeLog?r1=1.40&r2=1.41
16
17 Index: ChangeLog
18 ===================================================================
19 RCS file: /var/cvsroot/gentoo-x86/games-sports/torcs/ChangeLog,v
20 retrieving revision 1.40
21 retrieving revision 1.41
22 diff -u -r1.40 -r1.41
23 --- ChangeLog 19 Jul 2014 13:55:10 -0000 1.40
24 +++ ChangeLog 2 Sep 2014 00:53:59 -0000 1.41
25 @@ -1,6 +1,16 @@
26 # ChangeLog for games-sports/torcs
27 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
28 -# $Header: /var/cvsroot/gentoo-x86/games-sports/torcs/ChangeLog,v 1.40 2014/07/19 13:55:10 tupone Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/games-sports/torcs/ChangeLog,v 1.41 2014/09/02 00:53:59 mr_bones_ Exp $
30 +
31 +*torcs-1.3.6 (02 Sep 2014)
32 +
33 + 02 Sep 2014; Michael Sterrett <mr_bones_@g.o>
34 + +files/torcs-1.3.6-as-needed.patch, +files/torcs-1.3.6-flags.patch,
35 + +files/torcs-1.3.6-no-automake.patch, +files/torcs-1.3.6-noXmuXt.patch,
36 + +torcs-1.3.6.ebuild, files/torcs-1.3.4-as-needed.patch,
37 + files/torcs-1.3.4-flags.patch, files/torcs-1.3.4-no-automake.patch,
38 + files/torcs-1.3.4-noXmuXt.patch:
39 + version bump
40
41 19 Jul 2014; Tupone Alfredo <tupone@g.o> torcs-1.3.4.ebuild,
42 +files/torcs-1.3.4-noXmuXt.patch:
43
44
45
46 1.1 games-sports/torcs/torcs-1.3.6.ebuild
47
48 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/torcs/torcs-1.3.6.ebuild?rev=1.1&view=markup
49 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/games-sports/torcs/torcs-1.3.6.ebuild?rev=1.1&content-type=text/plain
50
51 Index: torcs-1.3.6.ebuild
52 ===================================================================
53 # Copyright 1999-2014 Gentoo Foundation
54 # Distributed under the terms of the GNU General Public License v2
55 # $Header: /var/cvsroot/gentoo-x86/games-sports/torcs/torcs-1.3.6.ebuild,v 1.1 2014/09/02 00:53:59 mr_bones_ Exp $
56
57 EAPI=5
58 inherit autotools eutils multilib games
59
60 DESCRIPTION="The Open Racing Car Simulator"
61 HOMEPAGE="http://torcs.sourceforge.net/"
62 SRC_URI="mirror://sourceforge/torcs/${P}.tar.bz2"
63
64 LICENSE="GPL-2 FreeArt"
65 SLOT="0"
66 KEYWORDS="~amd64 ~x86"
67 IUSE=""
68
69 RDEPEND="media-libs/freealut
70 media-libs/freeglut
71 media-libs/libpng:0
72 media-libs/libvorbis:=
73 media-libs/openal
74 >=media-libs/plib-1.8.5
75 sys-libs/zlib:0=
76 virtual/opengl
77 virtual/glu
78 x11-libs/libX11
79 x11-libs/libXrandr"
80 DEPEND="${RDEPEND}
81 x11-proto/xf86vidmodeproto"
82
83 src_prepare() {
84 epatch \
85 "${FILESDIR}"/${P}-no-automake.patch \
86 "${FILESDIR}"/${P}-as-needed.patch \
87 "${FILESDIR}"/${P}-flags.patch \
88 "${FILESDIR}"/${P}-noXmuXt.patch
89 eautoreconf
90 ecvs_clean
91 }
92
93 src_configure() {
94 addpredict $(echo /dev/snd/controlC? | sed 's/ /:/g')
95 [[ -e /dev/dsp ]] && addpredict /dev/dsp
96 egamesconf \
97 --datadir="${GAMES_DATADIR_BASE}" \
98 --x-libraries=/usr/$(get_libdir) \
99 --enable-xrandr
100 }
101
102 src_compile() {
103 # So ugly... patches welcome.
104 emake -j1
105 }
106
107 src_install() {
108 emake -j1 DESTDIR="${D}" install datainstall
109 newicon Ticon.png ${PN}.png
110 make_desktop_entry ${PN} TORCS
111 dodoc README doc/history/history.txt
112 doman doc/man/*.6
113 dohtml -r doc/faq/faq.html doc/tutorials doc/userman
114 prepgamesdirs
115 }