gnu: jasper: Fetch sources from git.

* gnu/packages/image.scm (jasper)[source]: Fetch from git.
master
Ricardo Wurmus 2018-11-29 22:37:43 +01:00
parent 94be94cfda
commit d57b017ccc
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 6 additions and 5 deletions

View File

@ -1121,13 +1121,14 @@ convert, manipulate, filter and display a wide variety of image formats.")
(name "jasper")
(version "2.0.14")
(source (origin
(method url-fetch)
(uri (string-append "https://github.com/mdadams/jasper/archive/"
"version-" version ".tar.gz"))
(file-name (string-append name "-" version ".tar.gz"))
(method git-fetch)
(uri (git-reference
(url "https://github.com/mdadams/jasper.git")
(commit (string-append "version-" version))))
(file-name (git-file-name name version))
(sha256
(base32
"0yx9y5y0g6jv142vnqp50j3k8k5yqznz3smrblv192wgfbm6w9l5"))))
"0aarg8nbik9wrm7fx0451sbm5ypfdfr6i169pxzi354mpdp8gg7f"))))
(build-system cmake-build-system)
(inputs `(("libjpeg" ,libjpeg)))
(synopsis "JPEG-2000 library")