basiliskii: init at unstable-2022-04-05
This commit is contained in:
parent
263292cb5e
commit
b56b2401b8
@ -10210,6 +10210,12 @@
|
||||
githubId = 115877;
|
||||
name = "Kenny Shen";
|
||||
};
|
||||
quag = {
|
||||
email = "quaggy@gmail.com";
|
||||
github = "quag";
|
||||
githubId = 35086;
|
||||
name = "Jonathan Wright";
|
||||
};
|
||||
queezle = {
|
||||
email = "git@queezle.net";
|
||||
github = "qzle";
|
||||
|
28
pkgs/applications/emulators/basiliskii/default.nix
Normal file
28
pkgs/applications/emulators/basiliskii/default.nix
Normal file
@ -0,0 +1,28 @@
|
||||
{ stdenv, lib, fetchFromGitHub, autoconf, automake, pkg-config, SDL2, gtk2 }:
|
||||
stdenv.mkDerivation {
|
||||
pname = "basiliskii";
|
||||
version = "unstable-2022-04-05";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "kanjitalk755";
|
||||
repo = "macemu";
|
||||
rev = "d4baa318e49a29d7ea5fc71a637191d6c470546f";
|
||||
sha256 = "jBKTC2fIPJ6mSkMABNxcd2ujXJ+duCXw291iz5ZmiVg=";
|
||||
};
|
||||
sourceRoot = "source/BasiliskII/src/Unix";
|
||||
patches = [ ./remove-redhat-6-workaround-for-scsi-sg.h.patch ];
|
||||
nativeBuildInputs = [ autoconf automake pkg-config ];
|
||||
buildInputs = [ SDL2 gtk2 ];
|
||||
preConfigure = ''
|
||||
NO_CONFIGURE=1 ./autogen.sh
|
||||
'';
|
||||
configureFlags = [ "--enable-sdl-video" "--enable-sdl-audio" "--with-bincue" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "68k Macintosh emulator";
|
||||
homepage = "https://basilisk.cebix.net/";
|
||||
license = licenses.gpl2;
|
||||
maintainers = with maintainers; [ quag ];
|
||||
platforms = platforms.linux;
|
||||
};
|
||||
}
|
@ -0,0 +1,10 @@
|
||||
diff --git a/Linux/scsi_linux.cpp b/Linux/scsi_linux.cpp
|
||||
--- a/Linux/scsi_linux.cpp
|
||||
+++ b/Linux/scsi_linux.cpp
|
||||
@@ -22,5 +22,5 @@
|
||||
#include <sys/ioctl.h>
|
||||
#include <linux/param.h>
|
||||
-#include <linux/../scsi/sg.h> // workaround for broken RedHat 6.0 /usr/include/scsi
|
||||
+#include <scsi/sg.h>
|
||||
#include <unistd.h>
|
||||
#include <errno.h>
|
@ -33209,6 +33209,8 @@ with pkgs;
|
||||
|
||||
avell-unofficial-control-center = python3Packages.callPackage ../applications/misc/avell-unofficial-control-center { };
|
||||
|
||||
basiliskii = callPackage ../applications/emulators/basiliskii { };
|
||||
|
||||
beep = callPackage ../misc/beep { };
|
||||
|
||||
bees = callPackage ../tools/filesystems/bees { };
|
||||
|
Loading…
Reference in New Issue
Block a user