summaryrefslogtreecommitdiff
path: root/src/modules/conf_theme/meson.build
blob: 28ff663c4713682b43d9d7fc7799c432e497e522 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
conf_theme_dist = [
	'module.desktop',
]

conf_theme_src = [
	'e_int_config_borders.c',
	'e_int_config_color_classes.c',
	'e_int_config_fonts.c',
	'e_int_config_scale.c',
	'e_int_config_theme.c',
	'e_int_config_theme_import.c',
	'e_int_config_transitions.c',
	'e_int_config_wallpaper.c',
	'e_int_config_xsettings.c',
	'e_mod_main.c',
	'e_mod_main.h',
]

conf_theme_dir = join_paths(dir_module_e, 'conf_theme', module_arch)
if get_option('conf-theme') == true
	config_h.set('USE_MODULE_CONF_THEME', '1')

	install_data(conf_theme_dist,
		install_dir: join_paths(dir_module_e, 'conf_theme')
	)

        module_files += join_paths(conf_theme_dir, 'conf_theme.so')
	shared_module('conf_theme',
                conf_theme_src,
                include_directories: include_directories(module_includes),
                name_prefix: '',
                dependencies: module_deps,
                install_dir: conf_theme_dir,
                install: true
        )
endif