Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 337064 Details for
Bug 415913
games-sports/speed-dreams new version 2.0 available - please update
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
speed-dreams-1.4-2.0.ebuild.diff
speed-dreams-1.4-2.0.ebuild.diff (text/plain), 4.38 KB, created by
Patrick McMunn
on 2013-01-28 02:09:16 UTC
(
hide
)
Description:
speed-dreams-1.4-2.0.ebuild.diff
Filename:
MIME Type:
Creator:
Patrick McMunn
Created:
2013-01-28 02:09:16 UTC
Size:
4.38 KB
patch
obsolete
>--- /usr/portage/games-sports/speed-dreams/speed-dreams-1.4.0.ebuild 2012-07-22 00:23:54.388160084 -0500 >+++ /var/lib/layman/local/games-sports/speed-dreams/speed-dreams-2.0.0.ebuild 2013-01-23 20:49:19.961946365 -0600 >@@ -1,31 +1,41 @@ > # Copyright 1999-2012 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.8 2012/03/16 20:04:54 tupone Exp $ >+# $Header: $ > >-EAPI=2 >-inherit autotools eutils versionator games >+EAPI=5 >+ >+inherit versionator games cmake-utils >+ >+REV="4687" > > 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" >+SRC_URI="mirror://sourceforge/${PN}/${PV}/${PN}-src-base-${PV}-r${REV}.tar.xz >+ mirror://sourceforge/${PN}/${PV}/${PN}-src-partial-build-patch-${PV}-r${REV}.tar.xz >+ hq? ( mirror://sourceforge/${PN}/${PV}/${PN}-src-hq-cars-and-tracks-${PV}-r${REV}.tar.xz ) >+ more-hq? ( mirror://sourceforge/${PN}/${PV}/${PN}-src-more-hq-cars-and-tracks-${PV}-r${REV}.tar.xz ) >+ unmaintained? ( mirror://sourceforge/${PN}/${PV}/${PN}-src-unmaintained-${PV}-r${REV}.tar.xz ) >+ wip? ( mirror://sourceforge/${PN}/${PV}/${PN}-src-wip-cars-and-tracks-${PV}-r${REV}.tar.xz )" > > LICENSE="GPL-2" >-SLOT="0" >-KEYWORDS="amd64 x86" >-IUSE="xrandr" >+SLOT="2" >+KEYWORDS="~amd64 ~x86" >+IUSE="hq more-hq profiling schedule_spy +trace +unload_ssggraph unmaintained wip +xrandr" > >-RDEPEND="virtual/opengl >- virtual/glu >- media-libs/freeglut >+RDEPEND="media-libs/freeglut >+ >=media-libs/libpng-1.2.40 > media-libs/openal > media-libs/freealut > x11-libs/libX11 > x11-libs/libXxf86vm >- xrandr? ( x11-libs/libXrandr ) > sys-libs/zlib >- >=media-libs/libpng-1.2.40" >+ virtual/glu >+ virtual/opengl" > DEPEND="${RDEPEND} >+ media-libs/libsdl > >=media-libs/plib-1.8.3 >+ net-libs/enet >+ virtual/jpeg > x11-proto/xproto > x11-libs/libXext > x11-libs/libICE >@@ -36,48 +46,47 @@ > x11-libs/libXrender > xrandr? ( x11-proto/randrproto )" > >-S=${WORKDIR}/${PN}-$(get_version_component_range 1-3)-src >+S=${WORKDIR} > >-src_prepare() { >- # http://sourceforge.net/apps/trac/speed-dreams/ticket/111 >- MAKEOPTS="${MAKEOPTS} -j1" >- >- epatch \ >- "${FILESDIR}"/${P}-asneeded.patch \ >- "${FILESDIR}"/${P}-automake.patch \ >- "${FILESDIR}"/${P}-libpng15.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_unpack() { >+ unpack ${PN}-src-base-${PV}-r${REV}.tar.xz >+ use hq && unpack ${PN}-src-hq-cars-and-tracks-${PV}-r${REV}.tar.xz >+ use more-hq && unpack ${PN}-src-more-hq-cars-and-tracks-${PV}-r${REV}.tar.xz >+ use unmaintained && unpack ${PN}-src-unmaintained-${PV}-r${REV}.tar.xz >+ use wip && unpack ${PN}-src-wip-cars-and-tracks-${PV}-r${REV}.tar.xz >+ if ( use !hq || use !more-hq || use !unmaintained || use !wip ) ; then >+ unpack ${PN}-src-partial-build-patch-${PV}-r${REV}.tar.xz >+ fi > } > > src_configure() { >- addpredict $(echo /dev/snd/controlC? | sed 's/ /:/g') >- [[ -e /dev/dsp ]] && addpredict /dev/dsp >- egamesconf \ >- --prefix=/usr \ >- --bindir="${GAMES_BINDIR}" \ >- $(use_enable xrandr) >+ >+ local mycmakeargs=( >+ $(cmake-utils_use profiling OPTION_PROFILER) >+ $(cmake-utils_use schedule_spy OPTION_SCHEDULE_SPY) >+ $(cmake-utils_use trace OPTION_TRACE) >+ $(cmake-utils_use unload_ssggraph OPTION_UNLOAD_SSGGRAPH) >+ $(cmake-utils_use xrandr OPTION_XRANDR) >+ -DOPTION_OFFICIAL_ONLY=ON >+ -DSD_BINDIR:PATH=games/bin >+ -DSD_DATADIR:PATH=share/games/speed-dreams-2 >+ -DSD_INCLUDEDIR:PATH=include/speed-dreams-2 >+ -DSD_LIBDIR:PATH=$(games_get_libdir)/speed-dreams-2 >+ ) >+ >+ cmake-utils_src_configure > } > > src_install() { >- emake DESTDIR="${D}" install datainstall || die >- >- find "${D}" -name Makefile -exec rm -f {} + >+ cmake-utils_src_install > >- dodoc CHANGES README TODO >+ # NOTE: We don't usually install INSTALL.txt, but I'm including it here because it >+ # explains the unload_ssggraph option as a workaround for bugs in some setups. >+ dodoc CHANGES.txt INSTALL.txt README.txt TODO.txt >+ dohtml -r doc/faq doc/userman > >- newicon icon.svg ${PN}.svg >- make_desktop_entry ${PN} "Speed Dreams" >+ newicon data/data/icons/icon.png ${PN}-2.svg >+ make_desktop_entry "speed-dreams-2" "Speed Dreams" "${PN}-2" > > prepgamesdirs > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 415913
:
336686
|
336688
| 337064 |
429556