gobject-introspection: add GIR file search path (#12564)
This commit is contained in:
parent
16e54646ea
commit
01783789a0
@ -57,6 +57,10 @@ def url_for_version(self, version):
|
|||||||
url = 'http://ftp.gnome.org/pub/gnome/sources/gobject-introspection/{0}/gobject-introspection-{1}.tar.xz'
|
url = 'http://ftp.gnome.org/pub/gnome/sources/gobject-introspection/{0}/gobject-introspection-{1}.tar.xz'
|
||||||
return url.format(version.up_to(2), version)
|
return url.format(version.up_to(2), version)
|
||||||
|
|
||||||
|
def setup_dependent_environment(self, spack_env, run_env, dependent_spec):
|
||||||
|
spack_env.prepend_path("XDG_DATA_DIRS", self.prefix.share)
|
||||||
|
run_env.prepend_path("XDG_DATA_DIRS", self.prefix.share)
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
configure("--prefix=%s" % prefix)
|
configure("--prefix=%s" % prefix)
|
||||||
# we need to filter this file to avoid an overly long hashbang line
|
# we need to filter this file to avoid an overly long hashbang line
|
||||||
|
Loading…
Reference in New Issue
Block a user