summaryrefslogtreecommitdiffstats
path: root/meta/recipes-gnome/json-glib/json-glib
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2018-01-04 15:12:32 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2018-01-05 12:02:37 +0000
commit7e1df9f68a444b1d6ee1895f272b6de8ba1c031a (patch)
tree782c430f5c5638b6573e127921d01c7280486e4c /meta/recipes-gnome/json-glib/json-glib
parent0dab296d48418ef1b4f1f724b8ae21c527c1a027 (diff)
downloadpoky-7e1df9f68a444b1d6ee1895f272b6de8ba1c031a.tar.gz
json-glib: convert to meson build
Note that meson flags for gobject introspection and gtk-doc appear to be non-standardized; going forward we should devise a common way to deal with it. gettext inherit is removed, as there is no equivalent functionality in meson; NLS bits are always built and installed. (From OE-Core rev: 3d63c2cd2e8da0206297c69cdbdbf2688c13a9be) Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-gnome/json-glib/json-glib')
-rw-r--r--meta/recipes-gnome/json-glib/json-glib/0001-Do-not-disable-gobject-introspection-when-cross-comp.patch32
1 files changed, 32 insertions, 0 deletions
diff --git a/meta/recipes-gnome/json-glib/json-glib/0001-Do-not-disable-gobject-introspection-when-cross-comp.patch b/meta/recipes-gnome/json-glib/json-glib/0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
new file mode 100644
index 0000000000..849bb9d316
--- /dev/null
+++ b/meta/recipes-gnome/json-glib/json-glib/0001-Do-not-disable-gobject-introspection-when-cross-comp.patch
@@ -0,0 +1,32 @@
1From 293452c963188666dae99521294f09a0cf9582e2 Mon Sep 17 00:00:00 2001
2From: Alexander Kanavin <alex.kanavin@gmail.com>
3Date: Fri, 4 Aug 2017 16:01:11 +0300
4Subject: [PATCH] Do not disable gobject introspection when cross-compiling.
5
6Introspection does work fine for instance in Open Embedded,
7one of the most prominent cross-compilation frameworks
8(through qemu emulating target hardware), so let the user
9decide if he wants the feature or not.
10
11Upstream-Status: Pending
12Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com>
13---
14 meson.build | 2 +-
15 1 file changed, 1 insertion(+), 1 deletion(-)
16
17diff --git a/meson.build b/meson.build
18index 43cbfd9..8a32f26 100644
19--- a/meson.build
20+++ b/meson.build
21@@ -147,7 +147,7 @@ root_dir = include_directories('.')
22
23 gnome = import('gnome')
24 gir = find_program('g-ir-scanner', required: false)
25-build_gir = gir.found() and not meson.is_cross_build() and not get_option('disable_introspection')
26+build_gir = gir.found() and not get_option('disable_introspection')
27
28 subdir('json-glib')
29
30--
312.13.2
32