mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 20:20:06 +02:00
Aranym: add recipe for version 1.1.0 (#5064)
* enabled cxx exceptions * Moved config files to home/config/settings tree * broken on x86_gcc2
This commit is contained in:
committed by
GitHub
parent
49b50262a5
commit
9aed62328c
62
app-emulation/aranym/aranym-1.1.0.recipe
Normal file
62
app-emulation/aranym/aranym-1.1.0.recipe
Normal file
@@ -0,0 +1,62 @@
|
||||
SUMMARY="Atari Running on Any Machine"
|
||||
DESCRIPTION="ARAnyM (Atari Running on Any Machine) is a multiplatform virtual \
|
||||
machine for running Atari ST/TT/Falcon operating systems and applications."
|
||||
HOMEPAGE="https://aranym.github.io/"
|
||||
COPYRIGHT="2001-2014 ARAnyM developer team"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/aranym/aranym/archive/ARANYM_${portVersion//./_}.tar.gz"
|
||||
CHECKSUM_SHA256="1636cf9ec68bd2089f537e3b5e82d04fafec61a4f8fb5e216a263d357e935b63"
|
||||
SOURCE_FILENAME="anarym-$portVersion.tar.gz"
|
||||
SOURCE_DIR="aranym-ARANYM_${portVersion//./_}"
|
||||
PATCHES="aranym-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
aranym = $portVersion
|
||||
app:ARAnyM = $portVersion
|
||||
cmd:aranym = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libsdl
|
||||
lib:libsdl_image
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libsdl
|
||||
devel:libSDL_image
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:gcc
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
WITHDISDIP=""
|
||||
if [ $effectiveTargetArchitecture == x86_gcc2 ]; then
|
||||
WITHDISDIP="--enable-disdip"
|
||||
fi
|
||||
|
||||
NO_CONFIGURE=1 ./autogen.sh
|
||||
|
||||
export CXXFLAGS="$CXXFLAGS -Wno-unused-function -Wno-unused-variable"
|
||||
export CFLAGS="$CFLAGS -Wno-unused-function -Wno-unused-variable"
|
||||
runConfigure ./configure --enable-fpe=uae --enable-cxx-exceptions $WITHDISDIP
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $docDir
|
||||
|
||||
make install
|
||||
|
||||
mimeset $prefix/bin/aranym
|
||||
addAppDeskbarSymlink /bin/aranym ARAnyM
|
||||
}
|
||||
21
app-emulation/aranym/patches/aranym-1.1.0.patchset
Normal file
21
app-emulation/aranym/patches/aranym-1.1.0.patchset
Normal file
@@ -0,0 +1,21 @@
|
||||
From a46c58e7ce229a6de67d03a1cb751494d4731c51 Mon Sep 17 00:00:00 2001
|
||||
From: Gabriele Baldassarre <gabriele@gabrielebaldassarre.com>
|
||||
Date: Sun, 14 Jun 2020 23:28:00 +0200
|
||||
Subject: Haiku proper path to config folder
|
||||
|
||||
|
||||
diff --git a/configure.ac b/configure.ac
|
||||
index 4c5fd67..59222c6 100644
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -519,6 +519,7 @@ case "$host_os" in
|
||||
AC_PATH_PROG(BEOS_SETVERSION, setversion, [AC_MSG_ERROR([setversion not found.])])
|
||||
WANT_UNIXSERIALPORT=no
|
||||
ac_cv_tun_tap_support=no
|
||||
+ AC_DEFINE([ARANYMHOME], "config/settings/aranym")
|
||||
;;
|
||||
*)
|
||||
;;
|
||||
--
|
||||
2.26.0
|
||||
|
||||
Reference in New Issue
Block a user