mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-09 05:10:05 +02:00
gme_libretro: a libretro port of the Game Music Emu library (#2349)
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
display_name = "Game Music Emu"
|
||||
authors = "Blargg"
|
||||
supported_extensions = "ay|gbs|gym|hes|kss|nsf|nsfe|sap|spc|vgm|vgz"
|
||||
corename = "Game Music Emu"
|
||||
categories = "Music player"
|
||||
systemname = "Music"
|
||||
license = "LGPLv2, GPLv2"
|
||||
permissions = ""
|
||||
display_version = "@DISPLAY_VERSION@"
|
||||
supports_no_game = "false"
|
||||
57
media-sound/gme_libretro/gme_libretro-0.5.2_20180221.recipe
Normal file
57
media-sound/gme_libretro/gme_libretro-0.5.2_20180221.recipe
Normal file
@@ -0,0 +1,57 @@
|
||||
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-2018 Blargg, the libretro team"
|
||||
LICENSE="GNU GPL v2
|
||||
GNU LGPL v2"
|
||||
REVISION="1"
|
||||
srcGitRev="111ca8fce4fe9f4d828f8a4894aada7509e99564"
|
||||
SOURCE_URI="https://github.com/libretro/libretro-gme/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="e5d6d9d93375c58875f35302e831c209c07f6af7dd7318ffe542e4be5d796a85"
|
||||
SOURCE_FILENAME="libretro-gme-${portVersion/_/-}-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="libretro-gme-$srcGitRev"
|
||||
ADDITIONAL_FILES="gme_libretro.info.in"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 ?x86 x86_64"
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user