Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 215864 Details for
Bug 300330
games-simulation/openttd-0.7.5: add optional OpenGFX support
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch for openttd-0.7.5.ebuild
openttd-0.7.5-opengfx.patch (text/plain), 2.18 KB, created by
Ai Locke Shinseiko (Wizzleby)
on 2010-01-09 20:46:12 UTC
(
hide
)
Description:
patch for openttd-0.7.5.ebuild
Filename:
MIME Type:
Creator:
Ai Locke Shinseiko (Wizzleby)
Created:
2010-01-09 20:46:12 UTC
Size:
2.18 KB
patch
obsolete
>--- /usr/portage/games-simulation/openttd/openttd-0.7.5.ebuild 2009-12-28 17:49:58.000000000 -0500 >+++ ./openttd-0.7.5.ebuild 2010-01-09 15:36:29.808223699 -0500 >@@ -12,7 +12,7 @@ > LICENSE="GPL-2" > SLOT="0" > KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" >-IUSE="alsa debug dedicated iconv icu +png +truetype zlib" >+IUSE="alsa debug dedicated iconv icu opengfx +png +truetype zlib" > RESTRICT="test" > > DEPEND=" >@@ -32,7 +32,8 @@ > !dedicated? ( > alsa? ( media-sound/alsa-utils ) > )" >- >+PDEPEND=" >+ opengfx? ( games-misc/opengfx ) " > src_configure() { > local myopts > >@@ -91,18 +92,32 @@ > pkg_postinst() { > games_pkg_postinst > >- elog >- elog "In order to play, you must copy the following 6 files from " >- elog "a version of TTD to ${GAMES_DATADIR}/${PN}/data/." >- elog >- elog "From the WINDOWS version you need: " >- elog " sample.cat trg1r.grf trgcr.grf trghr.grf trgir.grf trgtr.grf" >- elog "OR from the DOS version you need: " >- elog " SAMPLE.CAT TRG1.GRF TRGC.GRF TRGH.GRF TRGI.GRF TRGT.GRF" >- elog >- elog "File names are case sensitive so make sure they are " >- elog "correct for whichever version you have." >- elog >+ if use opengfx ; then >+ elog >+ elog "OpenTTD was compiled with opengfx USE flag," >+ elog "you do not need graphics files from the original TTD, but:" >+ elog "In order to play, you must copy the following file from " >+ elog "a version of TTD to ${GAMES_DATADIR}/${PN}/data/" >+ elog "or ~/.openttd/data" >+ elog "From the WINDOWS version you need: " >+ elog " sample.cat" >+ elog "OR from the DOS version you need: " >+ elog " SAMPLE.CAT" >+ else >+ elog >+ elog "OpenTTD was compiled without opengfx USE flag." >+ elog "In order to play, you must copy the following 6 files from " >+ elog "a version of TTD to ${GAMES_DATADIR}/${PN}/data/." >+ elog >+ elog "From the WINDOWS version you need: " >+ elog " sample.cat trg1r.grf trgcr.grf trghr.grf trgir.grf trgtr.grf" >+ elog "OR from the DOS version you need: " >+ elog " SAMPLE.CAT TRG1.GRF TRGC.GRF TRGH.GRF TRGI.GRF TRGT.GRF" >+ elog >+ elog "File names are case sensitive so make sure they are " >+ elog "correct for whichever version you have." >+ elog >+ fi > > if use dedicated ; then > ewarn "Warning: The init script will kill all running openttd"
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 300330
: 215864