summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Heaven <tristan@gentoo.org>2006-10-06 13:00:25 +0000
committerTristan Heaven <tristan@gentoo.org>2006-10-06 13:00:25 +0000
commit1dc75604215da5ddaa33a9552b0c2ad0f41b1c5c (patch)
treee2965107ad883fe3bbab043e09d6ae346095a639 /games-sports
parentAdded ~ppc wrt bug 139179 (diff)
downloadhistorical-1dc75604215da5ddaa33a9552b0c2ad0f41b1c5c.tar.gz
historical-1dc75604215da5ddaa33a9552b0c2ad0f41b1c5c.tar.bz2
historical-1dc75604215da5ddaa33a9552b0c2ad0f41b1c5c.zip
Enable sound by default
Package-Manager: portage-2.1.2_pre2-r5
Diffstat (limited to 'games-sports')
-rw-r--r--games-sports/racer-bin/ChangeLog6
-rw-r--r--games-sports/racer-bin/files/digest-racer-bin-0.5.0-r16
-rw-r--r--games-sports/racer-bin/racer-bin-0.5.0-r1.ebuild49
3 files changed, 33 insertions, 28 deletions
diff --git a/games-sports/racer-bin/ChangeLog b/games-sports/racer-bin/ChangeLog
index 873042c0cf60..310e15f1a4dd 100644
--- a/games-sports/racer-bin/ChangeLog
+++ b/games-sports/racer-bin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for games-sports/racer-bin
# Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/racer-bin/ChangeLog,v 1.5 2006/09/19 19:53:21 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/racer-bin/ChangeLog,v 1.6 2006/10/06 13:00:25 nyhm Exp $
+
+ 06 Oct 2006; Tristan Heaven <nyhm@gentoo.org> -files/racer-skel,
+ racer-bin-0.5.0-r1.ebuild:
+ Enable sound by default
19 Sep 2006; Chris Gianelloni <wolf31o2@gentoo.org>
racer-bin-0.5.0-r1.ebuild:
diff --git a/games-sports/racer-bin/files/digest-racer-bin-0.5.0-r1 b/games-sports/racer-bin/files/digest-racer-bin-0.5.0-r1
index 7af4aa09994a..b5adc92c6f4a 100644
--- a/games-sports/racer-bin/files/digest-racer-bin-0.5.0-r1
+++ b/games-sports/racer-bin/files/digest-racer-bin-0.5.0-r1
@@ -1,2 +1,6 @@
-MD5 9c6f4b03f8ebf9913e0a714ae23efe55 rr_data0.5.0.tgz 8197224
MD5 2b08290c63b8fa7fa707abdb6cd20db8 rr_bin_linux0.5.0.tgz 2015099
+RMD160 e6119774953551e6005d1062ca20d7808419bef3 rr_bin_linux0.5.0.tgz 2015099
+SHA256 dda7bbca4ec8268ed5ddbd681db640f5dec6b1571ccb169a74bb0a5b6c46ed4d rr_bin_linux0.5.0.tgz 2015099
+MD5 9c6f4b03f8ebf9913e0a714ae23efe55 rr_data0.5.0.tgz 8197224
+RMD160 d3e230932c72472d09aaadc9335e6369b1d6b090 rr_data0.5.0.tgz 8197224
+SHA256 f3e4cc84a324ee027d5d0c1cdd07771093a6290b965549012875c902b0b19483 rr_data0.5.0.tgz 8197224
diff --git a/games-sports/racer-bin/racer-bin-0.5.0-r1.ebuild b/games-sports/racer-bin/racer-bin-0.5.0-r1.ebuild
index 343b4c8288fb..7478e7ca87a9 100644
--- a/games-sports/racer-bin/racer-bin-0.5.0-r1.ebuild
+++ b/games-sports/racer-bin/racer-bin-0.5.0-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-sports/racer-bin/racer-bin-0.5.0-r1.ebuild,v 1.6 2006/09/19 19:53:21 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-sports/racer-bin/racer-bin-0.5.0-r1.ebuild,v 1.7 2006/10/06 13:00:25 nyhm Exp $
inherit games
@@ -14,47 +14,44 @@ SLOT="0"
KEYWORDS="-* x86"
RESTRICT="strip"
IUSE=""
+QA_TEXTRELS=${GAMES_PREFIX_OPT:1}/${PN}/data/plugins/motion/move.so
-RDEPEND="virtual/opengl
+DEPEND="media-libs/fmod"
+RDEPEND="${DEPEND}
+ virtual/opengl
+ virtual/glu
media-libs/libsdl
- sys-libs/lib-compat
- >=media-libs/fmod-3.61"
+ sys-libs/lib-compat"
-S="${WORKDIR}/racer${PV}"
+S=${WORKDIR}/racer${PV}
-src_compile() {
- einfo "Binary package. Nothing to compile"
-}
-
-src_install( ) {
+src_install() {
local dir=${GAMES_PREFIX_OPT}/${PN}
local f
- dodir ${dir} || die "dodir failed"
dodoc *.txt || die "dodoc failed"
rm -f *.txt
- cp -R ${S}/* "${D}/${dir}/" || die "cp failed"
- sed -e "s:GENTOO_DIR:${dir}:" "${FILESDIR}/racer-skel" > racer-skel \
- || die "sed failed"
+ # Enable sound
+ sed -i '222 s/0/1/' racer.ini || die "sed failed"
- for f in carlab gplex modeler pacejka racer tracked
- do
- newgamesbin racer-skel ${f} || \
- die "newgamesbin ${f} failed"
- dosed "s:GENTOO_BIN:${f}:" ${GAMES_BINDIR}/${f} || \
- die "dosed ${f} failed"
+ insinto "${dir}"
+ doins -r * || die "doins failed"
+
+ for f in bin/* ; do
+ games_make_wrapper ${f#*/} ${f} "${dir}" "${dir}"/bin
+ fperms 770 "${dir}"/${f} || die "fperms ${f} failed"
done
- local libfmod=`find /usr/lib/ -name 'libfmod-*so' -maxdepth 1 -type f -printf '%f'`
- dosym /usr/lib/${libfmod} ${dir}/bin/libfmod-3.61.so
- dosym /usr/lib/${libfmod} ${dir}/bin/libfmod-3.5.so
+ local libfmod=$(find /usr/lib -maxdepth 1 -name 'libfmod-*so' -type f)
+ dosym ${libfmod} "${dir}"/bin/libfmod-3.61.so
+ dosym ${libfmod} "${dir}"/bin/libfmod-3.5.so
# Fix up some permissions for bug 31694
- for f in racer.ini data/drivers/default/driver.ini data/tracks/carlswood_nt/bestlaps.ini
+ for f in racer.ini data/drivers/default/driver.ini \
+ data/tracks/carlswood_nt/bestlaps.ini
do
- fperms 664 ${dir}/${f} || \
- die "fperms ${f} failed"
+ fperms 660 "${dir}"/${f} || die "fperms ${f} failed"
done
prepgamesdirs