3
0
Fork 0
forked from mirrors/nixpkgs

add: emulationstation 1.0.2

This commit is contained in:
Edward Tjörnhammar 2014-08-21 20:51:38 +02:00 committed by Domen Kožar
parent 6525bdf213
commit a79241aa15
2 changed files with 33 additions and 0 deletions
pkgs
misc/emulators/emulationstation
top-level

View 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;
};
}

View file

@ -11162,6 +11162,8 @@ let
ekiga = newScope pkgs.gnome ../applications/networking/instant-messengers/ekiga { };
emulationstation = callPackage ../misc/emulators/emulationstation { };
electricsheep = callPackage ../misc/screensavers/electricsheep { };
fakenes = callPackage ../misc/emulators/fakenes { };