clients/screenshot: build screenshooter with kiosk-shell and fullscreen-shell
The output capture protocol is also provided by the kiosk shell and the fullscreen shell. Therefore, the weston-screenshooter to take screenshots should be built if the desktop shell is disabled, too. Signed-off-by: Michael Tretter <m.tretter@pengutronix.de>
This commit is contained in:
parent
1d36f7655d
commit
6bcfc43a88
@ -361,6 +361,20 @@ if get_option('shell-desktop')
|
|||||||
)
|
)
|
||||||
env_modmap += 'weston-keyboard=@0@;'.format(exe_keyboard.full_path())
|
env_modmap += 'weston-keyboard=@0@;'.format(exe_keyboard.full_path())
|
||||||
|
|
||||||
|
exe_shell_desktop = executable(
|
||||||
|
'weston-desktop-shell',
|
||||||
|
'desktop-shell.c',
|
||||||
|
weston_desktop_shell_client_protocol_h,
|
||||||
|
weston_desktop_shell_protocol_c,
|
||||||
|
include_directories: common_inc,
|
||||||
|
dependencies: dep_toytoolkit,
|
||||||
|
install_dir: get_option('libexecdir'),
|
||||||
|
install: true
|
||||||
|
)
|
||||||
|
env_modmap += 'weston-desktop-shell=@0@;'.format(exe_shell_desktop.full_path())
|
||||||
|
endif
|
||||||
|
|
||||||
|
if get_option('shell-desktop') or get_option('shell-fullscreen') or get_option('shell-kiosk')
|
||||||
exe_shooter = executable(
|
exe_shooter = executable(
|
||||||
'weston-screenshooter',
|
'weston-screenshooter',
|
||||||
'screenshot.c',
|
'screenshot.c',
|
||||||
@ -376,21 +390,8 @@ if get_option('shell-desktop')
|
|||||||
install: true
|
install: true
|
||||||
)
|
)
|
||||||
env_modmap += 'weston-screenshooter=@0@;'.format(exe_shooter.full_path())
|
env_modmap += 'weston-screenshooter=@0@;'.format(exe_shooter.full_path())
|
||||||
|
|
||||||
exe_shell_desktop = executable(
|
|
||||||
'weston-desktop-shell',
|
|
||||||
'desktop-shell.c',
|
|
||||||
weston_desktop_shell_client_protocol_h,
|
|
||||||
weston_desktop_shell_protocol_c,
|
|
||||||
include_directories: common_inc,
|
|
||||||
dependencies: dep_toytoolkit,
|
|
||||||
install_dir: get_option('libexecdir'),
|
|
||||||
install: true
|
|
||||||
)
|
|
||||||
env_modmap += 'weston-desktop-shell=@0@;'.format(exe_shell_desktop.full_path())
|
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
||||||
if get_option('shell-ivi')
|
if get_option('shell-ivi')
|
||||||
exe_shell_ivi_ui = executable(
|
exe_shell_ivi_ui = executable(
|
||||||
'weston-ivi-shell-user-interface',
|
'weston-ivi-shell-user-interface',
|
||||||
|
Loading…
Reference in New Issue
Block a user