gl/wayland: install the gstgldisplay_wayland.h header

As it is used by other OpenGL sinks (gtkglsink, qmlglsink)
This commit is contained in:
Matthew Waters 2016-11-08 02:47:36 +11:00
parent c6326530cc
commit 2209c5d97f
2 changed files with 8 additions and 0 deletions

View file

@ -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',

View file

@ -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 \