Archived
1
0
Fork 0

gnu: sdl2: Update to 2.0.18.

* gnu/packages/sdl.scm (sdl2): Update to 2.0.18.
[inputs]: Remove labels.

Signed-off-by: Nicolas Goaziou <mail@nicolasgoaziou.fr>
This commit is contained in:
Nicolas Goaziou 2022-01-25 17:44:50 +01:00
parent bca1157e47
commit 7c57821c68
No known key found for this signature in database
GPG key ID: DA00B4F048E92F2D

View file

@ -111,23 +111,24 @@ joystick, and graphics hardware.")
(license license:lgpl2.1))) (license license:lgpl2.1)))
(define-public sdl2 (define-public sdl2
(package (inherit sdl) (package
(inherit sdl)
(name "sdl2") (name "sdl2")
(version "2.0.14") (version "2.0.18")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (uri
(string-append "https://libsdl.org/release/SDL2-" (string-append "https://libsdl.org/release/SDL2-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
"1g1jahknv5r4yhh1xq5sf0md20ybdw1zh1i15lry26sq39bmn8fq")))) "073iwmggkvvl82fssqb7xzbb4awraprjig6zxav0p8dz7pbhrm4l"))))
(arguments (arguments
(substitute-keyword-arguments (package-arguments sdl) (substitute-keyword-arguments (package-arguments sdl)
((#:configure-flags flags) ((#:configure-flags flags)
`(append '("--disable-wayland-shared" "--enable-video-kmsdrm" `(append '("--disable-wayland-shared" "--enable-video-kmsdrm"
"--disable-kmsdrm-shared") "--disable-kmsdrm-shared")
,flags)) ,flags))
((#:make-flags flags ''()) ((#:make-flags flags ''())
`(cons* `(cons*
;; SDL dlopens libudev, so make sure it is in rpath. This overrides ;; SDL dlopens libudev, so make sure it is in rpath. This overrides
@ -141,16 +142,17 @@ joystick, and graphics hardware.")
;; experience a bug where input events are doubled. ;; experience a bug where input events are doubled.
;; ;;
;; For more information, see: https://dev.solus-project.com/T1721 ;; For more information, see: https://dev.solus-project.com/T1721
(append `(("dbus" ,dbus) (modify-inputs (package-inputs sdl)
("eudev" ,eudev) ; for discovering input devices (prepend
("fcitx" ,fcitx) ; helps with CJK input dbus
("glib" ,glib) eudev ;for discovering input devices
("ibus" ,ibus) fcitx ;helps with CJK input
("libxkbcommon" ,libxkbcommon) glib
("libxcursor" ,libxcursor) ; enables X11 cursor support ibus
("wayland" ,wayland) libxkbcommon
("wayland-protocols" ,wayland-protocols)) libxcursor
(package-inputs sdl))) wayland ;enables X11 cursor support
wayland-protocols)))
(license license:bsd-3))) (license license:bsd-3)))
(define-public libmikmod (define-public libmikmod