Merge pull request #67320 from jtojnar/at-spi-bus-launcher-schemas
at-spi2-core: wrap at-spi-bus-launcher
This commit is contained in:
commit
2e1f99061e
@ -5,6 +5,8 @@
|
|||||||
, ninja
|
, ninja
|
||||||
, pkgconfig
|
, pkgconfig
|
||||||
, gobject-introspection
|
, gobject-introspection
|
||||||
|
, gsettings-desktop-schemas
|
||||||
|
, makeWrapper
|
||||||
|
|
||||||
, dbus
|
, dbus
|
||||||
, glib
|
, glib
|
||||||
@ -27,7 +29,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
outputs = [ "out" "dev" ];
|
outputs = [ "out" "dev" ];
|
||||||
|
|
||||||
nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection ]
|
nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection makeWrapper ]
|
||||||
# Fixup rpaths because of meson, remove with meson-0.47
|
# Fixup rpaths because of meson, remove with meson-0.47
|
||||||
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
||||||
buildInputs = [ dbus glib libX11 libXtst libXi ];
|
buildInputs = [ dbus glib libX11 libXtst libXi ];
|
||||||
@ -46,6 +48,13 @@ stdenv.mkDerivation rec {
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
postFixup = ''
|
||||||
|
# Cannot use wrapGAppsHook'due to a dependency cycle
|
||||||
|
wrapProgram $out/libexec/at-spi-bus-launcher \
|
||||||
|
--prefix GIO_EXTRA_MODULES : "${stdenv.lib.getLib gnome3.dconf}/lib/gio/modules" \
|
||||||
|
--prefix XDG_DATA_DIRS : ${gsettings-desktop-schemas}/share/gsettings-schemas/${gsettings-desktop-schemas.name}
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "Assistive Technology Service Provider Interface protocol definitions and daemon for D-Bus";
|
description = "Assistive Technology Service Provider Interface protocol definitions and daemon for D-Bus";
|
||||||
homepage = https://gitlab.gnome.org/GNOME/at-spi2-core;
|
homepage = https://gitlab.gnome.org/GNOME/at-spi2-core;
|
||||||
|
Loading…
Reference in New Issue
Block a user