jasper: add 3.0.x (#30614)

This commit is contained in:
Harmen Stoppels 2022-05-11 12:26:23 +02:00 committed by GitHub
parent ee9b61be7a
commit c9c347f0f0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -12,6 +12,7 @@ class Jasper(Package):
homepage = "https://www.ece.uvic.ca/~frodo/jasper/" homepage = "https://www.ece.uvic.ca/~frodo/jasper/"
url = "https://github.com/mdadams/jasper/archive/version-2.0.32.tar.gz" url = "https://github.com/mdadams/jasper/archive/version-2.0.32.tar.gz"
version('3.0.3', sha256='1b324f7746681f6d24d06fcf163cf3b8ae7ac320adc776c3d611b2b62c31b65f')
version('2.0.32', sha256='a3583a06698a6d6106f2fc413aa42d65d86bedf9a988d60e5cfa38bf72bc64b9') version('2.0.32', sha256='a3583a06698a6d6106f2fc413aa42d65d86bedf9a988d60e5cfa38bf72bc64b9')
version('2.0.31', sha256='d419baa2f8a6ffda18472487f6314f0f08b673204723bf11c3a1f5b3f1b8e768') version('2.0.31', sha256='d419baa2f8a6ffda18472487f6314f0f08b673204723bf11c3a1f5b3f1b8e768')
version('2.0.16', sha256='f1d8b90f231184d99968f361884e2054a1714fdbbd9944ba1ae4ebdcc9bbfdb1') version('2.0.16', sha256='f1d8b90f231184d99968f361884e2054a1714fdbbd9944ba1ae4ebdcc9bbfdb1')
@ -27,6 +28,9 @@ class Jasper(Package):
depends_on('jpeg', when='+jpeg') depends_on('jpeg', when='+jpeg')
depends_on('gl', when='+opengl') depends_on('gl', when='+opengl')
# invalid compilers flags
conflicts('@2.0.0:2', when='%nvhpc')
# Fixes a bug where an assertion fails when certain JPEG-2000 # Fixes a bug where an assertion fails when certain JPEG-2000
# files with an alpha channel are processed. # files with an alpha channel are processed.
# See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469786 # See: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=469786