diff options
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/sdl.scm | 14 | ||||
-rw-r--r-- | gnu/packages/video.scm | 2 |
2 files changed, 16 insertions, 0 deletions
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm index 2523889a8df..2a10ff39625 100644 --- a/gnu/packages/sdl.scm +++ b/gnu/packages/sdl.scm @@ -155,6 +155,20 @@ joystick, and graphics hardware.") wayland-protocols))) (license license:bsd-3))) +(define-public sdl2-2.0 + (package + (inherit sdl2) + (name "sdl2") + (version "2.0.14") + (source (origin + (method url-fetch) + (uri + (string-append "https://libsdl.org/release/SDL2-" + version ".tar.gz")) + (sha256 + (base32 + "1g1jahknv5r4yhh1xq5sf0md20ybdw1zh1i15lry26sq39bmn8fq")))))) + (define-public libmikmod (package (name "libmikmod") diff --git a/gnu/packages/video.scm b/gnu/packages/video.scm index 6a14a85b743..5568c5be8b4 100644 --- a/gnu/packages/video.scm +++ b/gnu/packages/video.scm @@ -1772,6 +1772,8 @@ audio/video codec library.") (sha256 (base32 "14xadxm1yaamp216nq09xwasxg5g133v86dbb33mdg5di1zrlhdg")))) + (inputs (modify-inputs (package-inputs ffmpeg-5) + (replace "sdl2" sdl2-2.0))) (arguments (substitute-keyword-arguments (package-arguments ffmpeg-5) ((#:configure-flags flags ''()) |