diff options
author | Michael Kuhn <michael.kuhn@ovgu.de> | 2022-05-18 23:13:36 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-18 15:13:36 -0600 |
commit | 9e05dde28c568f33af124f3dace428541470400a (patch) | |
tree | fa432d0867b371f5a33040ec433c8610c573d441 /var | |
parent | b1ef5a75f0f46130b19ee0b6662626164a98f772 (diff) | |
download | spack-9e05dde28c568f33af124f3dace428541470400a.tar.gz spack-9e05dde28c568f33af124f3dace428541470400a.tar.bz2 spack-9e05dde28c568f33af124f3dace428541470400a.tar.xz spack-9e05dde28c568f33af124f3dace428541470400a.zip |
harfbuzz: add gobject-introspection dependency (#30715)
Fixes #30706
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/harfbuzz/package.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/harfbuzz/package.py b/var/spack/repos/builtin/packages/harfbuzz/package.py index 7ccc6aa645..ddb37df257 100644 --- a/var/spack/repos/builtin/packages/harfbuzz/package.py +++ b/var/spack/repos/builtin/packages/harfbuzz/package.py @@ -31,6 +31,7 @@ class Harfbuzz(MesonPackage): depends_on("pkgconfig", type="build") depends_on("glib") + depends_on("gobject-introspection") depends_on("icu4c") depends_on("freetype") depends_on("cairo+pdf+ft") @@ -58,6 +59,20 @@ class Harfbuzz(MesonPackage): flags.append('-std=gnu99') return (None, None, flags) + def setup_run_environment(self, env): + env.prepend_path("GI_TYPELIB_PATH", + join_path(self.prefix.lib, 'girepository-1.0')) + + def setup_dependent_build_environment(self, env, dependent_spec): + env.prepend_path('XDG_DATA_DIRS', self.prefix.share) + env.prepend_path("GI_TYPELIB_PATH", + join_path(self.prefix.lib, 'girepository-1.0')) + + def setup_dependent_run_environment(self, env, dependent_spec): + env.prepend_path('XDG_DATA_DIRS', self.prefix.share) + env.prepend_path("GI_TYPELIB_PATH", + join_path(self.prefix.lib, 'girepository-1.0')) + def meson_args(self): args = [] |