Merged in Begasus/haikuports_games/scummvm-tools (pull request #222)

scummvm-tools, a collection of tools for scummvm
This commit is contained in:
Kacper Kasper
2014-09-03 19:00:25 +02:00
2 changed files with 88 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
--- scummvm-tools-1.7.0/common/scummsys.h.org 2014-08-27 18:57:23.353894400 +0200
+++ scummvm-tools-1.7.0/common/scummsys.h 2014-08-27 18:56:44.318767104 +0200
@@ -85,7 +85,7 @@
#endif
- #if defined(__QNXNTO__)
+ #if defined(__QNXNTO__) || defined (__HAIKU__)
#include <strings.h> /* For strcasecmp */
#endif

View File

@@ -0,0 +1,77 @@
SUMMARY="Tools for ScummVM"
DESCRIPTION="This is a collection of various tools that may be useful to use \
in conjunction with ScummVM. Please note that although a tool may support a \
feature, certain ScummVM versions may not. ScummVM 0.6.x does not support \
FLAC audio, for example."
HOMEPAGE="http://scummvm.org"
SRC_URI="http://sourceforge.net/projects/scummvm/files/scummvm-tools/1.7.0/scummvm-tools-1.7.0.tar.gz"
SOURCE_DIR="scummvm-tools-1.7.0"
CHECKSUM_SHA256="6437cc87d5a0c81fe971c96059670e662e72141b53ee61923d374b5660997cbc"
REVISION="1"
LICENSE="GNU GPL v2"
COPYRIGHT="2001-2013 ScummVM Team"
PATCHES="scummvm_tools-1.7.0.patch"
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
PROVIDES="
cmd:construct_mohawk = $portVersion
cmd:decine = $portVersion
cmd:degob = $portVersion
cmd:dekyra = $portVersion
cmd:deriven = $portVersion
cmd:descumm = $portVersion
cmd:desword2 = $portVersion
cmd:extract_mohawk = $portVersion
cmd:gob_loadcalc = $portVersion
cmd:scummvm_tools_cli = $portVersion
cmd:create_sjisfnt = $portVersion
"
REQUIRES="
haiku >= $haikuVersion
lib:libvorbis
lib:libogg
lib:libflac
lib:libmad
lib:libpng
lib:libz
lib:libfreetype
lib:libiconv
lib:libbz2
"
BUILD_REQUIRES="
haiku_devel >= $haikuVersion
devel:libvorbis
devel:libogg
devel:libflac
devel:libmad
devel:libpng
devel:libz
devel:libfreetype
devel:libiconv
devel:libbz2
"
BUILD_PREREQUIRES="
cmd:make
cmd:gcc
cmd:ld
cmd:pkg_config
cmd:libtoolize
"
BUILD()
{
./configure --prefix=$prefix --datadir=$dataDir
make $jobArgs
}
INSTALL()
{
make install
#data files are not needed as long as we don't have a graphical interface for the tools
rm -r $dataDir/scummvm-tools
}