diff options
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.patch | 36 |
1 files changed, 0 insertions, 36 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 deleted file mode 100644 index 572c8014ca..0000000000 --- a/meta/recipes-graphics/eglinfo/files/0001-Check-for-libegl-using-pkg-config.patch +++ /dev/null | |||
@@ -1,36 +0,0 @@ | |||
1 | From 17f5d2f574236f8c3459f9efadef2f0f6220a4dd Mon Sep 17 00:00:00 2001 | ||
2 | From: Khem Raj <raj.khem@gmail.com> | ||
3 | Date: Mon, 13 Aug 2018 15:46:53 -0700 | ||
4 | Subject: [PATCH] Check for libegl using pkg-config | ||
5 | |||
6 | Upstream-Status: Pending | ||
7 | Signed-off-by: Khem Raj <raj.khem@gmail.com> | ||
8 | [Roman: patch has been rebased to 223817ee3798 ("Add Wayland support") | ||
9 | trivial merge conflicts resolved] | ||
10 | Signed-off-by: Roman Stratiienko <roman.stratiienko@globallogic.com> | ||
11 | --- | ||
12 | wscript | 7 +------ | ||
13 | 1 file changed, 1 insertion(+), 6 deletions(-) | ||
14 | |||
15 | diff --git a/wscript b/wscript | ||
16 | index 0f6ec53..401f62e 100644 | ||
17 | --- a/wscript | ||
18 | +++ b/wscript | ||
19 | @@ -174,14 +174,9 @@ def configure_raspberrypi_device(conf, platform): | ||
20 | else: | ||
21 | conf.fatal('Unsupported Raspberry Pi platform "%s"' % platform) | ||
22 | return | ||
23 | - conf.check_cxx(mandatory = 1, lib = ['GLESv2', 'EGL', 'bcm_host'], uselib_store = 'EGL') | ||
24 | + conf.check_cfg(package='egl', args='--libs --cflags') | ||
25 | import os | ||
26 | sysroot = conf.options.sysroot + conf.options.prefix | ||
27 | - std_include_path = os.path.join(sysroot, 'include') | ||
28 | - vcos_pthread_path = os.path.join(sysroot, 'include/interface/vcos/pthreads') | ||
29 | - vcms_host_path = os.path.join(sysroot, 'include/interface/vmcs_host/linux') | ||
30 | - if not conf.check_cxx(mandatory = 0, header_name = ['vcos_platform_types.h', 'EGL/egl.h', 'bcm_host.h'], includes = [vcos_pthread_path, vcms_host_path, std_include_path], uselib_store = 'EGL'): | ||
31 | - conf.fatal('Check if --prefix and --sysroot are set correctly.') | ||
32 | conf.env['WITH_APIS'] = [] | ||
33 | if check_gles2(conf): | ||
34 | conf.env['WITH_APIS'] += ['GLES1', 'GLES2'] | ||
35 | -- | ||
36 | 2.19.1 | ||