99 lines
3.2 KiB
Bash
99 lines
3.2 KiB
Bash
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"
|
|
REVISION="1"
|
|
SOURCE_URI="http://www.scummvm.org/frs/scummvm-tools/$portVersion/scummvm-tools-$portVersion.tar.xz"
|
|
CHECKSUM_SHA256="1e72aa8f21009c1f7447c755e7f4cf499fe9b8ba3d53db681ea9295666cb48a4"
|
|
SOURCE_DIR="scummvm-tools-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
scummvm_tools$secondaryArchSuffix = $portVersion
|
|
cmd:construct_mohawk = $portVersion
|
|
cmd:create_sjisfnt = $portVersion
|
|
cmd:decine = $portVersion
|
|
cmd:degob = $portVersion
|
|
cmd:dekyra = $portVersion
|
|
cmd:deprince = $portVersion
|
|
cmd:deriven = $portVersion
|
|
cmd:descumm = $portVersion
|
|
cmd:desword2 = $portVersion
|
|
cmd:extract_mohawk = $portVersion
|
|
cmd:gob_loadcalc = $portVersion
|
|
# cmd:scummvm_tools = $portVersion # not working yet for Qt
|
|
cmd:scummvm_tools_cli = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libbz2$secondaryArchSuffix
|
|
lib:libflac$secondaryArchSuffix
|
|
lib:libfreetype$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
# lib:libjpeg$secondaryArchSuffix
|
|
# lib:liblzma$secondaryArchSuffix
|
|
lib:libmad$secondaryArchSuffix
|
|
lib:libogg$secondaryArchSuffix
|
|
lib:libpng16$secondaryArchSuffix
|
|
# 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
|
|
lib:libvorbis$secondaryArchSuffix
|
|
# 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
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libbz2$secondaryArchSuffix
|
|
devel:libflac$secondaryArchSuffix
|
|
devel:libfreetype$secondaryArchSuffix
|
|
devel:libiconv$secondaryArchSuffix
|
|
# devel:liblzma$secondaryArchSuffix
|
|
devel:libmad$secondaryArchSuffix
|
|
devel:libogg$secondaryArchSuffix
|
|
devel:libpng$secondaryArchSuffix
|
|
# 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
|
|
devel:libvorbis$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
# cmd:wx_config$secondaryArchSuffix # not working yet for Qt
|
|
"
|
|
|
|
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
|
|
}
|