From 2ac5272201116654037f818816c94bcec871f624 Mon Sep 17 00:00:00 2001 From: Adrien Destugues Date: Sun, 12 Jan 2014 20:20:18 +0100 Subject: [PATCH] OpenTTD: add recipes for the base data sets. It's now possible to play the game without original Transport Tycoon Deluxe datafiles. --- games-simulation/openttd/openttd-1.3.3.recipe | 4 +- .../openttd_gfx/openttd_gfx-0.4.7.recipe | 44 +++++++++++++++++++ .../openttd_msx/openttd_msx-0.3.1.recipe | 44 +++++++++++++++++++ .../openttd_sfx/openttd_sfx-0.2.3.recipe | 44 +++++++++++++++++++ 4 files changed, 134 insertions(+), 2 deletions(-) create mode 100644 games-simulation/openttd_gfx/openttd_gfx-0.4.7.recipe create mode 100644 games-simulation/openttd_msx/openttd_msx-0.3.1.recipe create mode 100644 games-simulation/openttd_sfx/openttd_sfx-0.2.3.recipe diff --git a/games-simulation/openttd/openttd-1.3.3.recipe b/games-simulation/openttd/openttd-1.3.3.recipe index a8ca3d275..81ce799cf 100644 --- a/games-simulation/openttd/openttd-1.3.3.recipe +++ b/games-simulation/openttd/openttd-1.3.3.recipe @@ -28,7 +28,7 @@ REQUIRES=" lib:liblzo2$secondaryArchSuffix openttd_gfx - openttd_snd + openttd_sfx openttd_msx " @@ -55,7 +55,7 @@ BUILD() ./configure --prefix=$prefix --binary-dir=$relativeAppsDir \ --data-dir=$relativeDataDir/openttd --doc-dir=$relativeDocDir/openttd \ --man-dir=$relativeManDir --icon-dir=trash --menu-dir=trash - make + make $jobArgs } INSTALL() diff --git a/games-simulation/openttd_gfx/openttd_gfx-0.4.7.recipe b/games-simulation/openttd_gfx/openttd_gfx-0.4.7.recipe new file mode 100644 index 000000000..3ae056d67 --- /dev/null +++ b/games-simulation/openttd_gfx/openttd_gfx-0.4.7.recipe @@ -0,0 +1,44 @@ +SUMMARY="OpenTTD - free graphics files" +DESCRIPTION=" +OpenTTD is an open source simulation game based upon the popular Microprose +game \"Transport Tycoon Deluxe\", written by Chris Sawyer. It attempts to mimic +the original game as closely as possible while extending it with new features. + +This package provides free to use graphics file. You can use them if you don't +have the files from the original Transport Tycoon Deluxe game. +" +HOMEPAGE="http://www.openttd.org" +SRC_URI="http://binaries.openttd.org/extra/opengfx/$portVersion/opengfx-$portVersion-all.zip" +CHECKSUM_MD5="7709afafb1e6429ee517a5c93a03316c" +REVISION="1" +ARCHITECTURES="x86_gcc2 x86" + +SOURCE_DIR="opengfx-$portVersion" +PROVIDES=" + openttd_gfx = $portVersion + " + +#REQUIRES=" +# " + +#BUILD_REQUIRES=" +# " + +#BUILD_PREREQUIRES=" +# " + +BUILD() +{ + echo "Nothing to build!" +} + +INSTALL() +{ + mkdir -p $dataDir/openttd/baseset/opengfx + cp * $dataDir/openttd/baseset/opengfx +} + +# no TEST script available + +COPYRIGHT="2005-2013 OpenTTD Team" +LICENSE="GNU GPL v2" diff --git a/games-simulation/openttd_msx/openttd_msx-0.3.1.recipe b/games-simulation/openttd_msx/openttd_msx-0.3.1.recipe new file mode 100644 index 000000000..3b185eb09 --- /dev/null +++ b/games-simulation/openttd_msx/openttd_msx-0.3.1.recipe @@ -0,0 +1,44 @@ +SUMMARY="OpenTTD - free music files" +DESCRIPTION=" +OpenTTD is an open source simulation game based upon the popular Microprose +game \"Transport Tycoon Deluxe\", written by Chris Sawyer. It attempts to mimic +the original game as closely as possible while extending it with new features. + +This package provides free to use music files. You can use them if you don't +have the files from the original Transport Tycoon Deluxe game. +" +HOMEPAGE="http://www.openttd.org" +SRC_URI="http://binaries.openttd.org/extra/openmsx/$portVersion/openmsx-$portVersion-all.zip" +CHECKSUM_MD5="858b79d44aea6de5e15d9d1439e86cc3" +REVISION="1" +ARCHITECTURES="x86_gcc2 x86" + +SOURCE_DIR="openmsx-$portVersion" +PROVIDES=" + openttd_msx = $portVersion + " + +#REQUIRES=" +# " + +#BUILD_REQUIRES=" +# " + +#BUILD_PREREQUIRES=" +# " + +BUILD() +{ + echo "Nothing to build!" +} + +INSTALL() +{ + mkdir -p $dataDir/openttd/baseset/openmsx + cp * $dataDir/openttd/baseset/openmsx +} + +# no TEST script available + +COPYRIGHT="2005-2013 OpenTTD Team" +LICENSE="GNU GPL v2" diff --git a/games-simulation/openttd_sfx/openttd_sfx-0.2.3.recipe b/games-simulation/openttd_sfx/openttd_sfx-0.2.3.recipe new file mode 100644 index 000000000..3e1b50e53 --- /dev/null +++ b/games-simulation/openttd_sfx/openttd_sfx-0.2.3.recipe @@ -0,0 +1,44 @@ +SUMMARY="OpenTTD - free sound files" +DESCRIPTION=" +OpenTTD is an open source simulation game based upon the popular Microprose +game \"Transport Tycoon Deluxe\", written by Chris Sawyer. It attempts to mimic +the original game as closely as possible while extending it with new features. + +This package provides free to use sound files. You can use them if you don't +have the files from the original Transport Tycoon Deluxe game. +" +HOMEPAGE="http://www.openttd.org" +SRC_URI="http://binaries.openttd.org/extra/opensfx/$portVersion/opensfx-$portVersion-all.zip" +CHECKSUM_MD5="3605b82f24153500c8a1804e4420168a" +REVISION="1" +ARCHITECTURES="x86_gcc2 x86" + +SOURCE_DIR="opensfx-$portVersion" +PROVIDES=" + openttd_sfx = $portVersion + " + +#REQUIRES=" +# " + +#BUILD_REQUIRES=" +# " + +#BUILD_PREREQUIRES=" +# " + +BUILD() +{ + echo "Nothing to build!" +} + +INSTALL() +{ + mkdir -p $dataDir/openttd/baseset/opensfx + cp * $dataDir/openttd/baseset/opensfx +} + +# no TEST script available + +COPYRIGHT="2005-2013 OpenTTD Team" +LICENSE="GNU GPL v2"