3
0
Fork 0
forked from mirrors/nixpkgs
Commit graph

164 commits

Author SHA1 Message Date
Thiago Kenji Okada 9655e2f795 libretro.citra-canary: init at unstable-2022-01-21 2022-01-23 13:06:05 -03:00
Thiago Kenji Okada d32ccbc6da retroarch: add changelog 2022-01-22 11:13:34 -03:00
Thiago Kenji Okada 2ac298e45b libretro: unstable-2021-12-06 -> unstable-2022-01-21 2022-01-21 22:24:24 -03:00
Thiago Kenji Okada b7a617754c retroarch: 1.9.14 -> 1.10.0 2022-01-21 22:24:24 -03:00
Thiago Kenji Okada d83e270109 libretro.citra: remove nix-prefetch-github hack 2022-01-02 19:03:54 -03:00
Thiago Kenji Okada 3a5fd798dc libretro: simplify mkLibRetroCore function 2022-01-02 17:50:52 -03:00
Thiago Kenji Okada 50d554c765 libretro: clean-up some cores 2021-12-06 20:28:19 -03:00
Thiago Kenji Okada de5846b44e libretro.mame: remove unnecessary postPatch 2021-12-06 19:50:33 -03:00
Thiago Kenji Okada 0201901829 libretro.snes9x2005-plus: init at unstable-2021-12-06
This is actually the old `libretro.snes9x2005` renamed with the proper
core name, and the `libretro.snes9x2005` now is build without the
Blaarg's APU (same as upstream).
2021-12-06 19:21:20 -03:00
Thiago Kenji Okada b404c39faa libretro: unstable-2021-11-22 -> unstable-2021-12-06
Also, migrate old MAME cores to build with Python 3 instead of Python 2.
2021-12-06 19:21:20 -03:00
Thiago Kenji Okada 3630026040 retroarch: 1.9.13.2 -> 1.9.14 2021-12-06 19:21:20 -03:00
Thiago Kenji Okada 5c589d83ed libretro: fix core platforms 2021-11-28 15:12:18 -03:00
Thiago Kenji Okada 7ff536edd6 libretro: remove "-DCMAKE_BUILD_TYPE=Release" 2021-11-28 15:12:18 -03:00
Thiago Kenji Okada 6f05bc3791 libretro.pcsx2: init at unstable-2021-11-27
Thanks for @jnetod help.
2021-11-28 15:12:18 -03:00
Thiago Kenji Okada 0e8e7c819c libretro.blastem: init at unstable-2021-11-22 2021-11-22 21:14:04 -03:00
Thiago Kenji Okada 82b4887f1e libretro: unstable-2021-11-16 -> unstable-2021-11-22 2021-11-22 19:22:43 -03:00
Thiago Kenji Okada 9aee0414e0 libretro.bsnes-hd: init at unstable-2021-11-22 2021-11-22 18:50:00 -03:00
Thiago Kenji Okada 2fe3827806 libretro.bsnes: init at unstable-2021-11-22 2021-11-22 18:14:27 -03:00
Thiago Kenji Okada d204860bf5 libretro.mesen-s: init at unstable-2021-11-22 2021-11-22 16:00:14 -03:00
Thiago Kenji Okada d03b66c4a6 libretro.mesen: switch to libretro/mesen
The original repository was abandoned.
2021-11-22 13:49:42 -03:00
Thiago Kenji Okada 18bc6a9efe libretro.melonds: init at unstable-2021-11-22 2021-11-22 13:45:32 -03:00
Thiago Kenji Okada 0d9f8458a6 retroarch: switch from libretro-super to libretro-core-info 2021-11-22 01:05:02 -03:00
Thiago Kenji Okada 716deb5afb libretro.beetle-saturn-hw: remove
This core never worked as intended:
https://github.com/libretro/libretro-core-info/issues/8.
2021-11-22 01:05:02 -03:00
Thiago Kenji Okada 17c37fe0bd libretro.bsnes-mercury-{balanced,performance}: init at unstable-2021-11-16 2021-11-22 00:02:04 -03:00
Thiago Kenji Okada 702c8f29fb libretro: expose mkLibeRetroCore function
This will allow users to package their own core derivations if they want
without necessary submitting to nixpkgs.
2021-11-21 23:23:39 -03:00
Thiago Kenji Okada 994719881a libretro.swanstation: init at unstable-2021-11-21
Sadly the original repository (stenzek/duckstation) is missing the
necessary files to build a libretro core, so we need to use the fork
instead.
2021-11-21 23:15:09 -03:00
Thiago Kenji Okada 33478a118c libretro: make update.py script accept individual cores to update 2021-11-21 23:07:54 -03:00
Thiago Kenji Okada 08b402b70e libretro: enableParalellBuilding, except for older MAMEs
MAME since 0.225 have a fix for the build issues while building in
parallel. Since libretro.mame is on 0.227 right now, should be safe to
enable.

