guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

branch master updated: gnu: sdl-ttf: Update to 2.0.11.1.


From: guix-commits
Subject: branch master updated: gnu: sdl-ttf: Update to 2.0.11.1.
Date: Sat, 02 Oct 2021 09:41:39 -0400

This is an automated email from the git hooks/post-receive script.

iyzsong pushed a commit to branch master
in repository guix.

The following commit(s) were added to refs/heads/master by this push:
     new 09482dc  gnu: sdl-ttf: Update to 2.0.11.1.
09482dc is described below

commit 09482dcb06d0484f033edf5fcf2377b5a48f2deb
Author: 宋文武 <iyzsong@member.fsf.org>
AuthorDate: Tue Sep 28 22:26:19 2021 +0800

    gnu: sdl-ttf: Update to 2.0.11.1.
    
    * gnu/packages/sdl.scm (sdl-ttf): Update to 2.0.11.1.
---
 gnu/packages/sdl.scm | 22 ++++++++++++++--------
 1 file changed, 14 insertions(+), 8 deletions(-)

diff --git a/gnu/packages/sdl.scm b/gnu/packages/sdl.scm
index 128bd95..f73a025 100644
--- a/gnu/packages/sdl.scm
+++ b/gnu/packages/sdl.scm
@@ -376,15 +376,21 @@ tagged text in SDL applications.")
 (define-public sdl-ttf
   (package
     (name "sdl-ttf")
-    (version "2.0.11")
+    (version "2.0.11.1")
+    ;; No release tarball for 2.0.11.1, changes:
+    ;; <https://github.com/libsdl-org/SDL_ttf/commit/e31d11a692>
     (source (origin
-             (method url-fetch)
-             (uri
-              (string-append 
"https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-";
-                             version ".tar.gz"))
-             (sha256
-              (base32
-               "1dydxd4f5kb1288i5n5568kdk2q7f8mqjr7i7sd33nplxjaxhk3j"))))
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/libsdl-org/SDL_ttf";)
+                    (commit "e31d11a692e5b55e8e624ad766e4e44d655422c8")))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "1id1cdign615wd5rq0g4ppzwclvhkwd61yb5rwvvvakkpplp3lvd"))
+              ;; Remove bundled libraries.
+              (modules '((guix build utils)))
+              (snippet '(delete-file-recursively "external"))))
     (build-system gnu-build-system)
     (propagated-inputs `(("sdl" ,sdl)))
     (inputs `(("freetype" ,freetype)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]