libvips: add v8.15.3 (#46655)

This commit is contained in:
Wouter Deconinck 2024-09-30 02:32:20 -05:00 committed by GitHub
parent d2a5b07d7f
commit 8168b17ddf
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -12,16 +12,23 @@ class Libvips(AutotoolsPackage):
little memory.""" little memory."""
homepage = "https://libvips.github.io/libvips/" homepage = "https://libvips.github.io/libvips/"
url = "https://github.com/libvips/libvips/releases/download/v8.9.0/vips-8.9.0.tar.gz" url = "https://github.com/libvips/libvips/releases/download/v8.15.3/vips-8.15.3.tar.xz"
git = "https://github.com/libvips/libvips.git" git = "https://github.com/libvips/libvips.git"
license("LGPL-2.1-or-later") license("LGPL-2.1-or-later", checked_by="wdconinc")
version("8.15.3", sha256="3e27d9f536eafad64013958fe9e8a1964c90b564c731d49db7c1a1c11b1052a0")
version("8.13.3", sha256="4eff5cdc8dbe1a05a926290a99014e20ba386f5dcca38d9774bef61413435d4c") version("8.13.3", sha256="4eff5cdc8dbe1a05a926290a99014e20ba386f5dcca38d9774bef61413435d4c")
version("8.10.5", sha256="a4eef2f5334ab6dbf133cd3c6d6394d5bdb3e76d5ea4d578b02e1bc3d9e1cfd8") version("8.10.5", sha256="a4eef2f5334ab6dbf133cd3c6d6394d5bdb3e76d5ea4d578b02e1bc3d9e1cfd8")
version("8.9.1", sha256="45633798877839005016c9d3494e98dee065f5cb9e20f4552d3b315b8e8bce91") version("8.9.1", sha256="45633798877839005016c9d3494e98dee065f5cb9e20f4552d3b315b8e8bce91")
version("8.9.0", sha256="97334a5e70aff343d2587f23cb8068fc846a58cd937c89a446142ccf00ea0349") version("8.9.0", sha256="97334a5e70aff343d2587f23cb8068fc846a58cd937c89a446142ccf00ea0349")
build_system(
conditional("autotools", when="@:8.13"),
conditional("meson", when="@8.13:"),
default="meson",
)
depends_on("c", type="build") # generated depends_on("c", type="build") # generated
depends_on("cxx", type="build") # generated depends_on("cxx", type="build") # generated
@ -45,4 +52,8 @@ class Libvips(AutotoolsPackage):
depends_on("libjpeg", when="+jpeg") depends_on("libjpeg", when="+jpeg")
depends_on("libtiff", when="+tiff") depends_on("libtiff", when="+tiff")
depends_on("libpng", when="+png") depends_on("libpng", when="+png")
depends_on("poppler", when="+poppler") depends_on("poppler +glib", when="+poppler")
def url_for_version(self, version):
ext = "xz" if version >= Version("8.14") else "gz"
return f"https://github.com/libvips/libvips/releases/download/v{version}/vips-{version}.tar.{ext}"