Since eventually enableParallelBuilding should be the default, enabling
it for all cores except the older MAMEs seems better than just enabling
for libretro.mame.
2021-11-20 20:27:48 -03:00
Thiago Kenji Okada f435d7d631 retroarch: fix build on macOS, mark as broken
With those changes retroarch builds on Darwin, but the executable itself
is broken.
2021-11-20 10:41:46 -03:00
Thiago Kenji Okada 03e35cfb65 retroarch: use fixed paths on "libretro_info_path"
This commit introduces a patch that hardcodes "libretro_info_path"
directly in the RetroArch code, without the issues of the previous
approach.

With this commit, RetroArch stops reading "libretro_info_path" from
`retroarch.cfg` file, and always use the default.
2021-11-20 16:34:01 -03:00
Thiago Kenji Okada 24095a994c retroArchCores: remove
`retroArchCores` is strange: it requires a global configuration on nixpkgs, as:

```nix
nixpkgs.config.retroarch = {
  enableDolphin = true;
  enableMGBA = true;
  enableMAME = true;
};
```

To do so, we ended up declaring all available emulators on
`all-packages.nix`. Failing to do so would mean that the emulator
wouldn't be available.

However, there is a mechanism on nixpkgs that also works: overrides.
Overrides are similar on how other packages works, for example:

```nix
(retroarch.override { cores = with libretro; [ citra snes9x ]; });
```

So let's remove `retroArchCores` and leave the overrides mechanism
instead.
2021-11-20 16:19:13 -03:00
Thiago Kenji Okada c8304d130f retroarch: 1.9.2 -> 1.9.13.2
The issue of non-working cores on newer versions of RetroArch was caused
by the missing core metadata that is available on
libretro/libretro-super repo. This also allows RetroArch to works
properly, for example there is no need to load a core before loading a
content: RetroArch knows each emulator to load depending on the
available emulators and the file extension.

To load the metadata from `/nix/store`, we need to patch the
`retroarch.cfg`. Sadly this file is only updated when needed, for
example, it will update if the path that it is pointing doesn't exist
anymore. However, before this PR it pointed to a file located in the
HOME directory, so if someone used RetroArch before they will probably
have issues while loading the file.

I tried to patch the configuration loader directly but the code is kinda
messy and this seems very prone to breakage (while the `retroarch.cfg`
file seems an stable interface). One better solution will probably be
the introduction of a module that can generate `retroarch.cfg` file
(since retroarch supports loading a config from `/etc/retroarch.cfg`).

But this will come in a future PR.
2021-11-19 17:43:47 -03:00
Thiago Kenji Okada 1bf3720f78 libretro.play: fix build 2021-11-17 19:17:41 -03:00
Thiago Kenji Okada 78b9e1252d retroarch,libretro: add myself as maintainer 2021-11-17 12:09:57 -03:00
Thiago Kenji Okada 5fc7933ab8 retroarch: update license 2021-11-17 12:09:43 -03:00
Thiago Kenji Okada e9bbcb7f16 libretro: update core licenses 2021-11-17 12:00:36 -03:00
Thiago Kenji Okada bbf12f11ca libretro: clean-up 2021-11-17 12:00:36 -03:00
Thiago Kenji Okada db9cb2dc10 libretro: name -> pname+version 2021-11-17 12:00:36 -03:00
Thiago Kenji Okada 75e1954f63 retroarch: 1.9.13.2 -> 1.9.2
From retroarch 1.9.3 and above, it stops loading the cores.

This probably can be fixed, but for now at least this brings the
retroarch to a newer (working) version.
2021-11-17 12:00:36 -03:00
Thiago Kenji Okada bf93ad6b39 retroarch: fix editorconfig error on hashes.json 2021-11-17 12:00:35 -03:00
Thiago Kenji Okada 71fb85952d libretro.citra: fix compilation 2021-11-17 12:00:35 -03:00
Thiago Kenji Okada c03e4f141a libretro: 2020-03-06 -> unstable-2021-11-16 2021-11-17 12:00:35 -03:00
Thiago Kenji Okada 8b122f950c libretro: add update.py script 2021-11-17 12:00:35 -03:00
Thiago Kenji Okada 14b2e99b33 retroarch: 1.8.5 -> 1.9.13.2 2021-11-17 12:00:35 -03:00
tomberek 51efdeffe6
Merge pull request #145759 from mattchrist/update-libretro.dolphin
libretro.dolphin: 2020-03-06 -> 2021-11-01
2021-11-13 22:00:34 -05:00
Markus S. Wamser b0249fdf99 pkgs.misc: remove unused args 2021-11-13 23:09:33 +01:00
Matt Christ 5c8bb6ac0d libretro.dolphin: 2020-03-06 -> 2021-11-01 2021-11-13 09:15:32 -06:00
Matt Christ ec27b24452 libretro: mkLibRetroCore: allow specifying custom version 2021-11-13 09:06:44 -06:00
polykernel ca20a96b5f treewide: concatStrings (intersperse ...) -> concatStringsSep ...
Update all usage of lib.concatStrings (lib.intersperse ...) to
lib.concatStringsSep. This produces the same result as per https://github.com/NixOS/nixpkgs/pull/135843,
however it yields a performance benefit on Nix versions that
support the builtins.concatStringsSep primop.
2021-08-28 11:57:59 -04:00
AndersonTorres e9e5f5f84d Change all alsaLib references to alsa-lib 2021-06-10 01:12:49 -03:00