meson - wl module builds - make them all consistent
This commit is contained in:
parent
7df7b1f5fa
commit
94f3cc4a2a
|
@ -9,9 +9,6 @@ subdir('mixer')
|
|||
subdir('everything')
|
||||
subdir('teamwork')
|
||||
|
||||
# disabled for now
|
||||
####subdir('wl_fb')
|
||||
|
||||
mods = [
|
||||
# standard run of the mill modules with cion and desktop
|
||||
'battery',
|
||||
|
@ -72,6 +69,8 @@ mods = [
|
|||
'wl_text_input',
|
||||
'wl_desktop_shell',
|
||||
'wl_weekeyboard',
|
||||
### XXX: disabled for now
|
||||
# 'wl_fb',
|
||||
'xwayland'
|
||||
]
|
||||
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
src = files(
|
||||
'e_mod_main.c'
|
||||
)
|
||||
|
||||
no_icon = true
|
||||
|
||||
if get_option('wayland') != true
|
||||
disable = true
|
||||
else
|
||||
src = files(
|
||||
'e_mod_main.c'
|
||||
)
|
||||
|
||||
no_icon = true
|
||||
endif
|
||||
|
|
|
@ -8,7 +8,8 @@ else
|
|||
'xdg5.c',
|
||||
'xdg6.c',
|
||||
'e_mod_main.h'
|
||||
)
|
||||
)
|
||||
|
||||
foreach p: [
|
||||
'@0@/unstable/xdg-shell/xdg-shell-unstable-v5.xml'.format(dir_wayland_protocols),
|
||||
'@0@/unstable/xdg-shell/xdg-shell-unstable-v6.xml'.format(dir_wayland_protocols),
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
src = files(
|
||||
'e_mod_main.c'
|
||||
)
|
||||
|
||||
no_icon = true
|
||||
|
||||
if get_option('wayland') != true
|
||||
disable = true
|
||||
else
|
||||
src = files(
|
||||
'e_mod_main.c'
|
||||
)
|
||||
|
||||
no_icon = true
|
||||
|
||||
config_h.set('HAVE_WL_DRM', '1')
|
||||
endif
|
||||
|
|
|
@ -1,19 +1,10 @@
|
|||
wl_fb_src = [
|
||||
'e_mod_main.c',
|
||||
]
|
||||
if get_option('wayland') != true
|
||||
disable = true
|
||||
else
|
||||
src = files(
|
||||
'e_mod_main.c',
|
||||
)
|
||||
|
||||
wl_fb_dir = join_paths(dir_module_e, 'wl_fb', module_arch)
|
||||
if get_option('wl-fb') == true and get_option('wayland') == true
|
||||
config_h.set('USE_MODULE_WL_FB', '1')
|
||||
|
||||
module_files += join_paths(wl_fb_dir, 'wl_fb.so')
|
||||
shared_module('wl_fb',
|
||||
wl_fb_src,
|
||||
include_directories: include_directories(module_includes),
|
||||
name_prefix: '',
|
||||
dependencies: module_deps,
|
||||
install_dir: wl_fb_dir,
|
||||
install: true
|
||||
)
|
||||
no_icon = true
|
||||
endif
|
||||
|
||||
|
|
|
@ -1,8 +1,6 @@
|
|||
if get_option('wayland') != true
|
||||
disable = true
|
||||
else
|
||||
config_h.set('HAVE_WL_DRM', '1')
|
||||
|
||||
src = files(
|
||||
'e_mod_main.c'
|
||||
)
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
if get_option('wayland') != true
|
||||
disable = true
|
||||
else
|
||||
config_h.set('HAVE_WL_DRM', '1')
|
||||
src = files(
|
||||
'e_mod_main.c',
|
||||
'wkb-log.c',
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
src = files(
|
||||
'e_mod_main.c'
|
||||
)
|
||||
|
||||
no_icon = true
|
||||
|
||||
if get_option('wayland') != true
|
||||
disable = true
|
||||
else
|
||||
src = files(
|
||||
'e_mod_main.c'
|
||||
)
|
||||
|
||||
no_icon = true
|
||||
endif
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
src = files(
|
||||
'e_mod_main.c'
|
||||
)
|
||||
|
||||
no_icon = true
|
||||
|
||||
if get_option('wayland') != true
|
||||
disable = true
|
||||
else
|
||||
src = files(
|
||||
'e_mod_main.c'
|
||||
)
|
||||
|
||||
no_icon = true
|
||||
endif
|
||||
|
|
Loading…
Reference in New Issue