58 lines
1.8 KiB
Bash
58 lines
1.8 KiB
Bash
SUMMARY="A libretro port of Blargg's Game_Music_Emu music library"
|
|
DESCRIPTION="Game_Music_Emu emulates game music in several popular file \
|
|
formats: AY (ZX Spectrum, Amstrad CPC), GBS (Nintendo Game Boy), GYM (Sega \
|
|
Genesis, Mega Drive), HES (NEC TurboGrafx-16, PC Engine), KSS (MSX Home \
|
|
Computer, other Z80 systems (doesn't support FM sound)), NSF/NSFE (Nintendo \
|
|
NES, Famicom (with VRC 6, Namco 106, and FME-7 sound)), SAP (Atari systems \
|
|
using POKEY sound chip), SPC (Super Nintendo, Super Famicom), VGM/VGZ (Sega \
|
|
Master System, Mark III, Sega Genesis, Mega Drive, BBC Micro)"
|
|
HOMEPAGE="http://www.slack.net/~ant/libs/audio.html"
|
|
COPYRIGHT="2004-2020 Blargg, the libretro team"
|
|
LICENSE="GNU GPL v2
|
|
GNU LGPL v2"
|
|
REVISION="1"
|
|
srcGitRev="c6b341e8432733f75a07527594834d29884609d3"
|
|
SOURCE_URI="https://github.com/libretro/libretro-gme/archive/$srcGitRev.tar.gz"
|
|
CHECKSUM_SHA256="d95fc85d9c2a49bc6e9b16fc8b0717851f03a60da31c1bacc76c27790c883b8f"
|
|
SOURCE_FILENAME="libretro-gme-${portVersion/_/-}-$srcGitRev.tar.gz"
|
|
SOURCE_DIR="libretro-gme-$srcGitRev"
|
|
ADDITIONAL_FILES="gme_libretro.info.in"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
gme_libretro$secondaryArchSuffix = $portVersion
|
|
addon:gme_libretro$secondaryArchSuffix = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
retroarch$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
sed -e "s/@DISPLAY_VERSION@/v${portVersion/_/-}/" \
|
|
$portDir/additional-files/gme_libretro.info.in \
|
|
> gme_libretro.info
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
install -m 0755 -d "$docDir"
|
|
install -m 0644 -t "$docDir" LICENSE README.md
|
|
install -m 0755 -d "$addOnsDir"/libretro
|
|
install -m 0644 -t "$addOnsDir"/libretro \
|
|
gme_libretro.info \
|
|
gme_libretro.so
|
|
}
|