Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 64056

Summary: openttd-0.3.4.ebuild (Update)
Product: Gentoo Linux Reporter: Max Lindner <ml>
Component: New packagesAssignee: Gentoo Games <games>
Status: RESOLVED FIXED    
Severity: enhancement CC: che
Priority: High    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://www.openttd.org
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: openttd-0.3.4.ebuild
openttd-0.3.4.ebuild
openttd-0.3.4.ebuild

Description Max Lindner 2004-09-14 14:28:29 UTC
Hi!

There is a new Version of openttd

games-simulation/openttd

-- 
Max
Comment 1 Max Lindner 2004-09-14 14:29:38 UTC
Created attachment 39611 [details]
openttd-0.3.4.ebuild
Comment 2 Max Lindner 2004-09-14 14:31:09 UTC
forgot to mention: openttd is a Opensource clone of the famous Transport Tycoon Deluxe by Chris Sawyer
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2004-09-14 16:46:48 UTC
Created attachment 39620 [details]
openttd-0.3.4.ebuild

Looks like the wrapper might not be needed anymore.  Give this ebuild a try
please.
Comment 4 Hinrik Örn Sigurðsson 2004-09-15 08:45:05 UTC
Created attachment 39648 [details]
openttd-0.3.4.ebuild

Give this a try. It includes the stuff from bug #57440, except the midiplayer
patch(it's been merged upstream afaik), and the following:

* Removed -useful from SRC_URI(titlescreen is bundled now)

* Install docs/console.txt

* Removed unzip from dependancies because we don't need the -useful package
anymore.

* Added warning about soundfonts for timidity.

* Removed the ~/.openttd/ magic because it is created by the executable at
runtime now, but we still need the wrapper to append `-m extmidi` to the
command-line.

* They changed the binary name from "ttd" to "openttd", so we must install it
under the old name, because the wrapper uses the well-known "openttd" name.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2004-09-15 23:30:46 UTC
I don't like the wrapper script.  If we don't need to create the stuff in $HOME there's no reason for it.  I also don't like the unconditional rdep on timidity++. 
Comment 6 Hinrik Örn Sigurðsson 2004-09-16 01:36:58 UTC
As I said before, I removed the $HOME stuff from the wrapper because it isn't needed anymore(0.3.4 creates ~/.openttd/ on demand now, UNLIKE older versions). The only thing the wrapper does now is append the `-m extmidi` option by default. If you don't want that, then you can remove src_unpack altogether along with the timidity dependency/soundfount notice...
Comment 7 Mr. Bones. (RETIRED) gentoo-dev 2004-09-18 22:18:09 UTC
openttd-0.3.4.ebuild added to portage.  There's a local timidity use flag for midi support.
Comment 8 Hinrik Örn Sigurðsson 2004-09-19 20:57:24 UTC
Mr. Bones: You forgot to put "timidity" in IUSE. :)