gl/wayland: install the gstgldisplay_wayland.h header
authorMatthew Waters <matthew@centricular.com>
Mon, 7 Nov 2016 15:47:36 +0000 (02:47 +1100)
committerTim-Philipp Müller <tim@centricular.com>
Sat, 9 Dec 2017 19:32:24 +0000 (19:32 +0000)
As it is used by other OpenGL sinks (gtkglsink, qmlglsink)

gst-libs/gst/gl/meson.build
gst-libs/gst/gl/wayland/Makefile.am

index 9c094bd..a702779 100644 (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',
index 1b284fb..c739b9d 100644 (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 \