gnu: Use 'https' for libsdl urls.

* gnu/packages/sdl.scm (sdl, sdl2, sdl-image, sdl-mixer, sdl-net)
(sdl-ttf, sdl2-image, sdl2-ttf)[source]: Use https.
[home-page]: Use https.
This commit is contained in:
Efraim Flashner 2016-10-27 11:55:57 +03:00
parent 483b7ce7ae
commit 5d5790ce44
No known key found for this signature in database
GPG Key ID: F4C1D3917EACEE93
1 changed files with 14 additions and 13 deletions

View File

@ -3,6 +3,7 @@
;;; Copyright © 2014 Mark H Weaver <mhw@netris.org> ;;; Copyright © 2014 Mark H Weaver <mhw@netris.org>
;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com> ;;; Copyright © 2015 Sou Bunnbu <iyzsong@gmail.com>
;;; Copyright © 2015 Alex Kost <alezost@gmail.com> ;;; Copyright © 2015 Alex Kost <alezost@gmail.com>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -47,7 +48,7 @@
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (uri
(string-append "http://libsdl.org/release/SDL-" (string-append "https://libsdl.org/release/SDL-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
@ -81,7 +82,7 @@
(description "Simple DirectMedia Layer is a cross-platform development (description "Simple DirectMedia Layer is a cross-platform development
library designed to provide low level access to audio, keyboard, mouse, library designed to provide low level access to audio, keyboard, mouse,
joystick, and graphics hardware.") joystick, and graphics hardware.")
(home-page "http://libsdl.org/") (home-page "https://libsdl.org/")
(license lgpl2.1))) (license lgpl2.1)))
(define-public sdl2 (define-public sdl2
@ -91,7 +92,7 @@ joystick, and graphics hardware.")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (uri
(string-append "http://libsdl.org/release/SDL2-" (string-append "https://libsdl.org/release/SDL2-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
@ -154,7 +155,7 @@ other supporting functions for SDL.")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (uri
(string-append "http://www.libsdl.org/projects/SDL_image/release/SDL_image-" (string-append "https://www.libsdl.org/projects/SDL_image/release/SDL_image-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
@ -180,7 +181,7 @@ other supporting functions for SDL.")
(description "SDL_image is an image file loading library for SDL that (description "SDL_image is an image file loading library for SDL that
supports the following formats: BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF, supports the following formats: BMP, GIF, JPEG, LBM, PCX, PNG, PNM, TGA, TIFF,
WEBP, XCF, XPM, and XV.") WEBP, XCF, XPM, and XV.")
(home-page "http://www.libsdl.org/projects/SDL_image/") (home-page "https://www.libsdl.org/projects/SDL_image/")
(license zlib))) (license zlib)))
(define-public sdl-mixer (define-public sdl-mixer
@ -190,7 +191,7 @@ WEBP, XCF, XPM, and XV.")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (uri
(string-append "http://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-" (string-append "https://www.libsdl.org/projects/SDL_mixer/release/SDL_mixer-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
@ -218,7 +219,7 @@ WEBP, XCF, XPM, and XV.")
It supports any number of simultaneously playing channels of 16 bit stereo It supports any number of simultaneously playing channels of 16 bit stereo
audio, plus a single channel of music. Supported format include FLAC, MOD, audio, plus a single channel of music. Supported format include FLAC, MOD,
MIDI, Ogg Vorbis, and MP3.") MIDI, Ogg Vorbis, and MP3.")
(home-page "http://www.libsdl.org/projects/SDL_mixer/") (home-page "https://www.libsdl.org/projects/SDL_mixer/")
(license zlib))) (license zlib)))
(define-public sdl-net (define-public sdl-net
@ -228,7 +229,7 @@ MIDI, Ogg Vorbis, and MP3.")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (uri
(string-append "http://www.libsdl.org/projects/SDL_net/release/SDL_net-" (string-append "https://www.libsdl.org/projects/SDL_net/release/SDL_net-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
@ -239,7 +240,7 @@ MIDI, Ogg Vorbis, and MP3.")
(synopsis "SDL networking library") (synopsis "SDL networking library")
(description "SDL_net is a small, cross-platform networking library for (description "SDL_net is a small, cross-platform networking library for
SDL.") SDL.")
(home-page "http://www.libsdl.org/projects/SDL_net/") (home-page "https://www.libsdl.org/projects/SDL_net/")
(license zlib))) (license zlib)))
(define-public sdl-ttf (define-public sdl-ttf
@ -249,7 +250,7 @@ SDL.")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (uri
(string-append "http://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-" (string-append "https://www.libsdl.org/projects/SDL_ttf/release/SDL_ttf-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
@ -261,7 +262,7 @@ SDL.")
(native-inputs `(("pkg-config" ,pkg-config))) (native-inputs `(("pkg-config" ,pkg-config)))
(synopsis "SDL TrueType font library") (synopsis "SDL TrueType font library")
(description "SDL_ttf is a TrueType font rendering library for SDL.") (description "SDL_ttf is a TrueType font rendering library for SDL.")
(home-page "http://www.libsdl.org/projects/SDL_ttf/") (home-page "https://www.libsdl.org/projects/SDL_ttf/")
(license zlib))) (license zlib)))
(define* (sdl-union #:optional (packages (list sdl sdl-gfx sdl-net sdl-ttf (define* (sdl-union #:optional (packages (list sdl sdl-gfx sdl-net sdl-ttf
@ -308,7 +309,7 @@ directory.")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (uri
(string-append "http://www.libsdl.org/projects/SDL_image/release/SDL2_image-" (string-append "https://www.libsdl.org/projects/SDL_image/release/SDL2_image-"
version ".tar.gz")) version ".tar.gz"))
(sha256 (sha256
(base32 (base32
@ -342,7 +343,7 @@ directory.")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (uri
(string-append "http://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-" (string-append "https://www.libsdl.org/projects/SDL_ttf/release/SDL2_ttf-"
version ".tar.gz")) version ".tar.gz"))
(modules '((guix build utils))) (modules '((guix build utils)))
(snippet (snippet