Merge pull request #277586 from atorres1985-contrib/atari-emulators
Atari emulators updates and cleanups
This commit is contained in:
commit
053489f6e4
4 changed files with 68 additions and 53 deletions
|
@ -1,43 +0,0 @@
|
|||
{ lib, stdenv, fetchFromGitHub, autoreconfHook
|
||||
, zlib, SDL, readline, libGLU, libGL, libX11 }:
|
||||
|
||||
with lib;
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "atari800";
|
||||
version = "5.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "atari800";
|
||||
repo = "atari800";
|
||||
rev = "ATARI800_${replaceStrings ["."] ["_"] version}";
|
||||
sha256 = "sha256-+eJXhqPyU0GhmzF7DbteTXzEnn5klCor9Io/UgXQfQg=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ autoreconfHook ];
|
||||
|
||||
buildInputs = [ zlib SDL readline libGLU libGL libX11 ];
|
||||
|
||||
configureFlags = [
|
||||
"--target=default"
|
||||
"--with-video=sdl"
|
||||
"--with-sound=sdl"
|
||||
"--with-readline"
|
||||
"--with-opengl"
|
||||
"--with-x"
|
||||
"--enable-riodevice"
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://atari800.github.io/";
|
||||
description = "An Atari 8-bit emulator";
|
||||
longDescription = ''
|
||||
Atari800 is the emulator of Atari 8-bit computer systems and
|
||||
5200 game console for Unix, Linux, Amiga, MS-DOS, Atari
|
||||
TT/Falcon, MS-Windows, MS WinCE, Sega Dreamcast, Android and
|
||||
other systems supported by the SDL library.
|
||||
'';
|
||||
maintainers = [ maintainers.AndersonTorres ];
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
}
|
60
pkgs/by-name/at/atari800/package.nix
Normal file
60
pkgs/by-name/at/atari800/package.nix
Normal file
|
@ -0,0 +1,60 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, SDL
|
||||
, autoreconfHook
|
||||
, fetchFromGitHub
|
||||
, libGL
|
||||
, libGLU
|
||||
, libX11
|
||||
, readline
|
||||
, zlib
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation (finalAttrs: {
|
||||
pname = "atari800";
|
||||
version = "5.1.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "atari800";
|
||||
repo = "atari800";
|
||||
rev = "ATARI800_${lib.replaceStrings ["."] ["_"] finalAttrs.version}";
|
||||
hash = "sha256-OZj0x9+M3jkiXUWgB93JTQzi4OUSBCZ3KtniwcZeVB0=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
autoreconfHook
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
SDL
|
||||
libGL
|
||||
libGLU
|
||||
libX11
|
||||
readline
|
||||
zlib
|
||||
];
|
||||
|
||||
configureFlags = [
|
||||
"--target=default"
|
||||
(lib.enableFeature true "riodevice")
|
||||
(lib.withFeature true "opengl")
|
||||
(lib.withFeature true "readline")
|
||||
(lib.withFeature true "x")
|
||||
(lib.withFeatureAs true "sound" "sdl")
|
||||
(lib.withFeatureAs true "video" "sdl")
|
||||
];
|
||||
|
||||
meta = {
|
||||
homepage = "https://atari800.github.io/";
|
||||
description = "An Atari 8-bit emulator";
|
||||
longDescription = ''
|
||||
Atari800 is the emulator of Atari 8-bit computer systems and 5200 game
|
||||
console for Unix, Linux, Amiga, MS-DOS, Atari TT/Falcon, MS-Windows, MS
|
||||
WinCE, Sega Dreamcast, Android and other systems supported by the SDL
|
||||
library.
|
||||
'';
|
||||
license = with lib.licenses; [ gpl2Plus ];
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
platforms = lib.platforms.linux;
|
||||
};
|
||||
})
|
|
@ -1,8 +1,8 @@
|
|||
{ lib
|
||||
, stdenv
|
||||
, fetchurl
|
||||
, SDL
|
||||
, alsa-lib
|
||||
, fetchurl
|
||||
, gcc-unwrapped
|
||||
, libICE
|
||||
, libSM
|
||||
|
@ -30,10 +30,12 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
];
|
||||
|
||||
postFixup = ''
|
||||
patchelf --set-rpath ${lib.makeLibraryPath finalAttrs.buildInputs} "$out/bin/atari++"
|
||||
patchelf \
|
||||
--set-rpath ${lib.makeLibraryPath finalAttrs.buildInputs} \
|
||||
"$out/bin/atari++"
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
meta = {
|
||||
homepage = "http://www.xl-project.com/";
|
||||
description = "An enhanced, cycle-accurated Atari emulator";
|
||||
longDescription = ''
|
||||
|
@ -42,8 +44,8 @@ stdenv.mkDerivation (finalAttrs: {
|
|||
and the Atari 5200 game console. The emulator is auto-configurable and
|
||||
will compile on a variety of systems (Linux, Solaris, Irix).
|
||||
'';
|
||||
maintainers = [ maintainers.AndersonTorres ];
|
||||
license = licenses.gpl2Plus;
|
||||
platforms = lib.platforms.linux;
|
||||
maintainers = with lib.maintainers; [ AndersonTorres ];
|
||||
license = with lib.licenses; [ gpl2Plus ];
|
||||
platforms = lib.platforms.unix;
|
||||
};
|
||||
})
|
|
@ -2616,10 +2616,6 @@ with pkgs;
|
|||
|
||||
_86Box = callPackage ../applications/emulators/86box { };
|
||||
|
||||
atari800 = callPackage ../applications/emulators/atari800 { };
|
||||
|
||||
ataripp = callPackage ../applications/emulators/atari++ { };
|
||||
|
||||
attract-mode = callPackage ../applications/emulators/attract-mode { };
|
||||
|
||||
basiliskii = callPackage ../applications/emulators/basiliskii { };
|
||||
|
|
Loading…
Reference in a new issue