From 99cc7f02b2533f0618f4dc5661dc3ddc84733f8d Mon Sep 17 00:00:00 2001 From: maxice8 Date: Tue, 29 Jan 2019 13:45:46 -0200 Subject: [PATCH] atk: don't guard gir introspection behind cross_build check. upstream issue: https://gitlab.gnome.org/GNOME/atk/merge_requests/12 --- srcpkgs/atk/patches/fix-cross-gir.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 srcpkgs/atk/patches/fix-cross-gir.patch diff --git a/srcpkgs/atk/patches/fix-cross-gir.patch b/srcpkgs/atk/patches/fix-cross-gir.patch new file mode 100644 index 00000000000..c249c72c542 --- /dev/null +++ b/srcpkgs/atk/patches/fix-cross-gir.patch @@ -0,0 +1,14 @@ +diff --git a/atk/meson.build b/atk/meson.build +index 616a3e6..941ded8 100644 +--- atk/meson.build ++++ atk/meson.build +@@ -137,7 +137,7 @@ libatk_dep = declare_dependency(link_with: libatk, + dependencies: gobject_dep, + sources: atk_enum_h) + +-if not meson.is_cross_build() and get_option('introspection') ++if get_option('introspection') + gnome.generate_gir(libatk, + sources: atk_sources + atk_headers + [ atk_enum_h ] + [ atk_version_h ], + namespace: 'Atk', +