|
|
@ -23,6 +23,11 @@ if libavutil.found() and not cc.has_header('libavutil/hwcontext_drm.h', dependen
|
|
|
|
libavutil = disabler()
|
|
|
|
libavutil = disabler()
|
|
|
|
endif
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
wlr_gles2_renderer = []
|
|
|
|
|
|
|
|
if not features['gles2-renderer']
|
|
|
|
|
|
|
|
wlr_gles2_renderer = disabler()
|
|
|
|
|
|
|
|
endif
|
|
|
|
|
|
|
|
|
|
|
|
compositors = {
|
|
|
|
compositors = {
|
|
|
|
'simple': {
|
|
|
|
'simple': {
|
|
|
|
'src': 'simple.c',
|
|
|
|
'src': 'simple.c',
|
|
|
@ -32,18 +37,23 @@ compositors = {
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'touch': {
|
|
|
|
'touch': {
|
|
|
|
'src': ['touch.c', 'cat.c'],
|
|
|
|
'src': ['touch.c', 'cat.c'],
|
|
|
|
|
|
|
|
'dep': [wlr_gles2_renderer],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'tablet': {
|
|
|
|
'tablet': {
|
|
|
|
'src': 'tablet.c',
|
|
|
|
'src': 'tablet.c',
|
|
|
|
|
|
|
|
'dep': [wlr_gles2_renderer],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'rotation': {
|
|
|
|
'rotation': {
|
|
|
|
'src': ['rotation.c', 'cat.c'],
|
|
|
|
'src': ['rotation.c', 'cat.c'],
|
|
|
|
|
|
|
|
'dep': [wlr_gles2_renderer],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'multi-pointer': {
|
|
|
|
'multi-pointer': {
|
|
|
|
'src': 'multi-pointer.c',
|
|
|
|
'src': 'multi-pointer.c',
|
|
|
|
|
|
|
|
'dep': [wlr_gles2_renderer],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'output-layout': {
|
|
|
|
'output-layout': {
|
|
|
|
'src': ['output-layout.c', 'cat.c'],
|
|
|
|
'src': ['output-layout.c', 'cat.c'],
|
|
|
|
|
|
|
|
'dep': [wlr_gles2_renderer],
|
|
|
|
},
|
|
|
|
},
|
|
|
|
'fullscreen-shell': {
|
|
|
|
'fullscreen-shell': {
|
|
|
|
'src': 'fullscreen-shell.c',
|
|
|
|
'src': 'fullscreen-shell.c',
|
|
|
@ -193,7 +203,7 @@ foreach name, info : compositors
|
|
|
|
executable(
|
|
|
|
executable(
|
|
|
|
name,
|
|
|
|
name,
|
|
|
|
[info.get('src'), extra_src],
|
|
|
|
[info.get('src'), extra_src],
|
|
|
|
dependencies: [wlroots, libdrm],
|
|
|
|
dependencies: [wlroots, libdrm, info.get('dep', [])],
|
|
|
|
include_directories: [wlr_inc, proto_inc],
|
|
|
|
include_directories: [wlr_inc, proto_inc],
|
|
|
|
build_by_default: get_option('examples'),
|
|
|
|
build_by_default: get_option('examples'),
|
|
|
|
)
|
|
|
|
)
|
|
|
|