summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Waters <matthew@centricular.com>2016-11-08 02:47:36 +1100
committerMatthew Waters <matthew@centricular.com>2016-11-08 12:45:55 +1100
commit2209c5d97f20e1be90bc35b57c089c0fc4757867 (patch)
tree477abec272de225c74e2894df6d4c83c36cb8c33
parentc6326530ccc5de417b5a7ed5573d6aa91805935e (diff)
gl/wayland: install the gstgldisplay_wayland.h header
As it is used by other OpenGL sinks (gtkglsink, qmlglsink)
-rw-r--r--gst-libs/gst/gl/meson.build4
-rw-r--r--gst-libs/gst/gl/wayland/Makefile.am4
2 files changed, 8 insertions, 0 deletions
diff --git a/gst-libs/gst/gl/meson.build b/gst-libs/gst/gl/meson.build
index 9c094bd49..a70277907 100644
--- a/gst-libs/gst/gl/meson.build
+++ b/gst-libs/gst/gl/meson.build
@@ -412,6 +412,9 @@ if need_win_wayland != 'no'
'wayland/gstglwindow_wayland_egl.c',
'wayland/wayland_event_source.c',
]
+ gl_wayland_headers += [
+ 'wayland/gstgldisplay_wayland.h'
+ ]
glconf.set('GST_GL_HAVE_WINDOW_WAYLAND', 1)
gl_winsys_deps += [wayland_client_dep, wayland_cursor_dep, wayland_egl_dep]
enabled_gl_winsys += 'wayland'
@@ -573,6 +576,7 @@ if build_gstgl
install_headers(gl_egl_headers, subdir : 'gstreamer-1.0/gst/gl/egl')
install_headers(gl_prototype_headers, subdir : 'gstreamer-1.0/gst/gl/glprototypes')
install_headers(gl_x11_headers, subdir : 'gstreamer-1.0/gst/gl/x11')
+ install_headers(gl_wayland_headers, subdir : 'gstreamer-1.0/gst/gl/wayland')
configure_file(input : 'gstglconfig.h.meson',
output : 'gstglconfig.h',
diff --git a/gst-libs/gst/gl/wayland/Makefile.am b/gst-libs/gst/gl/wayland/Makefile.am
index 1b284fbc6..c739b9d82 100644
--- a/gst-libs/gst/gl/wayland/Makefile.am
+++ b/gst-libs/gst/gl/wayland/Makefile.am
@@ -12,6 +12,10 @@ noinst_HEADERS = \
gstglwindow_wayland_egl.h \
wayland_event_source.h
+libgstgl_waylandincludedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/gl/wayland
+libgstgl_waylandinclude_HEADERS = \
+ gstgldisplay_wayland.h
+
libgstgl_wayland_la_CFLAGS = \
-I$(top_srcdir)/gst-libs \
-I$(top_builddir)/gst-libs \