gnu: Add libretro-database.

* gnu/packages/emulators.scm (libretro-database): New variable.

Reviewed-by: Sou Bunnbu (宋文武) <iyzsong@member.fsf.org>
Change-Id: I97b10abf9b2984cf2a622517b3c794474e98a3d0
This commit is contained in:
Maxim Cournoyer 2025-01-18 12:31:22 +09:00
parent f30a31d797
commit e17ace5e83
No known key found for this signature in database
GPG key ID: 1260E46482E63562

View file

@ -1806,6 +1806,44 @@ (define-public libretro-core-info
(define-public retroarch-core-info (define-public retroarch-core-info
(deprecated-package "retroarch-core-info" libretro-core-info)) (deprecated-package "retroarch-core-info" libretro-core-info))
(define-public libretro-database
(package
(name "libretro-database")
(version "1.20.0")
(source (origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/libretro/libretro-database")
(commit (string-append "v" version))))
(file-name (git-file-name name version))
(sha256
(base32
"086a9grpd1irsdns2zx3hlna72bbrmsfra4r498wi4ia9zf8nb0p"))))
(build-system gnu-build-system)
(arguments (list #:tests? #f
#:make-flags #~(list (string-append "PREFIX=" #$output))))
(home-page "https://github.com/libretro/libretro-database/")
(synopsis "Cheat codes and content data files for RetroArch")
(description "RetroArch incorporates a ROM scanning system to
automatically produce playlists. Each ROM that is scanned by the playlist
generator is checked against a database of ROMs that are known to be good
copies. The various directories contain:
@table @code
@item cht
Cheat codes for various games
@item cursors
Methods for querying the playlists
@item dat
Customized DAT files, maintained by the libretro team
@item metadat
Different metadata and third-party DATs available to the system
@item rdb
The compiled RetroArch database files
@item scripts
Various scripts that are used to maintain the database files.
@end table")
(license license:cc-by-sa4.0)))
(define-public retroarch-joypad-autoconfig (define-public retroarch-joypad-autoconfig
(package (package
(name "retroarch-joypad-autoconfig") (name "retroarch-joypad-autoconfig")