atk: 2.32.0 → 2.34.1

Fix .pc file requires gobject:
https://gitlab.gnome.org/GNOME/atk/merge_requests/30
This commit is contained in:
Tor Hedin Brønner 2019-09-02 17:33:50 +00:00
parent ec16cb4276
commit 0e341a35e5
2 changed files with 17 additions and 2 deletions

View file

@ -4,7 +4,7 @@
let
pname = "atk";
version = "2.32.0";
version = "2.34.1";
in
stdenv.mkDerivation rec {
@ -12,7 +12,7 @@ stdenv.mkDerivation rec {
src = fetchurl {
url = "mirror://gnome/sources/${pname}/${stdenv.lib.versions.majorMinor version}/${name}.tar.xz";
sha256 = "1k4i817bd2w5b9z394f2yyx95591l2746wa40am0vvz4gzdgwhfb";
sha256 = "1jwp16r6p5z66k4b2v8zlzhyshhwlmyi27ippkrgqr8jsary7w6l";
};
outputs = [ "out" "dev" ];
@ -26,6 +26,12 @@ stdenv.mkDerivation rec {
glib
];
patches = [
# meson builds an incorrect .pc file
# glib should be Requires not Requires.private
./fix_pc.patch
];
doCheck = true;
passthru = {

View file

@ -0,0 +1,9 @@
--- a/atk/meson.build
+++ b/atk/meson.build
@@ -162,5 +162,6 @@ pkgconfig.generate(libatk,
name: 'Atk',
description: 'Accessibility Toolkit',
subdirs: atk_api_name,
+ requires: glib_dep,
filebase: 'atk',
)