libretro.*: 2015-11-20 -> 2017-06-04

This commit is contained in:
Edward Tjörnhammar 2017-06-04 03:24:18 +02:00
parent 1845a2d735
commit f270376cd7
No known key found for this signature in database
GPG Key ID: 7B82CE4A866B6845

View File

@ -1,6 +1,6 @@
{ stdenv, fetchgit, pkgconfig, makeWrapper, python27, retroarch { stdenv, fetchgit, pkgconfig, makeWrapper, python27, retroarch
, alsaLib, fluidsynth, mesa, portaudio, SDL, ffmpeg, libpng, libjpeg , alsaLib, fluidsynth, mesa, portaudio, SDL, ffmpeg, libpng, libjpeg
, libvorbis, zlib }: , libvorbis, xorg, zlib }:
let let
@ -10,7 +10,7 @@ let
stdenv.lib.makeOverridable stdenv.mkDerivation rec { stdenv.lib.makeOverridable stdenv.mkDerivation rec {
name = "libretro-${core}-${version}"; name = "libretro-${core}-${version}";
version = "2015-11-20"; version = "2017-06-04";
inherit src; inherit src;
buildInputs = [ makeWrapper retroarch zlib ] ++ a.extraBuildInputs or []; buildInputs = [ makeWrapper retroarch zlib ] ++ a.extraBuildInputs or [];
@ -54,8 +54,8 @@ in
core = "4do"; core = "4do";
src = fetchRetro { src = fetchRetro {
repo = core + "-libretro"; repo = core + "-libretro";
rev = "cbd700e2bb95f08f241ca24330fa732aa6af8018"; rev = "52d881743dd8614d96b4de8bd153cb725b87d474";
sha256 = "1xp43hpd23rhj96pns13fz9mjp66gmxzl5frqa8q9fqcn2qkx7b1"; sha256 = "1n42f70vni2zavppayaq8xmsyx5cn40qi4zk4pgq1w3hh2q8mj72";
}; };
description = "Port of 4DO/libfreedo to libretro"; description = "Port of 4DO/libfreedo to libretro";
}).override { }).override {
@ -66,8 +66,8 @@ in
core = "mednafen-pce-fast"; core = "mednafen-pce-fast";
src = fetchRetro { src = fetchRetro {
repo = "beetle-pce-fast-libretro"; repo = "beetle-pce-fast-libretro";
rev = "6e2eaf75da2eb3dfcf2fd64413f471c8c90cf885"; rev = "2954e645d668ee73d93803dc30da4462fc7a459b";
sha256 = "0m946108wzawg0c4xvqpv6yzfmjngz6lji5hn4swgk0z5f2bj5a5"; sha256 = "0p0k7kqfd6xg1qh6vgzgwp122miprb2bpzljgxd9kvigxihsl6f7";
}; };
description = "Port of Mednafen's PC Engine core to libretro"; description = "Port of Mednafen's PC Engine core to libretro";
}).override { }).override {
@ -79,8 +79,8 @@ in
core = "mednafen-psx"; core = "mednafen-psx";
src = fetchRetro { src = fetchRetro {
repo = "beetle-psx-libretro"; repo = "beetle-psx-libretro";
rev = "20c9b0eb0062b8768cc40aca0e2b2d626f1002a2"; rev = "76862abefdde9097561e2b795e75b49247deff17";
sha256 = "192xzvdbjjqlxrnxxn45hmrr6yjpxw3gapkbax6nhrabnxhva43k"; sha256 = "1k4b7g50ajzchjrm6d3v68hvri4k3hzvacn2l99i5yq3hxp7vs7x";
}; };
description = "Port of Mednafen's PSX Engine core to libretro"; description = "Port of Mednafen's PSX Engine core to libretro";
}).override { }).override {
@ -92,8 +92,8 @@ in
core = "mednafen-saturn"; core = "mednafen-saturn";
src = fetchRetro { src = fetchRetro {
repo = "beetle-saturn-libretro"; repo = "beetle-saturn-libretro";
rev = "bb5d0c126feb25cf980f5cc1fc57d6a5a6f6e7ab"; rev = "3f1661b39ef249e105e6e2e655854ad0c87cd497";
sha256 = "0bnsdy27378b71y6aa65k4jxxy2xw6ky2ici3z53hkky2jnnjq0b"; sha256 = "1d1brysynwr6inlwfgv7gwkl3i9mf4lsaxd9wm2szw86g4diyn4c";
}; };
description = "Port of Mednafen's Saturn core to libretro"; description = "Port of Mednafen's Saturn core to libretro";
}).override { }).override {
@ -106,8 +106,8 @@ in
core = bname + "-accuracy"; core = bname + "-accuracy";
src = fetchRetro { src = fetchRetro {
repo = bname; repo = bname;
rev = "0bfe7f4f895af0927cec1c06dcae096b59416159"; rev = "e89c9a2e0a12d588366ee4f5c76b7d75139d938b";
sha256 = "0dmaa1vy6nfj9jk6xkvrbbcxa9j3f3zrp24zflnqbizc088vncb9"; sha256 = "0vkn1f38vwazpp3kbvvv8c467ghak6yfx00s48wkxwvhmak74a3s";
}; };
description = "Fork of bsnes with HLE DSP emulation restored"; description = "Fork of bsnes with HLE DSP emulation restored";
}).override { }).override {
@ -118,8 +118,8 @@ in
core = "desmume"; core = "desmume";
src = fetchRetro { src = fetchRetro {
repo = core; repo = core;
rev = "cae5945149a72b1dc0b130d6e60e2690b88a925a"; rev = "ce1f93abb4c3aa55099f56298e5438a03a3c2bbd";
sha256 = "1qzlbw0vy87zi3w6hp5zj9dxdkj3qc9czjf41sj70irwyvqi0kii"; sha256 = "064gzfbr7yizmvi91ry5y6bzikj633kdqhvzycb9f1g6kspf8yyl";
}; };
description = "libretro wrapper for desmume NDS emulator"; description = "libretro wrapper for desmume NDS emulator";
}).override { }).override {
@ -130,15 +130,15 @@ in
core = "fba"; core = "fba";
src = fetchRetro { src = fetchRetro {
repo = core + "-libretro"; repo = core + "-libretro";
rev = "b642e054a1f581fbac16c08f4b8df9ab6c474203"; rev = "9146c18ac989c619256d1cb8954d49e728e44ea3";
sha256 = "0jxbzjhpyw1fzipm2ai2nv62vb0q5cb203m093vakr1zdsx7si2n"; sha256 = "159dww8mxi95xz4ypw38vsn1g4k6z8sv415qqf0qriydwhw6mh2m";
}; };
description = "Port of Final Burn Alpha to libretro"; description = "Port of Final Burn Alpha to libretro";
}).override { }).override {
buildPhase = '' buildPhase = ''
cd svn-current/trunk \ cd svn-current/trunk \
&& make -f makefile.libretro \ && make -f makefile.libretro \
&& mv fb_alpha_libretro.so fba_libretro.so && mv fbalpha2012_libretro.so fba_libretro.so
''; '';
}; };
@ -146,30 +146,28 @@ in
core = "fceumm"; core = "fceumm";
src = fetchRetro { src = fetchRetro {
repo = "libretro-" + core; repo = "libretro-" + core;
rev = "eb19d48804ebeb381b20e74db7033c321f6b6d04"; rev = "45f773a1c221121746bbe2680e3aaaf92776a87e";
sha256 = "18wm6yzwshqfkd75kkcv035p1s2yhnchn98bcn9aj15aw5qyhvd4"; sha256 = "0jnwh1338q710x47bzrx319g5xbq9ipv35kyjlbkrzhqjq1blz0b";
}; };
description = "FCEUmm libretro port"; description = "FCEUmm libretro port";
}; };
gambatte = (mkLibRetroCore rec { gambatte = mkLibRetroCore rec {
core = "gambatte"; core = "gambatte";
src = fetchRetro { src = fetchRetro {
repo = core + "-libretro"; repo = core + "-libretro";
rev = "59fb6a652e0de3c3a3b29e58af5ac035958da37e"; rev = "db7af6cf6ea39fd5e39eea137ff752649599a4e4";
sha256 = "0n2416lgqbzah1q3ji1hhpcdi9h29563gz739kf9libmnz86vd6f"; sha256 = "0h7hyj630nk1s32wx02y4q9x2lp6wbnh6nkc9ihf4pygcsignmwr";
}; };
description = "Gambatte libretro port"; description = "Gambatte libretro port";
}).override {
configurePhase = "cd libgambatte";
}; };
genesis-plus-gx = mkLibRetroCore rec { genesis-plus-gx = mkLibRetroCore rec {
core = "genesis-plus-gx"; core = "genesis-plus-gx";
src = fetchRetro { src = fetchRetro {
repo = "Genesis-Plus-GX"; repo = "Genesis-Plus-GX";
rev = "7d8d5f1026af8cfd00cdf32c67a999bd1e454a09"; rev = "365a28c7349b691e6aaa3ad59b055261c42bd130";
sha256 = "16jm97h66bb2sqlimjlks31sapb23x4q8sr16wdqn1xgi670xw3c"; sha256 = "0s11ddpnb44q4xjkl7dylldhi9y5zqywqavpk0bbwyj84r1cbz3c";
}; };
description = "Enhanced Genesis Plus libretro port"; description = "Enhanced Genesis Plus libretro port";
}; };
@ -178,20 +176,20 @@ in
core = "mame"; core = "mame";
src = fetchRetro { src = fetchRetro {
repo = "mame"; repo = "mame";
rev = "8da2303292bb8530f9f4ffad8bf1df95ee4cab74"; rev = "9f8a36adeb4dc54ec2ecac992ce91bcdb377519e";
sha256 = "0afsxsm1d4x9jn28qz6v47hhnp7q9i0yqk62i4lk4d7i7m4dq5j9"; sha256 = "0blfvq28hgv9kkpijd8c9d9sa5g2qr448clwi7wrj8kqfdnrr8m1";
}; };
description = "Port of MAME to libretro"; description = "Port of MAME to libretro";
extraBuildInputs = [ alsaLib portaudio python27 ]; extraBuildInputs = [ alsaLib mesa portaudio python27 xorg.libX11 ];
}; };
mgba = mkLibRetroCore rec { mgba = mkLibRetroCore rec {
core = "mgba"; core = "mgba";
src = fetchRetro { src = fetchRetro {
repo = core; repo = core;
rev = "4000128339b535896615c994cafcd777637573f4"; rev = "fdaaaee661e59f28c94c7cfa4e82e70b71e24a9d";
sha256 = "1yar78rvgfqx7jdna9chkmmbnpcf7k9ckbzj506f7k7m7zv819fn"; sha256 = "1b30sa861r4bhbqkx6vkklh4iy625bpzki2ks4ivvjns1ijczvc7";
}; };
description = "Port of mGBA to libretro"; description = "Port of mGBA to libretro";
}; };
@ -200,12 +198,12 @@ in
core = "mupen64plus"; core = "mupen64plus";
src = fetchRetro { src = fetchRetro {
repo = core + "-libretro"; repo = core + "-libretro";
rev = "7db9296453629a44de806589f3ff64e824e775ad"; rev = "407bcd40b3a42bff6b856a6d6f88a7d5d670bf9e";
sha256 = "075lpmwmj99yf9d9905x7apawd4bqz0whr37mh2fgr3jf730yiyl"; sha256 = "0q5kvjz7rpk7mp75cdywqjgmy10c0h7ky26hh1x90d39y94idcd8";
}; };
description = "Libretro port of Mupen64 Plus, GL only"; description = "Libretro port of Mupen64 Plus, GL only";
extraBuildInputs = [ mesa ]; extraBuildInputs = [ mesa libpng ];
}).override { }).override {
buildPhase = "make WITH_DYNAREC=${if stdenv.system == "x86_64-linux" then "x86_64" else "x86"}"; buildPhase = "make WITH_DYNAREC=${if stdenv.system == "x86_64-linux" then "x86_64" else "x86"}";
}; };
@ -214,8 +212,8 @@ in
core = "nestopia"; core = "nestopia";
src = fetchRetro { src = fetchRetro {
repo = core; repo = core;
rev = "dcaed965760669161d6fd44755887545ea393041"; rev = "ecfa170a582e5b8ec11225ca645843fa064955ca";
sha256 = "03fy5hb181ffx8sk9wmm415k084zqqhfqga4crgc7hdqi16s3r5v"; sha256 = "17ac7dhasch6f4lpill8c5scsvaix0jvbf1cp797qbll4hk84f2q";
}; };
description = "nestopia undead libretro port"; description = "nestopia undead libretro port";
}).override { }).override {
@ -226,8 +224,8 @@ in
core = "picodrive"; core = "picodrive";
src = fetchRetro { src = fetchRetro {
repo = core; repo = core;
rev = "e912fdf26376bfa5d7d6488055fe6fdbd13c2e49"; rev = "cbc93b68dca1d72882d07b54bbe1ef25b980558a";
sha256 = "1mi36y8kx6s76cgygpj11zw35p44gd66mxygmxliz7k6xsd7ww41"; sha256 = "0fl9r6jj2x9231md5zc4scra79j5hfn1n2z67scff1375xg1k64h";
}; };
description = "Fast MegaDrive/MegaCD/32X emulator"; description = "Fast MegaDrive/MegaCD/32X emulator";
@ -241,8 +239,8 @@ in
core = "ppsspp"; core = "ppsspp";
src = fetchRetro { src = fetchRetro {
repo = "libretro-" + core; repo = "libretro-" + core;
rev = "ea17e27fcf16b9f875718b6550fe7145c6257c06"; rev = "5f7bcf7bfc15f83d405bcecd7a163a55ad1e7573";
sha256 = "0w5njj5pamqc4a022hdplb7vapwkf34ad1w4acz3c8b05vkl457d"; sha256 = "06k1gzmypz61dslynrw4b5i161rhj43y6wnr2nhbzvwcv5bw8w8r";
}; };
description = "ppsspp libretro port"; description = "ppsspp libretro port";
extraBuildInputs = [ mesa ffmpeg ]; extraBuildInputs = [ mesa ffmpeg ];
@ -254,8 +252,8 @@ in
core = "prboom"; core = "prboom";
src = fetchRetro { src = fetchRetro {
repo = "libretro-" + core; repo = "libretro-" + core;
rev = "90ad0db331c53e8851581e1547b7377fb9fffe5b"; rev = "4c690eb6b569a276c5b2a87680718f715477eae2";
sha256 = "0jk73nakrs9jxj3d0dmjs0csskjhddn8a4sky3mpk9vp30csx0ll"; sha256 = "02vkl3y5dmyzifsviphspqv03a2rdyf36zpjpgfg7x0s226f56ja";
}; };
description = "Prboom libretro port"; description = "Prboom libretro port";
}).override { }).override {
@ -266,8 +264,8 @@ in
core = "quicknes"; core = "quicknes";
src = fetchRetro { src = fetchRetro {
repo = "QuickNES_Core"; repo = "QuickNES_Core";
rev = "518638b8064c9d0cb1b5aa29d96419f8528c9de5"; rev = "8613b48cee97f1472145bbafa76e543854b2bbd5";
sha256 = "0jv1z65m4j3hbfnb3chklh0dhwlc4gdqr0asswdsc1y4iwp0331c"; sha256 = "18lizdb9zjlfhh8ibvmcscldlf3mw4aj8nds3pah68cd2lw170w1";
}; };
description = "QuickNES libretro port"; description = "QuickNES libretro port";
}).override { }).override {
@ -278,8 +276,8 @@ in
core = "reicast"; core = "reicast";
src = fetchRetro { src = fetchRetro {
repo = core + "-emulator"; repo = core + "-emulator";
rev = "ed47c72cf2e124d9d753285fd61d12ea8e071d0d"; rev = "40d4e8af2dd67a3f317c14224873c8ec0e1f9d11";
sha256 = "05dw7qjnprf1lw3ps0sb7sp73hsh1a27rxbwjqd26j85zr84g3r9"; sha256 = "0d8wzpv7pcyh437gmvi439vim26wyrjmi5hj97wvyvggywjwrx8m";
}; };
description = "Reicast libretro port"; description = "Reicast libretro port";
extraBuildInputs = [ mesa ]; extraBuildInputs = [ mesa ];
@ -291,8 +289,8 @@ in
core = "scummvm"; core = "scummvm";
src = fetchRetro { src = fetchRetro {
repo = core; repo = core;
rev = "c3e719acc08c1873609bab3578939b7c9e606511"; rev = "de8d7e58caa23f071ce9d1bc5133f45d16c3ff1c";
sha256 = "03wvffy3h62qc7f3d8042wd234m8ikd843ggp903y285sgh54r9y"; sha256 = "097i2dq3hw14hicsplrs36j1qa3r45vhzny5v4aw6qw4aj34hksy";
}; };
description = "Libretro port of ScummVM"; description = "Libretro port of ScummVM";
extraBuildInputs = [ fluidsynth libjpeg libvorbis mesa SDL ]; extraBuildInputs = [ fluidsynth libjpeg libvorbis mesa SDL ];
@ -304,30 +302,35 @@ in
core = "snes9x"; core = "snes9x";
src = fetchRetro { src = fetchRetro {
repo = core; repo = core;
rev = "ccf1ee2eae73ed1e4044c8dd9536dd4ac1be6d8b"; rev = "db4bfaba3b0d5a067fe9aea323503656837a8d9a";
sha256 = "1bwjk817m8v69s13fc9kcj605ig6707rsj57wmz2ri2ggmydhvcb"; sha256 = "02f04ss45km32lp68diyfkix1gryx89qy8cc80189ipwnx80pgip";
}; };
description = "Port of SNES9x git to libretro"; description = "Port of SNES9x git to libretro";
}).override { }).override {
buildPhase = "cd libretro && make"; buildPhase = "cd libretro && make";
}; };
snes9x-next = mkLibRetroCore rec { snes9x-next = (mkLibRetroCore rec {
core = "snes9x-next"; core = "snes9x-next";
src = fetchRetro { src = fetchRetro {
repo = core; repo = core;
rev = "dfb7eef46d6bc2dbcc98f25e2bfadc9d2cff5cfd"; rev = "b2a69de0df1eb39ed362806f9c9633f4544272af";
sha256 = "0vdfjdwr6b5izh3gy63lcfnrdvr99qhlqfibjw4mmyqk9gkjrwm8"; sha256 = "1vhgsrg9l562nincfvpj2h2dqkkblg1qmh0v47jqlqgmgl2b1zij";
}; };
description = "Optimized port/rewrite of SNES9x 1.52+ to Libretro"; description = "Optimized port/rewrite of SNES9x 1.52+ to Libretro";
}).override {
buildPhase = ''
make -f Makefile.libretro
mv snes9x2010_libretro.so snes9x_next_libretro.so
'';
}; };
stella = (mkLibRetroCore rec { stella = (mkLibRetroCore rec {
core = "stella"; core = "stella";
src = fetchRetro { src = fetchRetro {
repo = core + "-libretro"; repo = core + "-libretro";
rev = "ada5c57d632ace0ba915ce7a470d504a5d89ebcc"; rev = "bbe65db0e344dcb38905586bd853076b65963e5a";
sha256 = "090isch1l5hm07l22l8hja31cdiaxc0vgc3i01qs8zgdyvsx4vvg"; sha256 = "18r1yyfzvjq2hq04d94y37kzsq6aywh1aim69a3imk8kh46gwrh0";
}; };
description = "Port of Stella to libretro"; description = "Port of Stella to libretro";
}).override { }).override {
@ -338,8 +341,8 @@ in
core = "vba-next"; core = "vba-next";
src = fetchRetro { src = fetchRetro {
repo = core; repo = core;
rev = "0c20cd92bc8684340d7a1bcae14a603001ad5e4a"; rev = "e7734756d228ea604f8fa872cea1bba987780791";
sha256 = "016vm2xyjfkkcqkqfw3n09if4bxxppk3g6p92waa9bv2ni4xli69"; sha256 = "03s4rh7dbbhbfc4pfdvr9jcbxrp4ijg8yp49s1xhr7sxsblj2vpv";
}; };
description = "VBA-M libretro port with modifications for speed"; description = "VBA-M libretro port with modifications for speed";
}; };
@ -348,8 +351,8 @@ in
core = "vbam"; core = "vbam";
src = fetchRetro { src = fetchRetro {
repo = core + "-libretro"; repo = core + "-libretro";
rev = "bedddba614bc4fcbcf5b0d8565f94619b094c20c"; rev = "1b82fc2d761f027567632692f787482d1e287ec2";
sha256 = "1hvq4wsznb2vzg11iqmy5dnfjpiga368p1lmsx9d7ci7dcqyw7wy"; sha256 = "043djmqvh2grc25hwjw4b5kfx57b89ryp6fcl8v632sm35l3dd6z";
}; };
description = "vanilla VBA-M libretro port"; description = "vanilla VBA-M libretro port";
}).override { }).override {