diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2010-07-08 15:28:32 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2010-07-08 15:28:32 +0000 |
commit | 578a45dac9abe9ad65e9c783deb984f909d40a29 (patch) | |
tree | 5a80effe1b4c23bc21018070a3ecc846c95ba1b1 /games-sports/speed-dreams | |
parent | Delete older ebuild. (diff) | |
download | historical-578a45dac9abe9ad65e9c783deb984f909d40a29.tar.gz historical-578a45dac9abe9ad65e9c783deb984f909d40a29.tar.bz2 historical-578a45dac9abe9ad65e9c783deb984f909d40a29.zip |
version bump
Package-Manager: portage-2.1.8.3/cvs/Linux i686
Diffstat (limited to 'games-sports/speed-dreams')
-rw-r--r-- | games-sports/speed-dreams/ChangeLog | 8 | ||||
-rw-r--r-- | games-sports/speed-dreams/Manifest | 5 | ||||
-rw-r--r-- | games-sports/speed-dreams/files/speed-dreams-1.4.0-asneeded.patch | 110 | ||||
-rw-r--r-- | games-sports/speed-dreams/speed-dreams-1.4.0.ebuild | 80 |
4 files changed, 201 insertions, 2 deletions
diff --git a/games-sports/speed-dreams/ChangeLog b/games-sports/speed-dreams/ChangeLog index 885054517f4e..2a3d13aceca7 100644 --- a/games-sports/speed-dreams/ChangeLog +++ b/games-sports/speed-dreams/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for games-sports/speed-dreams # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-sports/speed-dreams/ChangeLog,v 1.4 2010/05/02 16:46:33 mr_bones_ Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-sports/speed-dreams/ChangeLog,v 1.5 2010/07/08 15:28:32 mr_bones_ Exp $ + +*speed-dreams-1.4.0 (08 Jul 2010) + + 08 Jul 2010; Michael Sterrett <mr_bones_@gentoo.org> + +speed-dreams-1.4.0.ebuild, +files/speed-dreams-1.4.0-asneeded.patch: + version bump 02 May 2010; Michael Sterrett <mr_bones_@gentoo.org> speed-dreams-1.4.0_rc1.ebuild: diff --git a/games-sports/speed-dreams/Manifest b/games-sports/speed-dreams/Manifest index 98ad3fb90d03..215c755bbd2d 100644 --- a/games-sports/speed-dreams/Manifest +++ b/games-sports/speed-dreams/Manifest @@ -1,5 +1,8 @@ +AUX speed-dreams-1.4.0-asneeded.patch 4190 RMD160 dd486c345ce8535a39491be735bf7b453ea534b1 SHA1 48593efbb208776a4d576f2dc15534f970a195f8 SHA256 52620e323b663e6fdd60caf2522506588d08a8ea7b1915eb6de704babb3c901d AUX speed-dreams-1.4.0_rc1-asneeded.patch 4190 RMD160 dd486c345ce8535a39491be735bf7b453ea534b1 SHA1 48593efbb208776a4d576f2dc15534f970a195f8 SHA256 52620e323b663e6fdd60caf2522506588d08a8ea7b1915eb6de704babb3c901d +DIST speed-dreams-1.4.0-r2307-src.tar.bz2 332667666 RMD160 9be038c8e124d0ab230b55bef2e1c13f6b408b23 SHA1 5f55e001ae1eb1660001cf11dd22e9afaa97b111 SHA256 c109bb77785e33ab66992db8566584f4393d2f141fb12e32a58793953fcd6893 DIST speed-dreams-1.4.0-rc1-src.tar.bz2 335686321 RMD160 58654b2f102e7484c4356bfb9971d2b53a698227 SHA1 15a84c90c32954821b53e080cb39ef2771a6c90b SHA256 d9d37246d91107535f2e37e18613da1c4661de058746e7ee53fdd79e73bbfc22 +EBUILD speed-dreams-1.4.0.ebuild 1794 RMD160 efd6aa4bc862a562339e1d5ade5a6e0abcd7b58c SHA1 b3c605b795267501f104e0e7385130da564f7524 SHA256 fed6cbc95b65561e4b0cb3b8e011f608e03c9921c63a8ecbce967b15643a57c8 EBUILD speed-dreams-1.4.0_rc1.ebuild 1789 RMD160 2d93000e353485d3318019480b3e5c217a85b16e SHA1 d641ebc915804112693c18bd6c4745e4aceee845 SHA256 48628c1b72cdba8417cd25562c16bd1edb9707316c31b5ad5da045572ef2a6bb -MISC ChangeLog 939 RMD160 ced4adbf0c0a56c1702548b3eec6d53d07ac997c SHA1 a604ad1e8efe70e6ca48a3474367af9de0bf815b SHA256 4e1806217cdb02d01ce09c4170a3b7d2871ffa7909f0fef5a68e8517eef54f58 +MISC ChangeLog 1117 RMD160 1fc8ac430a4fb5ee54ac7b7c3dae466d098b00c3 SHA1 c6f3fd5c34be435593ba9b1a01125fc4e3d91b72 SHA256 614f4fd31f088db0542a7f229872d9e1ab5ca4fae828287243c93086c21b258a MISC metadata.xml 158 RMD160 cbd9984bb6b426c8c9cee5022fe0a26261612fea SHA1 be5251fa1dacef5c41b74761bb1c8c54fb633b9e SHA256 1423a4fdd4a79b1728a2056d9e300f7e1074253095d82726218d9e9b953888a3 diff --git a/games-sports/speed-dreams/files/speed-dreams-1.4.0-asneeded.patch b/games-sports/speed-dreams/files/speed-dreams-1.4.0-asneeded.patch new file mode 100644 index 000000000000..837a2511a191 --- /dev/null +++ b/games-sports/speed-dreams/files/speed-dreams-1.4.0-asneeded.patch @@ -0,0 +1,110 @@ +--- configure.in ++++ configure.in +@@ -123,8 +123,7 @@ + AC_CHECK_LIB(Xrandr, XRRQueryVersion,,AC_MSG_ERROR([Can't find libXrandr. Please check config.log and if you can't solve the problem send the file to speed-dreams-users@lists.sourceforge.net with the subject \"Speed Dreams compilation problem\"])) + AC_CHECK_LIB(openal, alEnable,, AC_MSG_ERROR([Can't find AL/al.h. OpenAL can be found on http://www.openal.org/])) + AC_CHECK_LIB(alut, alutLoadWAVFile, +- LDFLAGS="$LDFLAGS -lalut", +- LDFLAGS="$LDFLAGS") ++ LIBS="$LIBS -lalut", ) + + AC_CHECK_LIB(dl, dlopen) + AC_CHECK_FUNC(dlopen,,AC_MSG_ERROR([Can't find dlopen function. Please check config.log and if you can't solve the problem send the file to speed-dreams-users@lists.sourceforge.net with the subject \"Speed Dreams compilation problem\"])) +@@ -141,7 +140,7 @@ + AC_CHECK_LIB(glut, glutSwapBuffers,,AC_MSG_ERROR([Can't find libglut. freeglut can be found on http://freeglut.sourceforge.net/])) + + dnl Checks for plib libraries. +-LDFLAGS="$LDFLAGS -lplibjs" ++AC_CHECK_LIB(plibjs, main,,AC_MSG_ERROR([Can't find libplibjs. PLIB can be found on http://plib.sourceforge.net/])) + AC_CHECK_LIB(plibul, main,,AC_MSG_ERROR([Can't find libplibul. PLIB can be found on http://plib.sourceforge.net/])) + AC_CHECK_LIB(plibsg, main,,AC_MSG_ERROR([Can't find libplibsg. PLIB can be found on http://plib.sourceforge.net/])) + AC_CHECK_LIB(plibsl, main,,AC_MSG_ERROR([Can't find libplibsl. PLIB can be found on http://plib.sourceforge.net/])) +--- Make-default.mk ++++ Make-default.mk +@@ -402,7 +402,7 @@ + ifdef PROGRAM + + ${PROGRAM}: ${OBJECTS} $(subst -l,${EXPORTBASE}/lib/lib, ${LIBS:=.a}) +- ${CXX} ${OBJECTS} ${LDFLAGS} ${LIBS} ${SOLIBS} ${EXT_LIBS} -o $@ ++ ${CXX} ${CXXFLAGS} ${LDFLAGS} -o $@ ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS} + + installprogram: ${PROGRAM} + @ createdir="${INSTLIBBASE}" ; \ +@@ -420,14 +420,14 @@ + ifdef LOCALTOOLS + + ${LOCALTOOLS}: ${OBJECTS} $(subst -l,${EXPORTBASE}/lib/lib, ${LIBS:=.a}) +- ${CXX} ${OBJECTS} ${LDFLAGS} ${LIBS} ${EXT_LIBS} ${SOLIBS} -o $@ ++ ${CXX} ${CXXFLAGS} ${LDFLAGS} -o $@ ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS} + + endif + + ifdef TOOLS + + ${TOOLS}: ${OBJECTS} $(subst -l,${EXPORTBASE}/lib/lib, ${LIBS:=.a}) +- ${CXX} ${OBJECTS} ${LDFLAGS} ${LIBS} ${EXT_LIBS} ${SOLIBS} -o $@ ++ ${CXX} ${CXXFLAGS} ${LDFLAGS} -o $@ ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS} + + installtools: ${TOOLS} + @createdir="${INSTBINBASE}/${TOOLSDIR}" ; \ +@@ -478,7 +478,7 @@ + ifdef SOLIBRARY + + ${SOLIBRARY}: ${OBJECTS} +- ${CXX} -shared -o ${SOLIBRARY} ${OBJECTS} ${LDFLAGS} ${LIBSPATH} ${LIBS} ${DEBUG_LIBS} ++ ${CXX} ${CXXFLAGS} ${LDFLAGS} -shared -o ${SOLIBRARY} ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS} + @D=`pwd` ; \ + createdir="${EXPORTBASE}/lib" ; \ + $(mkinstalldirs) $$createdir ; \ +@@ -509,7 +509,7 @@ + ifdef MODULE + + ${MODULE}: ${OBJECTS} +- ${CXX} -shared -o ${MODULE} ${OBJECTS} ${LDFLAGS} ${LIBSPATH} ${LIBS} ++ ${CXX} ${CXXFLAGS} ${LDFLAGS} -shared -o ${MODULE} ${OBJECTS} ${SOLIBS} ${LIBS} ${EXT_LIBS} + @D=`pwd` ; \ + createdir="${EXPORTBASE}/${MODULEDIR}" ; \ + $(mkinstalldirs) $$createdir ; \ +--- src/libs/client/Makefile ++++ src/libs/client/Makefile +@@ -23,6 +23,8 @@ + SOURCES = entry.cpp mainmenu.cpp splash.cpp exitmenu.cpp \ + optionmenu.cpp + ++SOLIBS = -lconfscreens -lraceengine ++ + LIBS = -lplibssg -lplibsg -lplibul + + EXPDIR = include +--- src/libs/Makefile ++++ src/libs/Makefile +@@ -23,7 +23,7 @@ + + TOOLSUBDIRS = txml + +-SUBDIRS = confscreens racescreens robottools txml tgf tgfclient client raceengineclient learning \ ++SUBDIRS = confscreens racescreens robottools txml tgf tgfclient raceengineclient client learning \ + portability math + + PKGSUBDIRS = $(SUBDIRS) +--- src/libs/raceengineclient/Makefile ++++ src/libs/raceengineclient/Makefile +@@ -23,6 +23,8 @@ + SOURCES = singleplayer.cpp raceinit.cpp racemain.cpp racemanmenu.cpp racestate.cpp racegl.cpp \ + raceengine.cpp raceresults.cpp + ++SOLIBS = -lconfscreens -lrobottools -lracescreens ++ + EXPDIR = include + + EXPORTS = singleplayer.h raceinit.h +--- src/libs/tgf/Makefile ++++ src/libs/tgf/Makefile +@@ -29,6 +29,7 @@ + profiler.cpp \ + hash.cpp + ++SOLIBS = -ltxml + + EXPDIR = include + diff --git a/games-sports/speed-dreams/speed-dreams-1.4.0.ebuild b/games-sports/speed-dreams/speed-dreams-1.4.0.ebuild new file mode 100644 index 000000000000..22a2ed2a6d5f --- /dev/null +++ b/games-sports/speed-dreams/speed-dreams-1.4.0.ebuild @@ -0,0 +1,80 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/games-sports/speed-dreams/speed-dreams-1.4.0.ebuild,v 1.1 2010/07/08 15:28:32 mr_bones_ Exp $ + +EAPI=2 +inherit autotools eutils versionator games + +DESCRIPTION="A fork of the famous open racing car simulator TORCS" +HOMEPAGE="http://speed-dreams.sourceforge.net/" +SRC_URI="mirror://sourceforge/speed-dreams/${P}-r2307-src.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="virtual/opengl + virtual/glu + virtual/glut + >=media-libs/plib-1.8.3 + media-libs/openal + media-libs/freealut + x11-libs/libX11 + x11-libs/libXext + x11-libs/libICE + x11-libs/libSM + x11-libs/libXt + x11-libs/libXi + x11-libs/libXmu + x11-libs/libXxf86vm + x11-libs/libXrender + x11-libs/libXrandr + sys-libs/zlib + >=media-libs/libpng-1.2.40" +DEPEND="${RDEPEND} + x11-proto/xproto + x11-proto/randrproto" + +S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)-src + +# http://sourceforge.net/apps/trac/speed-dreams/ticket/111 +MAKEOPTS="${MAKEOPTS} -j1" + +src_prepare() { + epatch "${FILESDIR}"/${P}-asneeded.patch + + sed -i \ + -e '/ADDCFLAGS/s: -O2::' \ + configure.in || die + sed -i \ + -e '/COPYING/s:=.*:= \\:' \ + Makefile || die + sed -i \ + -e "/^datadir/s:=.*:= ${GAMES_DATADIR}/${PN}:" \ + Make-config.in || die + + eautoreconf +} + +src_configure() { + addpredict $(echo /dev/snd/controlC? | sed 's/ /:/g') + [[ -e /dev/dsp ]] && addpredict /dev/dsp + egamesconf \ + --prefix=/usr \ + --bindir="${GAMES_BINDIR}" \ + --disable-dependency-tracking +} + +src_install() { + emake DESTDIR="${D}" install datainstall || die + + find "${D}" -name Makefile -exec rm -f {} + + + dodoc CHANGES README TODO + + newicon icon.svg ${PN}.svg + make_desktop_entry ${PN} "Speed Dreams" + + prepgamesdirs +} |