gst-libs/gst/wayland: Install "unstable" wayland header
authorMarius Vlad <marius.vlad@collabora.com>
Mon, 12 Oct 2020 11:12:07 +0000 (14:12 +0300)
committerGStreamer Merge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Thu, 3 Dec 2020 14:54:47 +0000 (14:54 +0000)
Context creation and retrieval is required, the symbols are exported
with the header missing. Users most likely define GST_USE_UNSTABLE_API
so they're aware of the implications of using a header that might change
between releases.

Signed-off-by: Marius Vlad <marius.vlad@collabora.com>
Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1688>

gst-libs/gst/wayland/meson.build

index d4b31af..182c9c3 100644 (file)
@@ -13,7 +13,7 @@ if use_wayland
     include_directories : [configinc, libsinc],
     version : libversion,
     soversion : soversion,
-  darwin_versions : osxversion,
+    darwin_versions : osxversion,
     install : true,
     dependencies : [gst_dep, gstvideo_dep, wl_client_dep]
   )
@@ -31,4 +31,5 @@ if use_wayland
     dependencies : [gst_dep, gstvideo_dep])
 
   meson.override_dependency('gstreamer-wayland-1.0', gstwayland_dep)
+  install_headers('wayland.h', subdir: 'gstreamer-1.0/gst/wayland')
 endif