gnu: freetype: Update to 2.5.5.

* gnu/packages/fontutils.scm (freetype): Update to 2.5.5.
This commit is contained in:
Andreas Enge 2015-02-15 19:17:57 +01:00
parent 605217beaa
commit 9e91418b10
1 changed files with 10 additions and 15 deletions

View File

@ -40,28 +40,23 @@
(define-public freetype (define-public freetype
(package (package
(name "freetype") (name "freetype")
(version "2.4.11") (version "2.5.5")
(source (origin (source (origin
(method url-fetch) (method url-fetch)
(uri (string-append "mirror://savannah/freetype/freetype-" (uri (string-append "mirror://savannah/freetype/freetype-"
version ".tar.gz")) version ".tar.bz2"))
(sha256 (base32 (sha256 (base32
"0gpcz6swir64kp0dk3rwgqqkmf48b90dqgczdmznjjryhrahx9r9")))) "1fdgl7js99xv1yy5zx1ravmqd0jxlnqpv7zcl954h4hbg15wqyrq"))))
(build-system gnu-build-system) (build-system gnu-build-system)
(arguments (arguments
`(#:phases `(#:phases
(alist-replace ;; This should not be necessary; reported upstream as
'install ;; https://savannah.nongnu.org/bugs/index.php?44261
(lambda* (#:key outputs #:allow-other-keys #:rest args) (alist-cons-before
(let ((install (assoc-ref %standard-phases 'install)) 'configure 'set-paths
(include (string-append (assoc-ref outputs "out") "/include"))) (lambda _
(apply install args) (setenv "CONFIG_SHELL" (which "bash")))
;; Unravel one directory, since ft2build.h includes directly from %standard-phases)))
;; freetype/, not freetype2/freetype; this is announced in the file
;; to be changed in a future release.
(symlink (string-append include "/freetype2/freetype")
(string-append include "/freetype"))))
%standard-phases)))
(synopsis "Font rendering library") (synopsis "Font rendering library")
(description (description
"Freetype is a library that can be used by applications to access the "Freetype is a library that can be used by applications to access the