diff options
author | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-11-04 07:43:44 +0100 |
---|---|---|
committer | Liliana Marie Prikler <liliana.prikler@gmail.com> | 2023-11-04 07:43:44 +0100 |
commit | 72e886328c14c832b2ed71c400069b63852ee18d (patch) | |
tree | 92b4f32df417af5cbb9433386d996ec7d17522e9 /gnu/packages/sdl.scm | |
parent | 1c41971e721dde203580ec17899beae546f1133a (diff) | |
parent | f54f36b363a86bb033275e3a0594974d3d91bd53 (diff) | |
download | guix-patches-72e886328c14c832b2ed71c400069b63852ee18d.tar guix-patches-72e886328c14c832b2ed71c400069b63852ee18d.tar.gz |
Merge branch 'master' into gnome-team
Change-Id: I88d3789460d1a89917451d80405d89a2824006ac
Diffstat (limited to 'gnu/packages/sdl.scm')
-rw-r--r-- | gnu/packages/sdl.scm | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm index 11aa5e1602..a4ee654097 100644 --- a/gnu/packages/sdl.scm +++ b/gnu/packages/sdl.scm @@ -14,6 +14,7 @@ ;;; Copyright © 2020 Timotej Lazar <timotej.lazar@araneo.si> ;;; Copyright © 2020 Oleg Pykhalov <go.wigust@gmail.com> ;;; Copyright © 2022 Maxim Cournoyer <maxim.cournoyer@gmail.com> +;;; Copyright © 2023 Evgeny Pisemsky <evgeny@pisemsky.com> ;;; ;;; This file is part of GNU Guix. ;;; @@ -41,6 +42,7 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix utils) + #:use-module (guix build-system copy) #:use-module (guix build-system gnu) #:use-module (guix build-system trivial) #:use-module (gnu packages audio) @@ -563,6 +565,31 @@ directory.") (prepend harfbuzz freetype))) (properties '((upstream-name . "SDL2_ttf"))))) +(define-public sdl2-gamecontrollerdb + (let ((commit "6f3c4edcb5a2e2ed090ca8af40d2c0f00dcd77f6") + (revision "0")) + (package + (name "sdl2-gamecontrollerdb") + (version (git-version "0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/gabomdq/SDL_GameControllerDB") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "1gciqc8qm2qgcjj5s9jpclznznsp6awl4ldrnj7g01chkcx0l6a3")))) + (build-system copy-build-system) + (arguments + '(#:install-plan '(("gamecontrollerdb.txt" "share/sdl2/")))) + (home-page "https://github.com/gabomdq/SDL_GameControllerDB") + (synopsis "SDL2 game controller database") + (description + "This package provides a community sourced database of game controller +mappings intended for the use with SDL2's game controller functionality.") + (license license:zlib)))) + (define-public guile-sdl (package (name "guile-sdl") |