meson: Build gl/sdl examples

This commit is contained in:
Nicolas Dufresne 2017-11-24 16:58:01 -05:00
parent d8ee5a0c31
commit c9e755d79e
3 changed files with 24 additions and 1 deletions

View file

@ -0,0 +1,7 @@
# FIXME - Add other missing examples!
#subdir('clutter')
#subdir('cocoa')
#subdir('generic')
#subdir('gtk')
#subdir('qt')
subdir('sdl')

View 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

View file

@ -5,7 +5,7 @@
#subdir('codecparsers')
subdir('compositor')
#subdir('directfb')
#subdir('gl')
subdir('gl')
#subdir('gtk')
#subdir('ipcpipeline')
subdir('mpegts')