summaryrefslogtreecommitdiff
path: root/recipes
diff options
context:
space:
mode:
Diffstat (limited to 'recipes')
-rw-r--r--recipes/gst-plugins-base-1.0.recipe2
-rw-r--r--recipes/gst-plugins-base-1.0/0001-TEMPORARY-HACK-Rename-egl.h-to-_egl.h.patch32
2 files changed, 34 insertions, 0 deletions
diff --git a/recipes/gst-plugins-base-1.0.recipe b/recipes/gst-plugins-base-1.0.recipe
index 39d1777b..86ca288b 100644
--- a/recipes/gst-plugins-base-1.0.recipe
+++ b/recipes/gst-plugins-base-1.0.recipe
@@ -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'
diff --git a/recipes/gst-plugins-base-1.0/0001-TEMPORARY-HACK-Rename-egl.h-to-_egl.h.patch b/recipes/gst-plugins-base-1.0/0001-TEMPORARY-HACK-Rename-egl.h-to-_egl.h.patch
new file mode 100644
index 00000000..f23a7a90
--- /dev/null
+++ b/recipes/gst-plugins-base-1.0/0001-TEMPORARY-HACK-Rename-egl.h-to-_egl.h.patch
@@ -0,0 +1,32 @@
+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
+