Skip to content

Commit b963ba1

Browse files
Cray ElliottCray Elliott
Cray Elliott
authored and
Cray Elliott
committedJul 8, 2017
dolphinEmuMaster: 20150802 -> 20170705
removed a substitution that is no longer needed, add new dependencies, and use fetchFromGitHub instead of fetchgit
1 parent dcbe96d commit b963ba1

File tree

1 file changed

+11
-17
lines changed

1 file changed

+11
-17
lines changed
 

‎pkgs/misc/emulators/dolphin-emu/master.nix

+11-17
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,17 @@
11
{ stdenv, gcc, pkgconfig, cmake, bluez, ffmpeg, libao, mesa, gtk2, glib
2-
, gettext, git, libpthreadstubs, libXrandr, libXext, readline
3-
, openal, libXdmcp, portaudio, fetchgit, libusb, libevdev
2+
, pcre, gettext, libpthreadstubs, libXrandr, libXext, libSM, readline
3+
, openal, libXdmcp, portaudio, fetchFromGitHub, libusb, libevdev
44
, libpulseaudio ? null }:
55

66
stdenv.mkDerivation rec {
7-
name = "dolphin-emu-20150802";
8-
src = fetchgit {
9-
url = git://github.com/dolphin-emu/dolphin.git;
10-
rev = "5097a22844b850b429872f4de390bd958b11a616";
11-
sha256 = "09jx61cxvfimnq1snkv6w3m9qidrgp0j0w81c7pbkpmcwysz8xya";
12-
fetchSubmodules = false;
7+
name = "dolphin-emu-20170705";
8+
src = fetchFromGitHub {
9+
owner = "dolphin-emu";
10+
repo = "dolphin";
11+
rev = "29cc009706f133aac39ebaa7003d37555b926109";
12+
sha256 = "0axd2z14lyqlaxrjssc0dkqnjdk3ccxh2fqrhya0jc2rsm8ighlz";
1313
};
1414

15-
postPatch = ''
16-
for f in Source/Core/VideoBackends/{Software,OGL}/RasterFont.{h,cpp}; do
17-
substituteInPlace "$f" --replace " CHAR_WIDTH " " CHARWIDTH "
18-
done
19-
'';
20-
2115
cmakeFlags = ''
2216
-DGTK2_GLIBCONFIG_INCLUDE_DIR=${glib.out}/lib/glib-2.0/include
2317
-DGTK2_GDKCONFIG_INCLUDE_DIR=${gtk2.out}/lib/gtk-2.0/include
@@ -27,9 +21,9 @@ stdenv.mkDerivation rec {
2721

2822
enableParallelBuilding = true;
2923

30-
buildInputs = [ gcc pkgconfig cmake bluez ffmpeg libao mesa gtk2 glib
31-
gettext libpthreadstubs libXrandr libXext readline openal
32-
libevdev git libXdmcp portaudio libusb libpulseaudio ];
24+
buildInputs = [ gcc pkgconfig cmake bluez ffmpeg libao mesa gtk2 glib pcre
25+
gettext libpthreadstubs libXrandr libXext libSM readline openal
26+
libevdev libXdmcp portaudio libusb libpulseaudio ];
3327

3428
meta = {
3529
homepage = http://dolphin-emu.org/;

0 commit comments

Comments
 (0)
Please sign in to comment.