2018-06-02 14:48:43 +02:00
|
|
|
{ stdenv
|
|
|
|
, fetchurl
|
|
|
|
|
|
|
|
, meson
|
|
|
|
, ninja
|
|
|
|
, pkgconfig
|
|
|
|
, gobjectIntrospection
|
|
|
|
|
|
|
|
, dbus
|
|
|
|
, glib
|
|
|
|
, libX11
|
2018-06-05 17:57:18 +02: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 14:48:43 +02:00
|
|
|
, libXi
|
2018-08-07 01:56:24 +02:00
|
|
|
, fixDarwinDylibNames
|
2018-06-05 17:57:18 +02:00
|
|
|
|
|
|
|
, gnome3 # To pass updateScript
|
2018-06-02 14:48:43 +02:00
|
|
|
}:
|
2012-07-10 18:03:13 +02:00
|
|
|
|
2014-10-21 20:47:30 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2018-06-05 17:57:18 +02:00
|
|
|
name = "${pname}-${version}";
|
|
|
|
pname = "at-spi2-core";
|
2018-06-02 14:48:43 +02:00
|
|
|
version = "2.28.0";
|
2012-07-10 18:03:13 +02:00
|
|
|
|
|
|
|
src = fetchurl {
|
2018-06-05 17:57:18 +02:00
|
|
|
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
|
2018-06-02 14:40:26 +02:00
|
|
|
sha256 = "11qwdxxx4jm0zj04xydlwah41axiz276dckkiql3rr0wn5x4i8j2";
|
2012-07-10 18:03:13 +02:00
|
|
|
};
|
|
|
|
|
2016-08-29 02:30:01 +02:00
|
|
|
outputs = [ "out" "dev" ];
|
2015-07-26 13:43:49 +02:00
|
|
|
|
2018-08-07 01:56:24 +02:00
|
|
|
nativeBuildInputs = [ meson ninja pkgconfig gobjectIntrospection ]
|
|
|
|
# Fixup rpaths because of meson, remove with meson-0.47
|
|
|
|
++ stdenv.lib.optional stdenv.isDarwin fixDarwinDylibNames;
|
2018-06-02 14:48:43 +02:00
|
|
|
buildInputs = [ dbus glib libX11 libXtst libXi ];
|
2018-04-25 05:20:18 +02:00
|
|
|
|
2018-07-18 01:10:30 +02:00
|
|
|
doCheck = false; # fails with "AT-SPI: Couldn't connect to accessibility bus. Is at-spi-bus-launcher running?"
|
|
|
|
|
2018-06-05 17:57:18 +02:00
|
|
|
passthru = {
|
|
|
|
updateScript = gnome3.updateScript {
|
|
|
|
packageName = pname;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
2014-01-10 01:09:26 +01:00
|
|
|
meta = with stdenv.lib; {
|
2018-06-02 14:48:43 +02: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
|
|
|
|
maintainers = with maintainers; [ jtojnar gnome3.maintainers ];
|
2015-03-31 21:23:26 +02:00
|
|
|
platforms = platforms.unix;
|
2014-01-10 01:09:26 +01:00
|
|
|
};
|
2012-07-10 18:03:13 +02:00
|
|
|
}
|