mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-05-24 10:01:47 +02:00
gnu: sdl3: Update to 3.2.8.
* gnu/packages/sdl.scm (sdl3): Update to 3.2.8. [arguments]: Add additional flags for using shared libraries. [propagated-inputs]: Add all inputs needed by pkg-config at configure time. [inputs]: Add all other inputs, copied from SDL2. Change-Id: Ia18dc5867e19ca6c4e265c596d6f769549fe05d8
This commit is contained in:
+30
-11
@@ -151,16 +151,16 @@ hardware.")
|
||||
(package
|
||||
(inherit sdl2)
|
||||
(name "sdl3")
|
||||
(version "3.2.0")
|
||||
(source (origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/libsdl-org/SDL")
|
||||
(commit (string-append "release-" version))))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32
|
||||
"11hrhvf74in0amdrmhcf11ll48pxqbidyqawr9hx2cgdwlzdjll1"))))
|
||||
(version "3.2.8")
|
||||
(source
|
||||
(origin
|
||||
(method url-fetch)
|
||||
(uri (string-append "https://github.com/libsdl-org/SDL/"
|
||||
"releases/download/release-"
|
||||
version "/SDL3-" version ".tar.gz"))
|
||||
(sha256
|
||||
(base32
|
||||
"00yv0273fvljp916kjvcmr60bl97pd95xdpjrn77dpk1nfmqyf0k"))))
|
||||
(build-system cmake-build-system)
|
||||
(arguments
|
||||
(list
|
||||
@@ -169,8 +169,10 @@ hardware.")
|
||||
#~(list "-DSDL_SHARED=ON"
|
||||
"-DSDL_ALSA_SHARED=OFF"
|
||||
"-DSDL_PULSEAUDIO_SHARED=OFF"
|
||||
"-DSDL_PIPEWIRE_SHARED=OFF"
|
||||
"-DSDL_X11_SHARED=OFF"
|
||||
"-DSDL_WAYLAND_SHARED=OFF"
|
||||
"-DSDL_WAYLAND_LIBDECOR_SHARED=OFF"
|
||||
"-DSDL_KMSDRM=ON"
|
||||
"-DSDL_KMSDRM_SHARED=OFF"
|
||||
(string-append
|
||||
@@ -179,7 +181,24 @@ hardware.")
|
||||
(list
|
||||
(string-append #$(this-package-input "eudev") "/lib")
|
||||
(string-append #$(this-package-input "vulkan-loader") "/lib"))
|
||||
";")))))))
|
||||
";")))))
|
||||
;; Many inputs need to be propagated for the sake of pkg-config.
|
||||
(propagated-inputs
|
||||
(list alsa-lib
|
||||
libxcursor ;enables X11 cursor support
|
||||
libxkbcommon
|
||||
libxrandr
|
||||
pipewire
|
||||
pulseaudio
|
||||
wayland))
|
||||
(inputs
|
||||
(list dbus
|
||||
eudev ;for discovering input devices
|
||||
glib
|
||||
ibus-minimal
|
||||
libdecor
|
||||
vulkan-loader
|
||||
wayland-protocols))))
|
||||
|
||||
(define-public sdl12-compat
|
||||
(package
|
||||
|
||||
Reference in New Issue
Block a user