mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
simutrans: several updates and bugfixes (incl. for paksets and makeobj) (#3537)
simutrans: fix compiling under Haiku, update to 120.3 (sdl) / 120.4.1 (sdl2) pak64: update to 120.3 / 120.4.1 pak128: update to 2.8.1 makeobj: update to 60.1 (sdl) / 60.2 (sdl2)
This commit is contained in:
61
games-util/makeobj/makeobj-60.1.recipe
Normal file
61
games-util/makeobj/makeobj-60.1.recipe
Normal file
@@ -0,0 +1,61 @@
|
||||
SUMMARY="Tool for creating Simutrans paksets"
|
||||
DESCRIPTION="Makeobj is a tool for graphics/pakset developers \
|
||||
and is not needed for playing the game.
|
||||
Makeobj joins both the image and the data files in a single \
|
||||
compressed pak-file that will then be read by the game engine."
|
||||
HOMEPAGE="http://www.simutrans.com"
|
||||
COPYRIGHT="1997-2004 Hj. Malthaner
|
||||
2005-2018 The Simutrans Team"
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
GitRevision="a7b09e3b7af67d14a1602fa4ca809e94172d0db3"
|
||||
SOURCE_URI="https://github.com/aburch/simutrans/archive/$GitRevision.tar.gz"
|
||||
CHECKSUM_SHA256="4e1f418fe6efbd85af34176b5c75158943d2248c06366e566a2c91a94e4ace79"
|
||||
SOURCE_FILENAME="makeobj-$portVersion.tar.gz"
|
||||
SOURCE_DIR="simutrans-$GitRevision"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
makeobj$secondaryArchSuffix = $portVersion
|
||||
cmd:makeobj$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libbz2$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libSDL_1.2$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoreconf
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:sdl_config$secondaryArchSuffix >= 1.2
|
||||
cmd:strip$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf configure.ac
|
||||
runConfigure ./configure
|
||||
make makeobj $jobArgs
|
||||
strip makeobj/makeobj
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $binDir
|
||||
cp -r makeobj/makeobj $binDir/
|
||||
}
|
||||
61
games-util/makeobj/makeobj-60.2.recipe
Normal file
61
games-util/makeobj/makeobj-60.2.recipe
Normal file
@@ -0,0 +1,61 @@
|
||||
SUMMARY="Tool for creating Simutrans paksets"
|
||||
DESCRIPTION="Makeobj is a tool for graphics/pakset developers \
|
||||
and is not needed for playing the game.
|
||||
Makeobj joins both the image and the data files in a single \
|
||||
compressed pak-file that will then be read by the game engine."
|
||||
HOMEPAGE="http://www.simutrans.com"
|
||||
COPYRIGHT="1997-2004 Hj. Malthaner
|
||||
2005-2018 The Simutrans Team"
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
GitRevision="27760d73138e1e059611577ccbc75fc9ab82f8d8"
|
||||
SOURCE_URI="https://github.com/aburch/simutrans/archive/$GitRevision.tar.gz"
|
||||
CHECKSUM_SHA256="084e5eec094f6d96212a8dd616d026caf5916febc58202af1c1f2802cedf8b5d"
|
||||
SOURCE_FILENAME="makeobj-$portVersion.tar.gz"
|
||||
SOURCE_DIR="simutrans-$GitRevision"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
makeobj$secondaryArchSuffix = $portVersion
|
||||
cmd:makeobj$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libbz2$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libSDL2_2.0$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoreconf
|
||||
cmd:g++$secondaryArchSuffix
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:sdl2_config$secondaryArchSuffix >= 2.0
|
||||
cmd:strip$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
autoreconf configure.ac
|
||||
runConfigure ./configure
|
||||
make makeobj $jobArgs
|
||||
strip makeobj/makeobj
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $binDir
|
||||
cp -r makeobj/makeobj $binDir/
|
||||
}
|
||||
@@ -5,7 +5,7 @@ Makeobj joins both the image and the data files in a single \
|
||||
compressed pak-file that will then be read by the game engine."
|
||||
HOMEPAGE="http://www.simutrans.com"
|
||||
COPYRIGHT="1997-2004 Hj. Malthaner
|
||||
2005-2017 The Simutrans Team"
|
||||
2005-2018 The Simutrans Team"
|
||||
LICENSE="Artistic"
|
||||
REVISION="1"
|
||||
SOURCE_URI="svn://servers.simutrans.org/simutrans/trunk"
|
||||
@@ -17,20 +17,20 @@ SECONDARY_ARCHITECTURES="?x86"
|
||||
|
||||
PROVIDES="
|
||||
makeobj$secondaryArchSuffix = $portVersion
|
||||
cmd:makeobj$secondaryArchSuffix = 60.0
|
||||
cmd:makeobj$secondaryArchSuffix = 60.2
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libbz2$secondaryArchSuffix
|
||||
lib:libpng$secondaryArchSuffix
|
||||
lib:libpng16$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libbz2$secondaryArchSuffix
|
||||
devel:libpng$secondaryArchSuffix
|
||||
devel:libsdl$secondaryArchSuffix
|
||||
devel:libpng16$secondaryArchSuffix
|
||||
devel:libSDL2_2.0$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
@@ -41,7 +41,7 @@ BUILD_PREREQUIRES="
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
cmd:sdl_config$secondaryArchSuffix
|
||||
cmd:sdl2_config$secondaryArchSuffix
|
||||
cmd:strip$secondaryArchSuffix
|
||||
cmd:svn
|
||||
"
|
||||
Reference in New Issue
Block a user