diff options
Diffstat (limited to 'meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch')
-rw-r--r-- | meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch b/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch index 54d34b1c69..bccf74d9c9 100644 --- a/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch +++ b/meta/recipes-sato/webkit/webkitgtk/0001-FindGObjectIntrospection.cmake-prefix-variables-obta.patch | |||
@@ -1,4 +1,4 @@ | |||
1 | From 317a5ac120c44987219bc03486cd2f2d1842c9b9 Mon Sep 17 00:00:00 2001 | 1 | From e0bf97eecfa601e08b9578f00b1000890284241a Mon Sep 17 00:00:00 2001 |
2 | From: Alexander Kanavin <alex.kanavin@gmail.com> | 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
3 | Date: Tue, 27 Oct 2015 16:02:19 +0200 | 3 | Date: Tue, 27 Oct 2015 16:02:19 +0200 |
4 | Subject: [PATCH] FindGObjectIntrospection.cmake: prefix variables obtained | 4 | Subject: [PATCH] FindGObjectIntrospection.cmake: prefix variables obtained |
@@ -6,22 +6,30 @@ Subject: [PATCH] FindGObjectIntrospection.cmake: prefix variables obtained | |||
6 | 6 | ||
7 | Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=232933] | 7 | Upstream-Status: Submitted [https://bugs.webkit.org/show_bug.cgi?id=232933] |
8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> | 8 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
9 | |||
9 | --- | 10 | --- |
10 | Source/cmake/FindGObjectIntrospection.cmake | 1 + | 11 | Source/cmake/FindGObjectIntrospection.cmake | 4 +++- |
11 | 1 file changed, 1 insertion(+) | 12 | 1 file changed, 3 insertions(+), 1 deletion(-) |
12 | 13 | ||
13 | diff --git a/Source/cmake/FindGObjectIntrospection.cmake b/Source/cmake/FindGObjectIntrospection.cmake | 14 | diff --git a/Source/cmake/FindGObjectIntrospection.cmake b/Source/cmake/FindGObjectIntrospection.cmake |
14 | index e1f49b4..03a4446 100644 | 15 | index be96814a..ae67b593 100644 |
15 | --- a/Source/cmake/FindGObjectIntrospection.cmake | 16 | --- a/Source/cmake/FindGObjectIntrospection.cmake |
16 | +++ b/Source/cmake/FindGObjectIntrospection.cmake | 17 | +++ b/Source/cmake/FindGObjectIntrospection.cmake |
17 | @@ -26,6 +26,7 @@ macro(_GIR_GET_PKGCONFIG_VAR _outvar _varname _extra_args) | 18 | @@ -16,7 +16,6 @@ |
18 | else () | 19 | # Redistribution and use is allowed according to the terms of the BSD license. |
19 | string(REGEX REPLACE "[\r\n]" " " _result "${_result}") | 20 | |
20 | string(REGEX REPLACE " +$" "" _result "${_result}") | 21 | |
21 | + string(CONCAT _result $ENV{PKG_CONFIG_SYSROOT_DIR} "${_result}") | 22 | - |
22 | separate_arguments(_result) | 23 | find_package(PkgConfig QUIET) |
23 | set(${_outvar} ${_result} CACHE INTERNAL "") | 24 | if (PKG_CONFIG_FOUND) |
24 | endif () | 25 | if (PACKAGE_FIND_VERSION_COUNT GREATER 0) |
25 | -- | 26 | @@ -30,6 +29,9 @@ if (PKG_CONFIG_FOUND) |
26 | 2.1.4 | 27 | pkg_get_variable(INTROSPECTION_GENERATE gobject-introspection-1.0 g_ir_generate) |
27 | 28 | pkg_get_variable(INTROSPECTION_GIRDIR gobject-introspection-1.0 girdir) | |
29 | pkg_get_variable(INTROSPECTION_TYPELIBDIR gobject-introspection-1.0 typelibdir) | ||
30 | + set(INTROSPECTION_SCANNER "$ENV{PKG_CONFIG_SYSROOT_DIR}${INTROSPECTION_SCANNER}") | ||
31 | + set(INTROSPECTION_COMPILER "$ENV{PKG_CONFIG_SYSROOT_DIR}${INTROSPECTION_COMPILER}") | ||
32 | + set(INTROSPECTION_GENERATE "$ENV{PKG_CONFIG_SYSROOT_DIR}${INTROSPECTION_GENERATE}") | ||
33 | set(INTROSPECTION_VERSION "${_pc_gir_VERSION}") | ||
34 | if (${INTROSPECTION_VERSION} VERSION_GREATER_EQUAL "1.59.1") | ||
35 | set(INTROSPECTION_HAVE_SOURCES_TOP_DIRS YES) | ||