OpenTTD: add recipes for the base data sets.

It's now possible to play the game without original Transport Tycoon
Deluxe datafiles.
This commit is contained in:
Adrien Destugues
2014-01-12 20:20:18 +01:00
parent 9a9f45b24e
commit 2ac5272201
4 changed files with 134 additions and 2 deletions

View File

@@ -28,7 +28,7 @@ REQUIRES="
lib:liblzo2$secondaryArchSuffix lib:liblzo2$secondaryArchSuffix
openttd_gfx openttd_gfx
openttd_snd openttd_sfx
openttd_msx openttd_msx
" "
@@ -55,7 +55,7 @@ BUILD()
./configure --prefix=$prefix --binary-dir=$relativeAppsDir \ ./configure --prefix=$prefix --binary-dir=$relativeAppsDir \
--data-dir=$relativeDataDir/openttd --doc-dir=$relativeDocDir/openttd \ --data-dir=$relativeDataDir/openttd --doc-dir=$relativeDocDir/openttd \
--man-dir=$relativeManDir --icon-dir=trash --menu-dir=trash --man-dir=$relativeManDir --icon-dir=trash --menu-dir=trash
make make $jobArgs
} }
INSTALL() INSTALL()

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"