at-spi2-core: patch for version 2.40.1 and beyond (#28497)
at-spi2-core is automatically selecting dbus-broker and enabling systemd if it finds dbus-broker-launch which some systems might have even without systemd being part of the actual spack environment. This is not ideal for a spack package.
This commit is contained in:
parent
f7f7a168e9
commit
bf80a9f83a
1 changed files with 4 additions and 0 deletions
|
@ -35,6 +35,10 @@ class AtSpi2Core(MesonPackage):
|
|||
depends_on('python', type='build')
|
||||
depends_on('gobject-introspection')
|
||||
|
||||
@when('@2.40.1:')
|
||||
def patch(self):
|
||||
filter_file(r'dbus_broker.found\(\)', 'false', 'bus/meson.build')
|
||||
|
||||
def url_for_version(self, version):
|
||||
"""Handle gnome's version-based custom URLs."""
|
||||
url = 'http://ftp.gnome.org/pub/gnome/sources/at-spi2-core'
|
||||
|
|
Loading…
Reference in a new issue