atari++, revbump, enable 64bit, cleanup old (#8934)

This commit is contained in:
Schrijvers Luc
2023-07-03 10:19:34 +02:00
committed by GitHub
parent 55df996177
commit c1a629226c
3 changed files with 3 additions and 95 deletions

View File

@@ -1,67 +0,0 @@
SUMMARY="Emulator of Atari 8-bit system"
DESCRIPTION="The Atari++ Emulator is a Unix based emulator of the Atari eight \
bit computers, namely the Atari 400 and 800, the Atari 400XL, 800XL and \
130XE, and the Atari 5200 game console. The emulator is auto-configurable and \
will compile on a variety of systems (Linux, Solaris, Irix). Its emulation \
features are stunning:
* Cycle precise emulation; this includes correct emulation of horizontal \
kernels and programs that modify chip registers within a horizontal line. \
In a less technical language, software making use of advanced displaying \
techniques will be emulated correctly.
* Emulation of an advanced 1050 disk drive including single, double and \
enhanced density. The emulator not only understands .atr and .xfd files, \
but comes with a mini-boot loader that allows you to boot from binary load \
files (.exe and .com)."
HOMEPAGE="http://xl-project.com/"
COPYRIGHT="2004 Thomas Richter"
LICENSE="GNU GPL v1"
REVISION="2"
SOURCE_URI="http://www.xl-project.com/download/atari++_1.73.tar.gz"
CHECKSUM_SHA256="b41095eeb6362806ddcfa9c59ca319b873fb9eed3bf7a78ad2f2848300e4b3f8"
SOURCE_DIR="atari++"
PATCHES="atari++-$portVersion.patch"
ARCHITECTURES="?all !x86_gcc2 x86"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
atari++$secondaryArchSuffix = $portVersion
cmd:atari++ = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libpng$secondaryArchSuffix
lib:libsdl_1.2$secondaryArchSuffix
lib:libz$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libpng$secondaryArchSuffix
devel:libsdl_1.2$secondaryArchSuffix >= 0.11.4
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:autoheader
cmd:autoreconf
cmd:awk
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
cmd:sdl_config$secondaryArchSuffix
cmd:which
"
BUILD()
{
autoreconf
runConfigure --omit-dirs binDir ./configure --bindir=$prefix/bin
make $jobArgs
}
INSTALL()
{
make install
addAppDeskbarSymlink $prefix/bin/atari++ "Atari++"
}

View File

@@ -15,13 +15,13 @@ files (.exe and .com)."
HOMEPAGE="http://xl-project.com/"
COPYRIGHT="2004-2015 Thomas Richter"
LICENSE="TPL"
REVISION="4"
REVISION="5"
SOURCE_URI="http://www.xl-project.com/download/atari++_$portVersion.tar.gz"
CHECKSUM_SHA256="afb1e136257acb179a9e31aa7e6497df78a8227e58fd433accb135a91b3262eb"
SOURCE_DIR="atari++"
PATCHES="atari++-$portVersion.patchset"
ARCHITECTURES="?all !x86_gcc2"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
commandSuffix=$secondaryArchSuffix
@@ -47,7 +47,7 @@ BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libncurses$secondaryArchSuffix
devel:libpng16$secondaryArchSuffix
devel:libSDL$secondaryArchSuffix
devel:libSDL_1.2$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="

View File

@@ -1,25 +0,0 @@
From 6c18d36b30e6eefe9a757ca9f6c3505d9218e5f3 Mon Sep 17 00:00:00 2001
From: Augustin Cavalier <waddlesplash@gmail.com>
Date: Thu, 18 Dec 2014 12:35:36 -0500
Subject: [PATCH] Fix autoconf script to include the proper header for timeval.
---
configure.in | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure.in b/configure.in
index 76e160d..56c731f 100644
--- a/configure.in
+++ b/configure.in
@@ -159,7 +159,7 @@ AC_CHECK_FUNCS([gettimeofday isascii memchr memmove memset select strcasecmp str
AC_CHECK_FUNCS([time localtime snprintf vsnprintf usleep select getenv isatty chmod])
AC_CHECK_FUNCS([tcsetattr tcgetattr tcflush tcdrain cfmakeraw cfsetospeed cfsetispeed])
AC_CHECK_FUNCS([ioctl open creat close read write unlink fileno])
-AC_CHECK_TYPE([struct timeval],[AC_DEFINE(HAS_STRUCT_TIMEVAL,[1],[Define to 1 if struct timeval is available])])
+AC_CHECK_TYPE([struct timeval],[AC_DEFINE(HAS_STRUCT_TIMEVAL,[1],[Define to 1 if struct timeval is available])],[],[[#include <sys/time.h>]])
#
#
# Check for where X11 could be
--
1.8.3.4