lol

retroarch: 2015-11-20 -> 1.3.4

also: remove nvidia-cg-toolkit as input for retroarch.
see #15707

darwin is also building but you have to trick it into
thinking it's a desktop app for the GUI to load

platforms is set to "platforms.all".

+24 -15
+24 -15
pkgs/misc/emulators/retroarch/default.nix
··· 1 - { stdenv, fetchgit, makeDesktopItem, pkgconfig, ffmpeg, mesa, nvidia_cg_toolkit 2 - , freetype, libxml2, libv4l, coreutils, python34, which, udev, alsaLib 3 - , libX11, libXext, libXxf86vm, libXdmcp, SDL, libpulseaudio ? null }: 4 5 let 6 desktopItem = makeDesktopItem { ··· 9 icon = "retroarch"; 10 comment = "Multi-Engine Platform"; 11 desktopName = "RetroArch"; 12 - genericName = "Libretro Frontend"; 13 categories = "Game;Emulator;"; 14 #keywords = "multi;engine;emulator;xmb;"; 15 }; 16 - 17 in 18 19 stdenv.mkDerivation rec { 20 name = "retroarch-bare-${version}"; 21 - version = "2015-11-20"; 22 23 - src = fetchgit { 24 - url = https://github.com/libretro/RetroArch.git; 25 - rev = "09dda14549fc13231311fd522a07a75e923889aa"; 26 - sha256 = "0yrisl61iaa70ahswzgb505bvm5cxq8ndnv2bw7gqrlm5qrh54qy"; 27 }; 28 29 - buildInputs = [ pkgconfig ffmpeg mesa nvidia_cg_toolkit freetype libxml2 libv4l coreutils 30 - python34 which udev alsaLib libX11 libXext libXxf86vm libXdmcp SDL libpulseaudio ]; 31 32 patchPhase = '' 33 export GLOBAL_CONFIG_DIR=$out/etc ··· 44 45 enableParallelBuilding = true; 46 47 - meta = with stdenv.lib; { 48 homepage = http://libretro.org/; 49 description = "Multi-platform emulator frontend for libretro cores"; 50 license = licenses.gpl3; 51 - platforms = stdenv.lib.platforms.linux; 52 - maintainers = with maintainers; [ MP2E edwtjo ]; 53 }; 54 }
··· 1 + { stdenv, fetchFromGitHub, makeDesktopItem, coreutils, which, pkgconfig 2 + , ffmpeg, mesa, freetype, libxml2, python34 3 + , enableNvidiaCgToolkit ? false, nvidia_cg_toolkit ? null 4 + , alsaLib ? null, libv4l ? null 5 + , udev ? null, libX11 ? null, libXext ? null, libXxf86vm ? null 6 + , libXdmcp ? null, SDL ? null, libpulseaudio ? null 7 + }: 8 + 9 + with stdenv.lib; 10 11 let 12 desktopItem = makeDesktopItem { ··· 15 icon = "retroarch"; 16 comment = "Multi-Engine Platform"; 17 desktopName = "RetroArch"; 18 + genericName = "Libretro Frontend"; 19 categories = "Game;Emulator;"; 20 #keywords = "multi;engine;emulator;xmb;"; 21 }; 22 in 23 24 stdenv.mkDerivation rec { 25 name = "retroarch-bare-${version}"; 26 + version = "1.3.4"; 27 28 + src = fetchFromGitHub { 29 + owner = "libretro"; 30 + repo = "RetroArch"; 31 + sha256 = "0ccp17580w0884baxj5kcynlm03jgd7i62dprz1ajxbi2s7b3mi3"; 32 + rev = "v${version}"; 33 }; 34 35 + buildInputs = [ pkgconfig ffmpeg mesa freetype libxml2 coreutils python34 which SDL ] 36 + ++ optional enableNvidiaCgToolkit nvidia_cg_toolkit 37 + ++ optionals stdenv.isLinux [ udev alsaLib libX11 libXext libXxf86vm libXdmcp libv4l libpulseaudio ]; 38 + 39 + configureScript = "sh configure"; 40 41 patchPhase = '' 42 export GLOBAL_CONFIG_DIR=$out/etc ··· 53 54 enableParallelBuilding = true; 55 56 + meta = { 57 homepage = http://libretro.org/; 58 description = "Multi-platform emulator frontend for libretro cores"; 59 license = licenses.gpl3; 60 + platforms = platforms.all; 61 + maintainers = with maintainers; [ MP2E edwtjo matthewbauer ]; 62 }; 63 }