Files
haikuports/media-libs/game-music-emu/game_music_emu-0.6.1.recipe
Alexander von Gluck 47ea51f320 cmake/meson: Mass fix packages with broken debuginfo (#12822)
* cmake/debuginfo: Mass fix packages with broken debuginfo

* rtl_sdr: Fix trailing whitespace

* meson/debuginfo: Mass fix packages with broken debuginfo

* clean up conflicts

---------

Co-authored-by: Luc Schrijvers <begasus@gmail.com>
2026-01-07 17:36:21 +01:00

79 lines
2.1 KiB
Bash

SUMMARY="Collection of video game music file emulators"
DESCRIPTION="Game_Music_Emu is a collection of video game music file emulators that
support the following formats and systems:
- 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="https://bitbucket.org/mpyne/game-music-emu"
COPYRIGHT="2002 Stephane Dallongeville
2003-2009 Shay Green"
LICENSE="GNU LGPL v2.1"
REVISION="4"
SOURCE_URI="https://bitbucket.org/mpyne/game-music-emu/downloads/game-music-emu-$portVersion.tar.bz2"
CHECKSUM_SHA256="dc11bea098072d540d4d52dfb252e76fc3d3af67ee2807da48fbd8dbda3fd321"
SOURCE_DIR="game-music-emu-$portVersion"
PATCHES="game_music_emu-$portVersion.patchset"
ARCHITECTURES="!all x86_gcc2"
SECONDARY_ARCHITECTURES="x86_gcc2 !x86"
PROVIDES="
game_music_emu$secondaryArchSuffix = $portVersion
lib:libgme$secondaryArchSuffix = 0.6.1 compat >= 0
"
REQUIRES="
haiku$secondaryArchSuffix
"
PROVIDES_devel="
game_music_emu${secondaryArchSuffix}_devel = $portVersion
devel:libgme$secondaryArchSuffix = 0.6.1 compat >= 0
"
REQUIRES_devel="
game_music_emu$secondaryArchSuffix == $portVersion base
haiku${secondaryArchSuffix}_devel
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
"
BUILD_PREREQUIRES="
cmd:cmake
cmd:gcc$secondaryArchSuffix
cmd:make
"
defineDebugInfoPackage game_music_emu$secondaryArchSuffix \
$libDir/libgme.so.0.6.1
BUILD()
{
cmake -Bbuild -S. -DCMAKE_BUILD_TYPE=RelWithDebInfo \
-DCMAKE_INSTALL_PREFIX=$prefix \
-DLIB_SUFFIX=/${secondaryArchSuffix#"_"}
make -C build $jobArgs
}
INSTALL()
{
make -C build install
# Fixup install paths
mkdir -p $developDir $includeDir
mv $prefix/include/* $includeDir
rm -rf $prefix/include
prepareInstalledDevelLib libgme
fixPkgconfig
packageEntries devel \
$developDir
}