0
0
Fork 0
haikuports/games-engines/scummvm-tools/scummvm_tools-2.2.0.recipe

99 lines
3.2 KiB
Bash
Raw Permalink Normal View History

2017-12-09 12:03:52 +00:00
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="https://www.scummvm.org/"
COPYRIGHT="2001-2013 ScummVM Team"
LICENSE="GNU GPL v2"
2020-06-10 22:49:20 +00:00
REVISION="1"
2017-12-09 12:03:52 +00:00
SOURCE_URI="http://www.scummvm.org/frs/scummvm-tools/$portVersion/scummvm-tools-$portVersion.tar.xz"
2020-09-15 15:09:20 +00:00
CHECKSUM_SHA256="1e72aa8f21009c1f7447c755e7f4cf499fe9b8ba3d53db681ea9295666cb48a4"
2017-12-09 12:03:52 +00:00
SOURCE_DIR="scummvm-tools-$portVersion"
ARCHITECTURES="all !x86_gcc2"
2017-12-09 12:03:52 +00:00
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
2018-08-06 15:09:40 +00:00
scummvm_tools$secondaryArchSuffix = $portVersion
2017-12-09 12:03:52 +00:00
cmd:construct_mohawk = $portVersion
cmd:create_sjisfnt = $portVersion
cmd:decine = $portVersion
cmd:degob = $portVersion
cmd:dekyra = $portVersion
2020-06-10 22:49:20 +00:00
cmd:deprince = $portVersion
2017-12-09 12:03:52 +00:00
cmd:deriven = $portVersion
cmd:descumm = $portVersion
cmd:desword2 = $portVersion
cmd:extract_mohawk = $portVersion
cmd:gob_loadcalc = $portVersion
2020-09-15 15:09:20 +00:00
# cmd:scummvm_tools = $portVersion # not working yet for Qt
2017-12-09 12:03:52 +00:00
cmd:scummvm_tools_cli = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
2018-08-09 08:27:19 +00:00
lib:libbz2$secondaryArchSuffix
2017-12-09 12:03:52 +00:00
lib:libflac$secondaryArchSuffix
2018-08-09 08:27:19 +00:00
lib:libfreetype$secondaryArchSuffix
lib:libiconv$secondaryArchSuffix
2020-09-15 15:09:20 +00:00
# lib:libjpeg$secondaryArchSuffix
# lib:liblzma$secondaryArchSuffix
2017-12-09 12:03:52 +00:00
lib:libmad$secondaryArchSuffix
2018-08-09 08:27:19 +00:00
lib:libogg$secondaryArchSuffix
2017-12-09 12:03:52 +00:00
lib:libpng16$secondaryArchSuffix
2020-09-15 15:09:20 +00:00
# lib:libQt5$secondaryArchSuffix # not working yet for Qt
# lib:libQt5Core$secondaryArchSuffix # not working yet for Qt
# lib:libQt5Gui$secondaryArchSuffix # not working yet for Qt
# lib:libQt5Widgets$secondaryArchSuffix # not working yet for Qt
# lib:libtiff$secondaryArchSuffix
2018-08-09 08:27:19 +00:00
lib:libvorbis$secondaryArchSuffix
2020-09-15 15:09:20 +00:00
# lib:libwx_baseu_3.1$secondaryArchSuffix
# lib:libwx_baseu_net_3.1$secondaryArchSuffix
# lib:libwx_baseu_xml_3.1$secondaryArchSuffix
# lib:libwx_qtu_core_3.1$secondaryArchSuffix
# lib:libwx_qtu_html_3.1$secondaryArchSuffix
# lib:libwx_qtu_qa_3.1$secondaryArchSuffix
# lib:libwx_qtu_xrc_3.1$secondaryArchSuffix
2017-12-09 12:03:52 +00:00
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
2018-08-09 08:27:19 +00:00
devel:libbz2$secondaryArchSuffix
2017-12-09 12:03:52 +00:00
devel:libflac$secondaryArchSuffix
2018-08-09 08:27:19 +00:00
devel:libfreetype$secondaryArchSuffix
devel:libiconv$secondaryArchSuffix
2020-09-15 15:09:20 +00:00
# devel:liblzma$secondaryArchSuffix
2017-12-09 12:03:52 +00:00
devel:libmad$secondaryArchSuffix
2018-08-09 08:27:19 +00:00
devel:libogg$secondaryArchSuffix
2017-12-09 12:03:52 +00:00
devel:libpng$secondaryArchSuffix
2020-09-15 15:09:20 +00:00
# devel:libQt5$secondaryArchSuffix # not working yet for Qt
# devel:libQt5Core$secondaryArchSuffix # not working yet for Qt
# devel:libQt5Gui$secondaryArchSuffix # not working yet for Qt
# devel:libQt5Widgets$secondaryArchSuffix # not working yet for Qt
2018-08-09 08:27:19 +00:00
devel:libvorbis$secondaryArchSuffix
2017-12-09 12:03:52 +00:00
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:gcc$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
2018-08-09 08:27:19 +00:00
cmd:make
2020-09-15 15:09:20 +00:00
cmd:pkg_config$secondaryArchSuffix
# cmd:wx_config$secondaryArchSuffix # not working yet for Qt
2017-12-09 12:03:52 +00:00
"
BUILD()
{
libtoolize -fci
./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
}