mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 01:43:15 +00:00
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:
parent
ec16cb4276
commit
0e341a35e5
@ -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 = {
|
||||
|
9
pkgs/development/libraries/atk/fix_pc.patch
Normal file
9
pkgs/development/libraries/atk/fix_pc.patch
Normal 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',
|
||||
)
|
Loading…
Reference in New Issue
Block a user