mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-18 22:36:33 +00:00
meson: Build gl/sdl examples
This commit is contained in:
parent
d8ee5a0c31
commit
c9e755d79e
3 changed files with 24 additions and 1 deletions
7
tests/examples/gl/meson.build
Normal file
7
tests/examples/gl/meson.build
Normal file
|
@ -0,0 +1,7 @@
|
|||
# FIXME - Add other missing examples!
|
||||
#subdir('clutter')
|
||||
#subdir('cocoa')
|
||||
#subdir('generic')
|
||||
#subdir('gtk')
|
||||
#subdir('qt')
|
||||
subdir('sdl')
|
16
tests/examples/gl/sdl/meson.build
Normal file
16
tests/examples/gl/sdl/meson.build
Normal file
|
@ -0,0 +1,16 @@
|
|||
sdl_dep = dependency('sdl', version : '>=1.2.0', required : false)
|
||||
if sdl_dep.found() and build_gstgl
|
||||
executable('sdlshare',
|
||||
'sdlshare.c',
|
||||
install: false,
|
||||
dependencies : [gstbase_dep, gstgl_dep, sdl_dep, gl_dep],
|
||||
c_args : ['-DGST_USE_UNSTABLE_API', ],
|
||||
)
|
||||
|
||||
executable('sdlshare2',
|
||||
'sdlshare2.c',
|
||||
install: false,
|
||||
dependencies : [gstbase_dep, gstgl_dep, sdl_dep, gl_dep],
|
||||
c_args : ['-DGST_USE_UNSTABLE_API', ],
|
||||
)
|
||||
endif
|
|
@ -5,7 +5,7 @@
|
|||
#subdir('codecparsers')
|
||||
subdir('compositor')
|
||||
#subdir('directfb')
|
||||
#subdir('gl')
|
||||
subdir('gl')
|
||||
#subdir('gtk')
|
||||
#subdir('ipcpipeline')
|
||||
subdir('mpegts')
|
||||
|
|
Loading…
Reference in a new issue