0
0
Fork 0
haikuports/app-emulation/euae/euae-0.8.29~wip4.recipe

115 lines
3.7 KiB
Bash

SUMMARY="E-UAE Experimental Ubiquitous Amiga Emulator"
DESCRIPTION="This is a version of UAE, the Ubiquitous Amiga Emulator, with an \
emulation core largely based on WinUAE. It attempts to bring many of the \
great features of WinUAE to non-Windows platforms. This version now finally \
has a name, E-UAE, since that's what everybody was calling it anyway. The 'E' \
can stand for anything you fancy. Experimental, extreme, exciting, \
egalitarian, eggplant, . . .
Currently it will build and run (with a varying degree of supported features) \
on Linux and other Unices, Mac OS X, BeOS, AmigaOS itself (either for 68k \
machines or PPC machines with AmigaOS 4.0 and the AmigaOS clones MorphOS and \
AROS). OS X requires either LibSDL or an X server for graphics output, but \
native graphics are supported on AmigaOS and BeOS, although, at the moment, \
SDL is also preferred on BeOS since the native driver is incomplete.
E-UAE is open-source software and is made available under the terms of the \
GNU GPL. E-UAE is based on the work of dozens of contributors including Bernd \
Schmidt (the original author and maintainer of UAE), Bernie Meyer (the author \
of the x86 JIT compiler), Toni Wilen (the current maintainer of WinUAE), and \
many more.
To make full use of E-UAE you will need access to an image of some version of \
the Amiga Kickstart ROM (although UAE does include a ROM emulation which may \
work with some old games). The Amiga Kickstart ROMs are copyrighted material \
and may not be freely distributed (so don't ask me for a copy). If you don't \
have an Amiga from which you can legally make a ROM image, a selection of ROM \
images are available for purchase online from Cloanto - publishers of the \
Amiga Forever distribution."
HOMEPAGE="https://www.rcdrummond.net/uae/"
COPYRIGHT="2004-2007 Richard Drummond"
LICENSE="GNU GPL v2"
REVISION="4"
SOURCE_URI="http://www.rcdrummond.net/uae/e-uae-0.8.29-WIP4/e-uae-0.8.29-WIP4.tar.bz2"
CHECKSUM_SHA256="9828cb0fca783160bcb33900d0254f4bdaade1c9a41256e5f298e973d0c07456"
SOURCE_DIR="e-uae-0.8.29-WIP4"
PATCHES="euae-0.8.29~wip4.patchset"
ARCHITECTURES="all !x86_gcc2 ?arm"
SECONDARY_ARCHITECTURES="x86"
commandBinDir=$binDir
commandSuffix=$secondaryArchSuffix
if [ "$targetArchitecture" = x86_gcc2 ]
then
commandBinDir=$prefix/bin
commandSuffix=
fi
PROVIDES="
euae$secondaryArchSuffix = $portVersion
cmd:readdisk$commandSuffix
cmd:uae$commandSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libbz2$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libglu$secondaryArchSuffix
lib:libncurses$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libSDL_1.2$secondaryArchSuffix
lib:libsdl_sound$secondaryArchSuffix
lib:libxml2$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libbz2$secondaryArchSuffix
devel:libGL$secondaryArchSuffix
devel:libglu$secondaryArchSuffix
devel:libncurses$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libsdl$secondaryArchSuffix
devel:libsdl_sound$secondaryArchSuffix
devel:libxml2$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:autoreconf
cmd:awk
cmd:bison
cmd:flex
cmd:gcc$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:perl
cmd:pkg_config$secondaryArchSuffix
"
defineDebugInfoPackage euae$secondaryArchSuffix \
$commandBinDir/readdisk \
$commandBinDir/uae \
BUILD()
{
autoreconf -vfi
runConfigure --omit-dirs "binDir sbinDir" ./configure \
--bindir="$commandBinDir" \
--sbindir="$commandBinDir" \
--with-sdl \
--with-sdl-gfx \
--with-sdl-sound \
--with-sdl-gl \
--with-curses \
--enable-threads \
--enable-audio \
--enable-jit \
--disable-bsdsock \
--disable-dependency-tracking
make $jobArgs
}
INSTALL()
{
make install
}