gnu: nanovg-for-extempore: Update to 0.7.1-0.3c60175.

* gnu/packages/gl.scm (nanovg-for-extempore): Update to 0.7.1-0.3c60175.
[source]: Switch to Git source to include latest changes.
[version]: Use git-version.

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
Giacomo Leidi 2020-04-20 23:56:14 +02:00 committed by Ludovic Courtès
parent b1cb8b5d83
commit 7bb0ba81b3
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -12,6 +12,7 @@
;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr> ;;; Copyright © 2018, 2019 Tobias Geerinckx-Rice <me@tobias.gr>
;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz> ;;; Copyright © 2019 Pierre Neidhardt <mail@ambrevar.xyz>
;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com> ;;; Copyright © 2020 Marius Bakke <mbakke@fastmail.com>
;;; Copyright © 2020 Giacomo Leidi <goodoldpaul@autistici.org>
;;; ;;;
;;; This file is part of GNU Guix. ;;; This file is part of GNU Guix.
;;; ;;;
@ -742,30 +743,34 @@ (define-public glfw
(license license:zlib))) (license license:zlib)))
(define-public nanovg-for-extempore (define-public nanovg-for-extempore
(package (let ((version "0.7.1")
(name "nanovg-for-extempore") (revision "0")
(version "0.7.1") (commit "3c60175fcc2e5fe305b04355cdce35d499c80310"))
(source (origin (package
(method url-fetch) (name "nanovg-for-extempore")
(uri (string-append "https://github.com/extemporelang/nanovg/" (version (git-version version revision commit))
"archive/" version ".tar.gz")) (source (origin
(file-name (string-append name "-" version ".tar.gz")) (method git-fetch)
(sha256 (uri (git-reference
(base32 (url "https://github.com/extemporelang/nanovg.git")
"0ivs1sagq19xiw8jxd9f8w2b39svi0n9hrbmdvckwvqg95r8701g")))) (commit commit)))
(build-system cmake-build-system) (file-name (git-file-name name version))
(arguments `(#:tests? #f)) ; no tests included (sha256
(inputs (base32
`(("mesa" ,mesa))) "0ddn3d3mxqn8hj9967v3pss7lz1wn08pcdnqzc118g7yjkq7hxzy"))))
;; Extempore refuses to build on architectures other than x86_64 (build-system cmake-build-system)
(supported-systems '("x86_64-linux")) (arguments `(#:tests? #f)) ; no tests included
(home-page "https://github.com/extemporelang/nanovg") (inputs
(synopsis "2D vector drawing library on top of OpenGL") `(("mesa" ,mesa)))
(description "NanoVG is small antialiased vector graphics rendering ;; Extempore refuses to build on architectures other than x86_64
(supported-systems '("x86_64-linux"))
(home-page "https://github.com/extemporelang/nanovg")
(synopsis "2D vector drawing library on top of OpenGL")
(description "NanoVG is small antialiased vector graphics rendering
library for OpenGL. It has lean API modeled after HTML5 canvas API. It is library for OpenGL. It has lean API modeled after HTML5 canvas API. It is
aimed to be a practical and fun toolset for building scalable user interfaces aimed to be a practical and fun toolset for building scalable user interfaces
and visualizations.") and visualizations.")
(license license:zlib))) (license license:zlib))))
(define-public gl2ps (define-public gl2ps
(package (package