Adding two NES emulators.
Because of them, I made allegro build the allegrogl library. I also added the HawkNL library. svn path=/nixpkgs/trunk/; revision=26517
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{stdenv, fetchurl, libX11, libXt, libXext, libXaw }:
|
||||
|
||||
assert stdenv.system == "i686-linux";
|
||||
|
||||
stdenv.mkDerivation {
|
||||
name = "darnes-9b0401";
|
||||
src = fetchurl {
|
||||
url = http://www.dridus.com/~nyef/darcnes/download/dn9b0401.tgz;
|
||||
sha256 = "05a7mh51rg7ydb414m3p5mm05p4nz2bgvspqzwm3bhbj7zz543k3";
|
||||
};
|
||||
|
||||
buildInputs = [ libX11 libXt libXext libXaw ];
|
||||
|
||||
installPhase = ''
|
||||
ensureDir $out/bin
|
||||
cp darcnes $out/bin
|
||||
'';
|
||||
|
||||
patches = [ ./label.patch ];
|
||||
|
||||
meta = {
|
||||
homepage = http://www.dridus.com/~nyef/darcnes/;
|
||||
description = "Multi-System emulator, specially for NES";
|
||||
/* Prohibited commercial use, credit required. */
|
||||
license = "free";
|
||||
};
|
||||
|
||||
}
|
||||
@@ -0,0 +1,13 @@
|
||||
http://gentoo-overlays.zugaina.org/funtoo/portage/games-emulation/darcnes/files/darcnes-0401-exec-stack.patch
|
||||
|
||||
diff -Naur old/video_x.c new/video_x.c
|
||||
--- old/video_x.c 2004-09-04 01:26:41.102187277 +0200
|
||||
+++ new/video_x.c 2004-09-04 01:27:51.586427427 +0200
|
||||
@@ -366,6 +366,7 @@
|
||||
}
|
||||
|
||||
default:
|
||||
+ break;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user