mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 14:26:43 +00:00
meson: Build gl/gtk examples
This commit is contained in:
parent
4fa850e3e6
commit
786c6f4d36
7 changed files with 56 additions and 1 deletions
5
tests/examples/gl/gtk/3dvideo/meson.build
Normal file
5
tests/examples/gl/gtk/3dvideo/meson.build
Normal file
|
@ -0,0 +1,5 @@
|
|||
executable('3dvideo', ['main.cpp', 'mviewwidget.c'],
|
||||
cpp_args : [gst_plugins_base_args],
|
||||
include_directories: [configinc, libsinc],
|
||||
dependencies : [gstgtkhelper_dep, gstgl_dep, video_dep, x11_dep],
|
||||
install: false)
|
6
tests/examples/gl/gtk/filternovideooverlay/meson.build
Normal file
6
tests/examples/gl/gtk/filternovideooverlay/meson.build
Normal file
|
@ -0,0 +1,6 @@
|
|||
executable('filternovideooverlay', 'main.cpp',
|
||||
cpp_args : [gst_plugins_base_args],
|
||||
include_directories: [configinc, libsinc],
|
||||
dependencies : [gstgtkhelper_dep],
|
||||
install: false)
|
||||
|
6
tests/examples/gl/gtk/filtervideooverlay/meson.build
Normal file
6
tests/examples/gl/gtk/filtervideooverlay/meson.build
Normal file
|
@ -0,0 +1,6 @@
|
|||
executable('filtervideooverlay', 'main.cpp',
|
||||
cpp_args : [gst_plugins_base_args],
|
||||
include_directories: [configinc, libsinc],
|
||||
dependencies : [gstgtkhelper_dep, video_dep, x11_dep],
|
||||
install: false)
|
||||
|
11
tests/examples/gl/gtk/fxtest/meson.build
Normal file
11
tests/examples/gl/gtk/fxtest/meson.build
Normal file
|
@ -0,0 +1,11 @@
|
|||
executable('fxtest', 'fxtest.c',
|
||||
c_args : [gst_plugins_base_args],
|
||||
include_directories: [configinc, libsinc],
|
||||
dependencies : [gstgtkhelper_dep, video_dep, x11_dep],
|
||||
install: false)
|
||||
|
||||
executable('pixbufdrop', 'pixbufdrop.c',
|
||||
c_args : [gst_plugins_base_args],
|
||||
include_directories: [configinc, libsinc],
|
||||
dependencies : [gstgtkhelper_dep, video_dep, x11_dep],
|
||||
install: false)
|
22
tests/examples/gl/gtk/meson.build
Normal file
22
tests/examples/gl/gtk/meson.build
Normal file
|
@ -0,0 +1,22 @@
|
|||
extra_args = []
|
||||
if cc.has_argument ('-Wno-parentheses')
|
||||
extra_args += '-Wno-parentheses'
|
||||
endif
|
||||
|
||||
gstgtkhelper = static_library ('gstgtkhelper',
|
||||
['gstgtk.c'],
|
||||
c_args : gst_plugins_base_args,
|
||||
include_directories : [configinc, libsinc],
|
||||
dependencies : [gst_base_dep, gtk_dep],
|
||||
install : false)
|
||||
|
||||
gstgtkhelper_dep = declare_dependency(link_with: gstgtkhelper,
|
||||
compile_args : extra_args,
|
||||
include_directories : include_directories('.'),
|
||||
dependencies : [gst_base_dep, gtk_dep])
|
||||
|
||||
subdir('filternovideooverlay')
|
||||
subdir('filtervideooverlay')
|
||||
subdir('fxtest')
|
||||
subdir('switchvideooverlay')
|
||||
subdir('3dvideo')
|
5
tests/examples/gl/gtk/switchvideooverlay/meson.build
Normal file
5
tests/examples/gl/gtk/switchvideooverlay/meson.build
Normal file
|
@ -0,0 +1,5 @@
|
|||
executable('switchvideooverlay', 'main.cpp',
|
||||
cpp_args : [gst_plugins_base_args],
|
||||
include_directories: [configinc, libsinc],
|
||||
dependencies : [gstgtkhelper_dep, gstgl_dep, video_dep, x11_dep],
|
||||
install: false)
|
|
@ -2,6 +2,6 @@
|
|||
#subdir('clutter')
|
||||
#subdir('cocoa')
|
||||
#subdir('generic')
|
||||
#subdir('gtk')
|
||||
subdir('gtk', is_found : gtk_dep)
|
||||
#subdir('qt')
|
||||
subdir('sdl')
|
||||
|
|
Loading…
Reference in a new issue