summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics/eglinfo/files/0001-Check-for-libegl-using-pkg-config.patch
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-graphics/eglinfo/files/0001-Check-for-libegl-using-pkg-config.patch')
-rw-r--r--meta/recipes-graphics/eglinfo/files/0001-Check-for-libegl-using-pkg-config.patch27
1 files changed, 16 insertions, 11 deletions
diff --git a/meta/recipes-graphics/eglinfo/files/0001-Check-for-libegl-using-pkg-config.patch b/meta/recipes-graphics/eglinfo/files/0001-Check-for-libegl-using-pkg-config.patch
index 0289ac228c..572c8014ca 100644
--- a/meta/recipes-graphics/eglinfo/files/0001-Check-for-libegl-using-pkg-config.patch
+++ b/meta/recipes-graphics/eglinfo/files/0001-Check-for-libegl-using-pkg-config.patch
@@ -1,22 +1,25 @@
1From 58d51d941d3f4dfa38be18282d3e285d76d9020d Mon Sep 17 00:00:00 2001 1From 17f5d2f574236f8c3459f9efadef2f0f6220a4dd Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com> 2From: Khem Raj <raj.khem@gmail.com>
3Date: Mon, 13 Aug 2018 15:46:53 -0700 3Date: Mon, 13 Aug 2018 15:46:53 -0700
4Subject: [PATCH] Check for libegl using pkg-config 4Subject: [PATCH] Check for libegl using pkg-config
5 5
6Upstream-Status: Pending 6Upstream-Status: Pending
7Signed-off-by: Khem Raj <raj.khem@gmail.com> 7Signed-off-by: Khem Raj <raj.khem@gmail.com>
8[Roman: patch has been rebased to 223817ee3798 ("Add Wayland support")
9 trivial merge conflicts resolved]
10Signed-off-by: Roman Stratiienko <roman.stratiienko@globallogic.com>
8--- 11---
9 wscript | 1 + 12 wscript | 7 +------
10 1 file changed, 1 insertion(+) 13 1 file changed, 1 insertion(+), 6 deletions(-)
11 14
12Index: git/wscript 15diff --git a/wscript b/wscript
13=================================================================== 16index 0f6ec53..401f62e 100644
14--- git.orig/wscript 17--- a/wscript
15+++ git/wscript 18+++ b/wscript
16@@ -160,14 +160,9 @@ def configure_raspberrypi_device(conf, p 19@@ -174,14 +174,9 @@ def configure_raspberrypi_device(conf, platform):
17 conf.env['PLATFORM_USELIBS'] += ["X11"] 20 else:
18 elif platform == "fb": 21 conf.fatal('Unsupported Raspberry Pi platform "%s"' % platform)
19 conf.env['PLATFORM_SOURCE'] = ['src/platform_fb_raspberrypi.cpp'] 22 return
20- conf.check_cxx(mandatory = 1, lib = ['GLESv2', 'EGL', 'bcm_host'], uselib_store = 'EGL') 23- conf.check_cxx(mandatory = 1, lib = ['GLESv2', 'EGL', 'bcm_host'], uselib_store = 'EGL')
21+ conf.check_cfg(package='egl', args='--libs --cflags') 24+ conf.check_cfg(package='egl', args='--libs --cflags')
22 import os 25 import os
@@ -29,3 +32,5 @@ Index: git/wscript
29 conf.env['WITH_APIS'] = [] 32 conf.env['WITH_APIS'] = []
30 if check_gles2(conf): 33 if check_gles2(conf):
31 conf.env['WITH_APIS'] += ['GLES1', 'GLES2'] 34 conf.env['WITH_APIS'] += ['GLES1', 'GLES2']
35--
362.19.1