From 4652b217cfc2edc4a39833ea61790b7cd5ba6b05 Mon Sep 17 00:00:00 2001 From: Geoffrey Oxberry Date: Tue, 16 Jun 2020 15:34:18 -0700 Subject: [PATCH] pango: add libffi, glib, and other dependencies (#12384) --- var/spack/repos/builtin/packages/pango/package.py | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/var/spack/repos/builtin/packages/pango/package.py b/var/spack/repos/builtin/packages/pango/package.py index 52874160fc..7d7ef787ce 100644 --- a/var/spack/repos/builtin/packages/pango/package.py +++ b/var/spack/repos/builtin/packages/pango/package.py @@ -23,7 +23,7 @@ class Pango(AutotoolsPackage): variant('X', default=False, description="Enable an X toolkit") - depends_on("pkgconfig", type="build") + depends_on("pkgconfig@0.9.0:", type="build") depends_on("harfbuzz") depends_on("cairo+ft+fc") depends_on("cairo~X", when='~X') @@ -31,6 +31,14 @@ class Pango(AutotoolsPackage): depends_on("libxft", when='+X') depends_on("glib") depends_on('gobject-introspection') + depends_on('fontconfig') + depends_on('freetype@2:') + depends_on('libffi') + + depends_on('harfbuzz@1.2.3:', when='@1.41.0') + depends_on('libxft@2.0.0:', when='@1.41.0 +X') + depends_on('glib@2.33.12:', when='@1.41.0') + depends_on('fontconfig@2.11.91:', when='@1.41.0') def url_for_version(self, version): url = "http://ftp.gnome.org/pub/GNOME/sources/pango/{0}/pango-{1}.tar.xz"