Files
haikuports/app-emulation/fs-uae/fs_uae-3.1.66.recipe
John Bintz b5f0e02f11 fs_uae, fs_uae_launcher: Update FS-UAE to 3.1.66, patch Launcher for better exe finding (#10455)
* fs_uae_launcher: Better Haiku-friendly binary search

When updating fs-uae to 3.1.66, fs-uae-launcher was unable to find the
fs-uae binary when the launcher was launched from the Deskbar. This
changes the binary search code for Haiku to always look in the same
direcctory where fs-uae-launcher is to be installed.

* fs_uae: Update to 3.1.66

In order to get --with-glew to work, I had to manually add all of the C
flags and linker options via env variables. glew.pc eventually tries to
include gl.pc which doesn't exist. However, it seems that I only need to
provide -Lgl and the program should work correctly (and it does).

* Indent recpies using tabs
2024-05-20 19:00:17 +02:00

111 lines
3.4 KiB
Bash

SUMMARY="FS-UAE is a cross platform Amiga emulator ported from WinUAE"
DESCRIPTION="Accurate Amiga Emulation
FS-UAE integrates the most accurate Amiga emulation code available from \
WinUAE. FS-UAE emulates A500, A500+, A600, A1200, A1000, A3000 and A4000 \
models, but you can tweak the hardware configuration and create customized \
Amigas.
On-Screen GUI With Gamepad Control
FS-UAE is fully controllable with a gamepad - you can easily swap floppies \
and load save states through the on-screen GUI. In addition to being great \
on your personal computer, FS-UAE is also well suited to be started from an \
emulator frontend running on a HTPC.
Emulate High-End Amigas
FS-UAE supports emulating an Amiga 4000 with an CPU as fast as your \
system can emulate it. Picasso96 drivers can be used with the built-in \
UAEgfx card to display Workbench in high resolutions and with up to 16.7 \
million colors, and the built-in bsdsocket.library means that the Amiga \
will have access to the Internet.
Community Support
There is a support forum for FS-UAE on the English Amiga Board with many \
active registered users. If you are stuck, you'll almost certainly get an \
answer to your questions there. You can also leave comments on fs-uae.net \
is you rather want that.
Online Documentation
A great deal of documentation about how to use and configure FS-UAE is \
available on fs-uae.net."
HOMEPAGE="https://fs-uae.net/"
COPYRIGHT="2011-2017 Frode Solheim"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://fs-uae.net/files/FS-UAE/Stable/${portVersion}/fs-uae-${portVersion}.tar.xz"
CHECKSUM_SHA256="606e1868b500413d69bd33bb469f8fd08d6c08988801f17b7dd022f3fbe23832"
SOURCE_DIR="fs-uae-$portVersion"
PATCHES="fs_uae-$portVersion.patchset"
ARCHITECTURES="all ?x86 !x86_gcc2"
SECONDARY_ARCHITECTURES="?x86"
PROVIDES="
fs_uae$secondaryArchSuffix = $portVersion
cmd:fs_uae$secondaryArchSuffix
cmd:fs_uae_device_helper$secondaryArchSuffix
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libgl$secondaryArchSuffix
lib:libglew$secondaryArchSuffix
lib:libglib_2.0$secondaryArchSuffix
lib:libglu$secondaryArchSuffix
lib:libgthread_2.0$secondaryArchSuffix
lib:libintl$secondaryArchSuffix
lib:libmpeg2$secondaryArchSuffix
lib:libopenal$secondaryArchSuffix
lib:libpng16$secondaryArchSuffix
lib:libsdl2_2.0$secondaryArchSuffix
lib:libx11$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libGL$secondaryArchSuffix
devel:libglew$secondaryArchSuffix
devel:libglib_2.0$secondaryArchSuffix
devel:libgthread_2.0$secondaryArchSuffix
devel:libmpeg2$secondaryArchSuffix
devel:libopenal$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libsdl2_2.0$secondaryArchSuffix
devel:libx11$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal$secondaryArchSuffix
cmd:autoconf$secondaryArchSuffix
cmd:awk$secondaryArchSuffix
cmd:bison$secondaryArchSuffix
cmd:flex$secondaryArchSuffix
cmd:gcc$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:perl$secondaryArchSuffix
cmd:pkg_config$secondaryArchSuffix
cmd:zip$secondaryArchSuffix
"
BUILD()
{
export CPPFLAGS="-D_BSD_SOURCE"
export CXXFLAGS="-fPIC"
export CFLAGS="-fPIC"
export LDFLAGS="-lnetwork"
export GLEW_LIBS="-lGL -lGLEW -lGLU -L/system/develop/lib"
export GLEW_CFLAGS="-I/system/develop/headers"
autoreconf -f -i
runConfigure ./configure --disable-bsdsocket --disable-netplay --with-glew
make $jobArgs
}
INSTALL()
{
make install
}