gnu: retroarch-minimal: Add new search paths.

This makes it possible to locate system files provided by libretro cores, as
well as database and cheat files.

* gnu/packages/patches/retroarch-improved-search-paths.patch: Extend patch.
* gnu/packages/emulators.scm (retroarch-minimal) [native-search-paths]:
Register new search paths for the LIBRETRO_CHEATS_DIRECTORY,
LIBRETRO_DATABASE_DIRECTORY and LIBRETRO_SYSTEM_DIRECTORY variables.

Reviewed-by: Sou Bunnbu (宋文武) <iyzsong@member.fsf.org>
Change-Id: I48f9a92608c0e36922ce9dcc9bbb61d6ca915002
This commit is contained in:
Maxim Cournoyer 2025-01-16 21:49:46 +09:00
parent 5aadcaaa65
commit c70a6ffa28
No known key found for this signature in database
GPG key ID: 1260E46482E63562
2 changed files with 181 additions and 41 deletions

View file

@ -2633,6 +2633,18 @@ GLSL (@file{.slang}) shaders for use with RetroArch.")
(variable "LIBRETRO_AUTOCONFIG_DIRECTORY")
(separator #f) ;single entry
(files '("share/libretro/autoconfig")))
(search-path-specification
(variable "LIBRETRO_CHEATS_DIRECTORY")
(separator #f) ;single entry
(files '("share/libretro/database/cht")))
(search-path-specification
(variable "LIBRETRO_DATABASE_DIRECTORY")
(separator #f) ;single entry
(files '("share/libretro/database/rdb")))
(search-path-specification
(variable "LIBRETRO_SYSTEM_DIRECTORY")
(separator #f) ;single entry
(files '("share/libretro/system")))
(search-path-specification
(variable "LIBRETRO_VIDEO_FILTER_DIRECTORY")
(separator #f) ;single entry