0
0
Fork 0
haikuports/media-sound/gme_libretro/gme_libretro-0.5.2_20211009...

58 lines
1.8 KiB
Bash
Raw Permalink Normal View History

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"
libretro cores: bump (#5439) * bluemsx_libretro: bumped to version 2.9.0:20201018 * cap32_libretro: bumped to version 4.2.0:20201007 * fmsx_libretro: bumped to version 4.9:20201018 * fuse_libretro: bumped to version 1.1.1:20201027 * hatari_libretro: bumped to version 1.8:20201028 * dosbox_libretro: bumped to version 0.74:20200930 * fceumm_libretro: bumped to version 0.0.1:20201117 * flycast_libretro: bumped to version 0.1:20201122 * freeintv_libretro: bumped to version 0.0:20201018 * gambatte_libretro: bumped to version 0.5.0:20201118 * genesis_plus_gx_libretro: bumped to version 1.7.4:20201118 * gpsp_libretro: bumped to version 0.91:20201110 * handy_libretro: bumped to version 0.95:20201019 * mednafen_gba_libretro: bumped to version 0.9.36:20201014 * mednafen_lynx_libretro: bumped to version 0.9.32:20201118 * mednafen_ngp_libretro: bumped to version 0.9.36.1:20201015 * mednafen_pce_fast_libretro: bumped to version 0.9.38.7:20201112 * mednafen_pce_libretro: bumped to version 0.9.38.7:20201110 * mednafen_pcfx_libretro: bumped to version 0.9.33.3:20201110 * mednafen_psx_hw_libretro: bumped to version 0.9.38.6:20201112 * mednafen_psx_libretro: bumped to version 0.9.39.2:20201112 * mednafen_saturn_libretro: bumped to version 0.9.45.1:20201110 * mednafen_supergrafx_libretro: bumped to version 0.9.38.7:20201110 * mednafen_vb_libretro: bumped to version 0.9.36.1:20201014 * mednafen_wswan_libretro: bumped to version 0.9.35.1:20201026 * meteor_libretro: bumped to version 1.4:20201012 * mgba_libretro: bumped to version 0.6.1:20201118 * nestopia_libretro: bumped to version 1.49:20201008 * o2em_libretro: bumped to version 1.18:20201020 * opera_libretro: bumped to version 1.0.0:20201110 * parallel_n64_libretro: bumped to version 2.0rc2:20201109 * pcsx_rearmed_libretro: bumped to version r22:20201108 * picodrive_libretro: bumped to version 1.92:20201030 * retroarch_assets: bumped to version 0:20201026 * snes9x_libretro: bumped to version 1.60:20201008 * vba_next_libretro: bumped to version 1.0.2:20201007 * virtualjaguar_libretro: bumped to version 2.1.2:20201007 * reminiscence_libretro: bumped to version 0.3.6:20201007 * craft_libretro: bumped to version 1.0:20201008 * 2048_libretro: bumped to version 1.0:20201017 * gme_libretro: bumped to version 0.5.2:20201018
2020-11-25 08:01:09 +00:00
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
}