From 9a5744333d5247efd4562fdcbf23354ac6846976 Mon Sep 17 00:00:00 2001 From: begasus Date: Wed, 3 Sep 2014 17:05:06 +0200 Subject: [PATCH] scummvm-tools, a collection of tools for scummvm, removed the data files as they are not needed atm --- .../patches/scummvm_tools-1.7.0.patch | 11 +++ .../scummvm-tools/scummvm_tools-1.7.0.recipe | 77 +++++++++++++++++++ 2 files changed, 88 insertions(+) create mode 100644 games-engines/scummvm-tools/patches/scummvm_tools-1.7.0.patch create mode 100644 games-engines/scummvm-tools/scummvm_tools-1.7.0.recipe diff --git a/games-engines/scummvm-tools/patches/scummvm_tools-1.7.0.patch b/games-engines/scummvm-tools/patches/scummvm_tools-1.7.0.patch new file mode 100644 index 000000000..eb48ce9b1 --- /dev/null +++ b/games-engines/scummvm-tools/patches/scummvm_tools-1.7.0.patch @@ -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 /* For strcasecmp */ + #endif + diff --git a/games-engines/scummvm-tools/scummvm_tools-1.7.0.recipe b/games-engines/scummvm-tools/scummvm_tools-1.7.0.recipe new file mode 100644 index 000000000..612a8425a --- /dev/null +++ b/games-engines/scummvm-tools/scummvm_tools-1.7.0.recipe @@ -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 +}