From 3e466a5d660a58f1630e4929270da36f24762492 Mon Sep 17 00:00:00 2001 From: Wouter Deconinck Date: Mon, 13 May 2024 10:37:29 -0500 Subject: [PATCH] cairo: depends_on lzo --- var/spack/repos/builtin/packages/cairo/package.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/var/spack/repos/builtin/packages/cairo/package.py b/var/spack/repos/builtin/packages/cairo/package.py index fc55d6dbab6..6503b6136de 100644 --- a/var/spack/repos/builtin/packages/cairo/package.py +++ b/var/spack/repos/builtin/packages/cairo/package.py @@ -83,6 +83,10 @@ class Cairo(MesonPackage, AutotoolsPackage): depends_on("fontconfig@2.10.91:", when="+fc") # Require newer version of fontconfig. depends_on("which", type="build") depends_on("zlib", when="+pdf") + # lzo is not strictly required, but cannot be disabled and may be pulled in accidentally + # https://github.com/mesonbuild/meson/issues/8224 + # https://github.com/microsoft/vcpkg/pull/38313 + depends_on("lzo", when="@1.18: build_system=meson") conflicts("+png", when="platform=darwin") conflicts("+svg", when="platform=darwin")