Files
distro/recipes/libjpeg-turbo.py
2026-06-02 21:38:47 +02:00

20 lines
601 B
Python

version = "3.1.2"
revision = 1
description = "SIMD-accelerated libjpeg-compatible JPEG codec"
license = "BSD-3-Clause AND IJG"
url = "https://libjpeg-turbo.org/"
source = tarball(
url=f"https://github.com/libjpeg-turbo/libjpeg-turbo/releases/download/{version}/libjpeg-turbo-{version}.tar.gz",
sha256="8f0012234b464ce50890c490f18194f913a7b1f4e6a03d6644179fa0f867d0cf",
)
host_deps = ["binutils", "gcc", "pkgconf"]
deps = [profile["libc"]]
configure, build, install = cmake(
configure_args=[
"-DENABLE_STATIC=OFF",
"-DENABLE_SHARED=ON",
"-DWITH_JPEG8=ON",
],
)