mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
57 lines
1.7 KiB
Bash
57 lines
1.7 KiB
Bash
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/"
|
|
COPYRIGHT="2001-2020 the ScummVM team, the libretro team"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
srcGitRev="6df2bdf73cc9596dbc0ef395d78e48a93e0854be"
|
|
SOURCE_URI="https://github.com/libretro/scummvm/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="40b31a0eacd7214b18998c8ed56a95958e16cb7b99e272a68faf7183c58e93a3"
|
|
SOURCE_FILENAME="libretro-scummvm-${portVersion/_/-}-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="scummvm-$srcGitRev"
|
|
ADDITIONAL_FILES="scummvm_libretro.info.in"
|
|
|
|
ARCHITECTURES="all !x86_gcc2 ?x86"
|
|
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 \
|
|
LIBRETRO_CMDLINE.md NEWS.md README.md TODO
|
|
install -m 0755 -d "$addOnsDir"/libretro
|
|
install -m 0644 -t "$addOnsDir"/libretro \
|
|
scummvm_libretro.info \
|
|
backends/platform/libretro/build/scummvm_libretro.so
|
|
}
|