Skip to content
Snippets Groups Projects
Commit b02080cb authored by Nirbheek Chauhan's avatar Nirbheek Chauhan :ant:
Browse files

gst-plugins-base: Fix gstgl build on UWP

Temporary hack for gst-plugins-base#814

Part-of: <!579>
parent 642fa437
No related branches found
Tags dbus-0.93
Loading
......@@ -223,6 +223,8 @@ class Recipe(custom.GStreamer):
self.meson_options['gl_api'] = 'gles2'
self.meson_options['gl_platform'] = 'egl'
self.meson_options['gl_winsys'] = 'winrt'
# https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/814
self.patches = [self.name + '/0001-TEMPORARY-HACK-Rename-egl.h-to-_egl.h.patch']
else:
self.disable_plugin('opengl', 'sys', 'gl', library_name='gl')
self.meson_options['gl-graphene'] = 'disabled'
......
From 4b11749cd665fc54ddc04f0acf82d9204ff5b95b Mon Sep 17 00:00:00 2001
From: Nirbheek Chauhan <nirbheek@centricular.com>
Date: Mon, 24 Aug 2020 21:17:39 +0530
Subject: [PATCH] TEMPORARY HACK: Rename egl.h to _egl.h
Workaround for https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/issues/814
---
gst-libs/gst/gl/egl/{egl.h => _egl.h} | 0
gst-libs/gst/gl/meson.build | 2 +-
2 files changed, 1 insertion(+), 1 deletion(-)
rename gst-libs/gst/gl/egl/{egl.h => _egl.h} (100%)
diff --git a/gst-libs/gst/gl/egl/egl.h b/gst-libs/gst/gl/egl/_egl.h
similarity index 100%
rename from gst-libs/gst/gl/egl/egl.h
rename to gst-libs/gst/gl/egl/_egl.h
diff --git a/gst-libs/gst/gl/meson.build b/gst-libs/gst/gl/meson.build
index c051e3823..e5f82eddd 100644
--- a/gst-libs/gst/gl/meson.build
+++ b/gst-libs/gst/gl/meson.build
@@ -501,7 +501,7 @@ if need_platform_egl != 'no'
'egl/gstgldisplay_egl_device.c',
]
gl_egl_headers += [
- 'egl/egl.h',
+ 'egl/_egl.h',
'egl/gstegl.h',
'egl/gsteglimage.h',
'egl/gstgldisplay_egl.h',
--
2.27.0.windows.1
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment