summary refs log tree commit diff
path: root/gnu/packages/sdl.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson@vistahigherlearning.com>2015-12-15 13:31:32 -0500
committerDavid Thompson <dthompson2@worcester.edu>2015-12-17 22:01:49 -0500
commitd3f6a1defb3d3b7824ae54aaf756b196ff451a25 (patch)
tree854587f1a7deb906f894430d85fb5594a67d1b21 /gnu/packages/sdl.scm
parent855e2939819c967d42d34b4c90f9c1abd9fd3c87 (diff)
downloadguix-d3f6a1defb3d3b7824ae54aaf756b196ff451a25.tar.gz
gnu: Add sdl2-ttf.
* gnu/packages/sdl.scm (sdl2-ttf): New variable.
Diffstat (limited to 'gnu/packages/sdl.scm')
-rw-r--r--gnu/packages/sdl.scm15
1 files changed, 15 insertions, 0 deletions
diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 2d019665ba..2fdddcc17e 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -338,6 +338,21 @@ directory.")
     (propagated-inputs
      (propagated-inputs-with-sdl2 sdl-mixer))))
 
+(define-public sdl2-ttf
+  (package (inherit sdl-ttf)
+    (name "sdl2-ttf")
+    (version "2.0.12")
+    (source (origin
+             (method url-fetch)
+             (uri
+              (string-append "http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-"
+                             version ".tar.gz"))
+             (sha256
+              (base32
+               "0vkg6lyj278mdpd52map3rfi65fbq16w67ahmmfcl77a8da60a47"))))
+    (propagated-inputs
+     (propagated-inputs-with-sdl2 sdl-ttf))))
+
 (define-public guile-sdl
   (package
     (name "guile-sdl")