Add libjpeg-turbo v3.0.4 (#48030)

This commit is contained in:
Derek Ryan Strong 2025-03-21 08:22:01 -07:00 committed by GitHub
parent 48258e8ddc
commit ee6ea5155c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -24,6 +24,7 @@ class LibjpegTurbo(CMakePackage, AutotoolsPackage):
license("BSD-3-Clause AND IJG AND Zlib")
version("3.0.4", sha256="0270f9496ad6d69e743f1e7b9e3e9398f5b4d606b6a47744df4b73df50f62e38")
version("3.0.3", sha256="a649205a90e39a548863a3614a9576a3fb4465f8e8e66d54999f127957c25b21")
version("3.0.2", sha256="29f2197345aafe1dcaadc8b055e4cbec9f35aad2a318d61ea081f835af2eebe9")
version("3.0.1", sha256="5b9bbca2b2a87c6632c821799438d358e27004ab528abf798533c15d50b39f82")
@ -57,9 +58,6 @@ class LibjpegTurbo(CMakePackage, AutotoolsPackage):
deprecated=True,
)
depends_on("c", type="build") # generated
depends_on("cxx", type="build") # generated
provides("jpeg")
build_system(
@ -96,12 +94,16 @@ class LibjpegTurbo(CMakePackage, AutotoolsPackage):
when="@2.0.6 +partial_decoder",
)
depends_on("c", type="build")
depends_on("cxx", type="build")
# Can use either of these. But in the current version of the package
# only nasm is used. In order to use yasm an environmental variable
# NASM must be set.
# TODO: Implement the selection between two supported assemblers.
# depends_on('yasm', type='build')
depends_on("nasm", type="build")
with when("build_system=autotools"):
depends_on("autoconf", type="build")
depends_on("automake", type="build")