From c5ab1c2fcffb1bc7f24fe0bfb648f7b97f0e7da9 Mon Sep 17 00:00:00 2001 From: Daniel Kolesa Date: Sat, 12 Sep 2020 04:03:13 +0200 Subject: [PATCH] harfbuzz: fix cross build --- srcpkgs/harfbuzz/patches/cross-gir.patch | 28 ++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 srcpkgs/harfbuzz/patches/cross-gir.patch diff --git a/srcpkgs/harfbuzz/patches/cross-gir.patch b/srcpkgs/harfbuzz/patches/cross-gir.patch new file mode 100644 index 0000000000..9214155a2d --- /dev/null +++ b/srcpkgs/harfbuzz/patches/cross-gir.patch @@ -0,0 +1,28 @@ +From 27850ef12cb3ed658d8263893c43f6052c315aa7 Mon Sep 17 00:00:00 2001 +From: Daniel Kolesa +Date: Sat, 12 Sep 2020 03:58:00 +0200 +Subject: [PATCH] remove introspection cross check + +--- + src/meson.build | 5 ----- + 1 file changed, 5 deletions(-) + +diff --git src/meson.build src/meson.build +index 1865633..9a273b6 100644 +--- src/meson.build ++++ src/meson.build +@@ -634,11 +634,6 @@ if have_gobject + gir = find_program('g-ir-scanner', required: get_option('introspection')) + build_gir = gir.found() + +- build_gir = build_gir and not meson.is_cross_build() +- if not build_gir and get_option('introspection').enabled() +- error('Introspection support is requested but it isn\'t available in cross builds') +- endif +- + build_gir = build_gir and get_option('default_library') != 'static' + if not build_gir and get_option('introspection').enabled() + error('Introspection support is requested but the default library option should be shared or both') +-- +2.28.0 +