add: emulationstation 1.0.2
This commit is contained in:
parent
6525bdf213
commit
a79241aa15
31
pkgs/misc/emulators/emulationstation/default.nix
Normal file
31
pkgs/misc/emulators/emulationstation/default.nix
Normal file
@ -0,0 +1,31 @@
|
|||||||
|
{ stdenv, fetchurl, pkgconfig, cmake, boost, eigen, freeimage, freetype
|
||||||
|
, mesa, SDL, dejavu_fonts }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "emulationstation-${version}";
|
||||||
|
version = "1.0.2";
|
||||||
|
src = fetchurl {
|
||||||
|
url = "https://github.com/Aloshi/EmulationStation/archive/v${version}.tar.gz";
|
||||||
|
sha256 = "809d67aaa727809c1426fb543e36bb788ca6a3404f8c46dd1917088b57ab5f50";
|
||||||
|
};
|
||||||
|
|
||||||
|
buildInputs = [ pkgconfig cmake boost eigen freeimage freetype mesa SDL ];
|
||||||
|
|
||||||
|
prePatch = ''
|
||||||
|
sed -i \
|
||||||
|
-e 's,/usr\(.*\)/ttf-dejavu\(.*\),${dejavu_fonts}\1\2,' src/Font.cpp
|
||||||
|
'';
|
||||||
|
|
||||||
|
buildPhase = "cmake . && make";
|
||||||
|
installPhase = ''
|
||||||
|
mkdir -p $out/bin
|
||||||
|
mv ../emulationstation $out/bin/.
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
description = "A flexible emulator front-end supporting keyboardless navigation and custom system themes";
|
||||||
|
homepage = "http://emulationstation.org";
|
||||||
|
maintainers = [ stdenv.lib.maintainers.edwtjo ];
|
||||||
|
license = stdenv.lib.licenses.mit;
|
||||||
|
};
|
||||||
|
}
|
@ -11162,6 +11162,8 @@ let
|
|||||||
|
|
||||||
ekiga = newScope pkgs.gnome ../applications/networking/instant-messengers/ekiga { };
|
ekiga = newScope pkgs.gnome ../applications/networking/instant-messengers/ekiga { };
|
||||||
|
|
||||||
|
emulationstation = callPackage ../misc/emulators/emulationstation { };
|
||||||
|
|
||||||
electricsheep = callPackage ../misc/screensavers/electricsheep { };
|
electricsheep = callPackage ../misc/screensavers/electricsheep { };
|
||||||
|
|
||||||
fakenes = callPackage ../misc/emulators/fakenes { };
|
fakenes = callPackage ../misc/emulators/fakenes { };
|
||||||
|
Loading…
x
Reference in New Issue
Block a user