summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/libva/files/0001-configure.ac-Use-wayland-scanner-in-PATH.patch
diff options
context:
space:
mode:
authorJussi Kukkonen <jussi.kukkonen@intel.com>2017-02-23 16:49:49 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-02-23 12:49:52 -0800
commitc3e6178acfb4a050852b6b52a97cdeda3f9ce666 (patch)
treeb7be846d0bee0710f6c959f37ad9a41091aaabf5 /meta/recipes-graphics/libva/files/0001-configure.ac-Use-wayland-scanner-in-PATH.patch
parent01be63828c2d88ca10524716b357a73023743443 (diff)
downloadpoky-c3e6178acfb4a050852b6b52a97cdeda3f9ce666.tar.gz
libva: Find the correct wayland-scanner
* Add a patch to make sure wayland-scanner from native sysroot is used * Depend on wayland-native to get the scanner into the sysroot * Add a patch to make sure the scanner really is used (From OE-Core rev: 65cfc8aca3ff7e39453977a0215a350d13cb85ef) Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics/libva/files/0001-configure.ac-Use-wayland-scanner-in-PATH.patch')
-rw-r--r--meta/recipes-graphics/libva/files/0001-configure.ac-Use-wayland-scanner-in-PATH.patch37
1 files changed, 37 insertions, 0 deletions
diff --git a/meta/recipes-graphics/libva/files/0001-configure.ac-Use-wayland-scanner-in-PATH.patch b/meta/recipes-graphics/libva/files/0001-configure.ac-Use-wayland-scanner-in-PATH.patch
new file mode 100644
index 0000000000..a99c225ff6
--- /dev/null
+++ b/meta/recipes-graphics/libva/files/0001-configure.ac-Use-wayland-scanner-in-PATH.patch
@@ -0,0 +1,37 @@
1From 0af30602502035155929dd2a14482b82a9747cf8 Mon Sep 17 00:00:00 2001
2From: Jussi Kukkonen <jussi.kukkonen@intel.com>
3Date: Thu, 23 Feb 2017 15:23:15 +0200
4Subject: [PATCH] configure.ac: Use wayland-scanner in PATH
5
6pkg-config will give us the wrong wayland-scanner location.
7Use the one in path instead: it will be from native sysroot.
8
9This is a workaround and should be fixed upstream: preferably
10with the same fix as all the other wayland-scanner users
11(see YOCTO #11100).
12
13Upstream-Status: Inappropriate [workaround]
14Signed-off-by: Jussi Kukkonen <jussi.kukkonen@intel.com>
15---
16 configure.ac | 5 +----
17 1 file changed, 1 insertion(+), 4 deletions(-)
18
19diff --git a/configure.ac b/configure.ac
20index 64eddf2..5536f35 100644
21--- a/configure.ac
22+++ b/configure.ac
23@@ -273,10 +273,7 @@ if test "$enable_wayland" = "yes"; then
24 PKG_CHECK_MODULES([WAYLAND], [wayland-client >= wayland_api_version],
25 [USE_WAYLAND="yes"], [:])
26 if test "$USE_WAYLAND" = "yes"; then
27-
28- WAYLAND_PREFIX=`$PKG_CONFIG --variable=prefix wayland-client`
29- AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner],,
30- [${WAYLAND_PREFIX}/bin$PATH_SEPARATOR$PATH])
31+ AC_PATH_PROG([WAYLAND_SCANNER], [wayland-scanner])
32
33 AC_DEFINE([HAVE_VA_WAYLAND], [1],
34 [Defined to 1 if VA/Wayland API is built])
35--
362.1.4
37