From b759a9ffdfd8f38043c8100e9984ebecd34360f9 Mon Sep 17 00:00:00 2001 From: Maxim Cournoyer Date: Sun, 29 Sep 2024 17:06:34 +0900 Subject: gnu: Add retroarch-joypad-autoconfig. * gnu/packages/emulators.scm (retroarch-joypad-autoconfig): New variable. Change-Id: I56fe94f78b661c082a6e59fd59980462a0884a03 --- gnu/packages/emulators.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/gnu/packages/emulators.scm b/gnu/packages/emulators.scm index 56ef97567e..a1e5a1f0c9 100644 --- a/gnu/packages/emulators.scm +++ b/gnu/packages/emulators.scm @@ -1549,6 +1549,34 @@ metadata about each known libretro core. The snapshot is taken from the @url{https://github.com/libretro/libretro-super, libretro-super} repository.") (license license:expat)))) +(define-public retroarch-joypad-autoconfig + (package + (name "retroarch-joypad-autoconfig") + (version "1.19.0") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/libretro/retroarch-joypad-autoconfig") + (commit (string-append "v" version)))) + (file-name (git-file-name name version)) + (sha256 + (base32 + "1gg4nc2wjqz72z40diqbanfkfalvb9hhb8scwn51v2w704rm634b")))) + (build-system gnu-build-system) + (arguments + (list #:tests? #f ;no meaningful test suite + #:make-flags #~(list (string-append "PREFIX=" #$output)) + #:phases #~(modify-phases %standard-phases + (delete 'configure)))) ;no configure script + (home-page "https://github.com/libretro/retroarch-joypad-autoconfig") + (synopsis "RetroArch joypad autoconfig files") + (description "This package provides joypad autoconfig files for RetroArch, +the reference frontend for the libretro API. The autoconfig files are used to +recognize input devices and automatically setup default mappings between the +physical device and the RetroPad virtual controller.") + (license license:expat))) + (define-public retroarch (package (name "retroarch") -- cgit v1.2.3