2018-06-05 23:15:10 +00:00
|
|
|
SUMMARY="ScummVM, a Scumm interpreter core for the Libretro API"
|
|
|
|
DESCRIPTION="ScummVM is a program which allows you to run certain classic \
|
|
|
|
graphical point-and-click adventure games, provided you already have their \
|
|
|
|
data files. This is the libretro port of ScummVM."
|
|
|
|
HOMEPAGE="https://www.scummvm.org/"
|
2020-07-04 18:18:06 +00:00
|
|
|
COPYRIGHT="2001-2020 the ScummVM team, the libretro team"
|
2018-06-05 23:15:10 +00:00
|
|
|
LICENSE="GNU GPL v2"
|
2020-09-25 21:09:53 +00:00
|
|
|
REVISION="1"
|
2021-10-25 07:23:15 +00:00
|
|
|
srcGitRev="c63de10ee05bc1b6c33cc2cc32ba7b8ac48f842c"
|
2018-06-05 23:15:10 +00:00
|
|
|
SOURCE_URI="https://github.com/libretro/scummvm/archive/$srcGitRev.tar.gz"
|
2021-10-25 07:23:15 +00:00
|
|
|
CHECKSUM_SHA256="4646a23711ff4ef8602b44911f4517cc6a1f61d474462340e9350ab7d35da4c0"
|
2018-06-05 23:15:10 +00:00
|
|
|
SOURCE_FILENAME="libretro-scummvm-${portVersion/_/-}-$srcGitRev.tar.gz"
|
|
|
|
SOURCE_DIR="scummvm-$srcGitRev"
|
|
|
|
ADDITIONAL_FILES="scummvm_libretro.info.in"
|
|
|
|
|
2021-10-25 07:23:15 +00:00
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
2018-06-05 23:15:10 +00:00
|
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
|
|
|
|
PROVIDES="
|
|
|
|
scummvm_libretro$secondaryArchSuffix = $portVersion
|
|
|
|
addon:scummvm_libretro$secondaryArchSuffix = $portVersion
|
|
|
|
"
|
|
|
|
REQUIRES="
|
|
|
|
haiku$secondaryArchSuffix
|
|
|
|
retroarch$secondaryArchSuffix
|
|
|
|
lib:libGL$secondaryArchSuffix
|
|
|
|
"
|
|
|
|
|
|
|
|
BUILD_REQUIRES="
|
|
|
|
haiku${secondaryArchSuffix}_devel
|
|
|
|
devel:libGL$secondaryArchSuffix
|
|
|
|
"
|
|
|
|
BUILD_PREREQUIRES="
|
|
|
|
cmd:gcc$secondaryArchSuffix
|
|
|
|
cmd:make
|
|
|
|
"
|
|
|
|
|
|
|
|
BUILD()
|
|
|
|
{
|
|
|
|
sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \
|
|
|
|
$portDir/additional-files/scummvm_libretro.info.in \
|
|
|
|
> scummvm_libretro.info
|
|
|
|
cd backends/platform/libretro/build && make $jobArgs
|
|
|
|
}
|
|
|
|
|
|
|
|
INSTALL()
|
|
|
|
{
|
|
|
|
install -m 0755 -d "$docDir"
|
|
|
|
install -m 0644 -t "$docDir" AUTHORS CONTRIBUTING.md COPYING \
|
|
|
|
COPYING.BSD COPYING.FREEFONT COPYING.LGPL COPYRIGHT \
|
2020-11-25 23:00:29 +00:00
|
|
|
LIBRETRO_CMDLINE.md NEWS.md README.md TODO
|
2018-06-05 23:15:10 +00:00
|
|
|
install -m 0755 -d "$addOnsDir"/libretro
|
|
|
|
install -m 0644 -t "$addOnsDir"/libretro \
|
|
|
|
scummvm_libretro.info \
|
|
|
|
backends/platform/libretro/build/scummvm_libretro.so
|
|
|
|
}
|