[lcms] Added version 2.13.1 and URL version (#30811)
Co-authored-by: James A Zilberman <jazrc@rit.edu>
This commit is contained in:
parent
d5c68fdc0d
commit
13984a4e8d
1 changed files with 5 additions and 0 deletions
|
@ -14,10 +14,15 @@ class Lcms(AutotoolsPackage):
|
||||||
homepage = "https://www.littlecms.com"
|
homepage = "https://www.littlecms.com"
|
||||||
url = "http://downloads.sourceforge.net/project/lcms/lcms/2.9/lcms2-2.9.tar.gz"
|
url = "http://downloads.sourceforge.net/project/lcms/lcms/2.9/lcms2-2.9.tar.gz"
|
||||||
|
|
||||||
|
version('2.13.1', sha256='d473e796e7b27c5af01bd6d1552d42b45b43457e7182ce9903f38bb748203b88')
|
||||||
version('2.9', sha256='48c6fdf98396fa245ed86e622028caf49b96fa22f3e5734f853f806fbc8e7d20')
|
version('2.9', sha256='48c6fdf98396fa245ed86e622028caf49b96fa22f3e5734f853f806fbc8e7d20')
|
||||||
version('2.8', sha256='66d02b229d2ea9474e62c2b6cd6720fde946155cd1d0d2bffdab829790a0fb22')
|
version('2.8', sha256='66d02b229d2ea9474e62c2b6cd6720fde946155cd1d0d2bffdab829790a0fb22')
|
||||||
version('2.6', sha256='5172528839647c54c3da211837225e221be93e4733f5b5e9f57668f7107e14b1')
|
version('2.6', sha256='5172528839647c54c3da211837225e221be93e4733f5b5e9f57668f7107e14b1')
|
||||||
|
|
||||||
|
def url_for_version(self, version):
|
||||||
|
url = "http://downloads.sourceforge.net/project/lcms/lcms/{0}/lcms2-{1}.tar.gz"
|
||||||
|
return url.format(version.up_to(2), version)
|
||||||
|
|
||||||
depends_on('jpeg')
|
depends_on('jpeg')
|
||||||
depends_on('libtiff')
|
depends_on('libtiff')
|
||||||
depends_on('zlib')
|
depends_on('zlib')
|
||||||
|
|
Loading…
Reference in a new issue