From a95b2732ca803f0e2267b8d5e0e2535851133d40 Mon Sep 17 00:00:00 2001 From: Kei Kebreau Date: Tue, 12 Feb 2019 21:45:03 -0500 Subject: [PATCH] gnu: Add sdl2-gfx. * gnu/packages/sdl.scm (sdl2-gfx): New variable. --- gnu/packages/sdl.scm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm index a1522792a7..2e125c9d23 100644 --- a/gnu/packages/sdl.scm +++ b/gnu/packages/sdl.scm @@ -7,6 +7,7 @@ ;;; Copyright © 2017, 2018 Rutger Helling ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice ;;; Copyright © 2018 Ricardo Wurmus +;;; Copyright © 2019 Kei Kebreau ;;; ;;; This file is part of GNU Guix. ;;; @@ -348,6 +349,21 @@ directory.") (other other)) (package-propagated-inputs package))) +(define-public sdl2-gfx + (package (inherit sdl-gfx) + (name "sdl2-gfx") + (version "1.0.4") + (source (origin + (method url-fetch) + (uri + (string-append "https://www.ferzkopp.net/Software/SDL2_gfx/SDL2_gfx-" + version ".tar.gz")) + (sha256 + (base32 + "0qk2ax7f7grlxb13ba0ll3zlm8780s7j8fmrhlpxzjgdvldf1q33")))) + (propagated-inputs + (propagated-inputs-with-sdl2 sdl-gfx)))) + (define-public sdl2-image (package (inherit sdl-image) (name "sdl2-image")