2018-06-02 13:48:43 +01:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkgconfig
|
2018-12-02 11:41:15 +00:00
|
|
|
, gobject-introspection
|
2018-06-02 13:48:43 +01:00
|
|
|
|
|
|
|
, dbus
|
|
|
|
, glib
|
|
|
|
, libX11
|
2018-06-05 16:57:18 +01:00
|
|
|
, libXtst # at-spi2-core can be build without X support, but due it is a client-side library, GUI-less usage is a very rare case
|
2018-06-02 13:48:43 +01:00
|
|
|
, libXi
|
2018-08-07 00:56:24 +01:00
|
|
|
, fixDarwinDylibNames
|
2018-06-05 16:57:18 +01:00
|
|
|
|
|
|
|
, gnome3 # To pass updateScript
|
2018-06-02 13:48:43 +01:00
|
|
|
}:
|
2012-07-10 17:03:13 +01:00
|
|
|
|
2014-10-21 19:47:30 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2018-06-05 16:57:18 +01:00
|
|
|
pname = "at-spi2-core";
|
2019-04-30 06:15:56 +01:00
|
|
|
version = "2.32.1";
|
2012-07-10 17:03:13 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
|
2019-04-30 06:15:56 +01:00
|
|
|
sha256 = "0lqd7gsl471v6538iighkvb21gjglcb9pklvas32rjpsxcvsjaiw";
|
2012-07-10 17:03:13 +01:00
|
|
|
};
|
|
|
|
|
2016-08-29 01:30:01 +01:00
|
|
|
outputs = [ "out" "dev" ];
|
2015-07-26 12:43:49 +01:00
|
|
|
|
2018-12-02 11:41:15 +00:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gobject-introspection ]
|
2018-08-07 00:56:24 +01:00
|
|
|
# Fixup rpaths because of meson, remove with meson-0.47
|
|
|
|
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
2018-06-02 13:48:43 +01:00
|
|
|
buildInputs = [ dbus glib libX11 libXtst libXi ];
|
2018-04-25 04:20:18 +01:00
|
|
|
|
2018-07-18 00:10:30 +01:00
|
|
|
doCheck = false; # fails with "AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running?"
|
|
|
|
|
2018-06-05 16:57:18 +01:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-01-10 00:09:26 +00:00
|
|
|
meta = with stdenv.lib; {
|
2018-06-02 13:48:43 +01:00
|
|
|
description = "Assistive Technology Service Provider Interface protocol definitions and daemon for D-Bus";
|
|
|
|
homepage = https://gitlab.gnome.org/GNOME/at-spi2-core;
|
|
|
|
license = licenses.lgpl2Plus; # NOTE: 2018-06-06: Please check the license when upstream sorts-out licensing: https://gitlab.gnome.org/GNOME/at-spi2-core/issues/2
|
2019-08-18 20:16:19 +01:00
|
|
|
maintainers = gnome3.maintainers;
|
2015-03-31 20:23:26 +01:00
|
|
|
platforms = platforms.unix;
|
2014-01-10 00:09:26 +00:00
|
|
|
};
|
2012-07-10 17:03:13 +01:00
|
|
|
}
|