Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
examples/gl/gtk: Add missing dependency on gstgl
Occasionally, a clean build would fail like this:

    In file included from ../subprojects/gst-plugins-base/tests/examples/gl/gtk/gstgtk.c:24:
    ../subprojects/gst-plugins-base/gst-libs/gst/gl/gl.h:25:10: fatal error: gst/gl/gl-enumtypes.h: No such file or directory
       25 | #include <gst/gl/gl-enumtypes.h>
          |          ^~~~~~~~~~~~~~~~~~~~~~~

Add the missing dependency so that the headers are generated beforehand.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-base/-/merge_requests/855>
  • Loading branch information
heftig authored and GStreamer Merge Bot committed Oct 10, 2020
1 parent 11f12e4 commit a6ed17c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/examples/gl/gtk/meson.build
Expand Up @@ -13,13 +13,13 @@ gstgtkhelper = static_library ('gstgtkhelper',
['gstgtk.c'],
c_args : gst_plugins_base_args + extra_c_args,
include_directories : [configinc, libsinc],
dependencies : [gst_base_dep, video_dep, gtk_dep],
dependencies : [gst_base_dep, video_dep, gtk_dep, gstgl_dep],
install : false)

gstgtkhelper_dep = declare_dependency(link_with: gstgtkhelper,
compile_args : extra_args,
include_directories : include_directories('.'),
dependencies : [gst_base_dep, video_dep, gtk_dep])
dependencies : [gst_base_dep, video_dep, gtk_dep, gstgl_dep])

subdir('filternovideooverlay')
subdir('filtervideooverlay')
Expand Down

0 comments on commit a6ed17c

Please sign in to comment.