summaryrefslogtreecommitdiff
path: root/src/modules/everything/meson.build
blob: 5c543264f052cb0828e85f29ad209d7f2788ff76 (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
everything_dist = [
	'e-module-everything.edj',
	'e-module-everything-start.edj',
]

everything_src = [
	'e_mod_main.c',
	'evry.c',
	'evry_config.c',
	'evry_gadget.c',
	'evry_history.c',
	'evry_plug_actions.c',
	'evry_plug_aggregator.c',
	'evry_plug_apps.c',
	'evry_plug_calc.c',
	'evry_plug_clipboard.c',
	'evry_plug_collection.c',
	'evry_plug_files.c',
	'evry_plugin.c',
	'evry_plug_settings.c',
	'evry_plug_text.c',
	'evry_plug_windows.c',
	'evry_util.c',
	'evry_view.c',
	'evry_view_help.c',
	'evry_view_tabs.c',
	'md5.c',
	'e_mod_main.h',
	'evry_api.h',
	'evry_types.h',
	'md5.h',
]

module += [everything_src]

everything_dir = join_paths(dir_module_e, 'everything', module_arch)
if get_option('everything') == true

	install_data(everything_dist,
		install_dir: join_paths(dir_module_e, 'everything')
	)

	install_headers(['evry_api.h', 'evry_types.h'],
		subdir: 'enlightenment'
	)
	pkgconfig.generate(
		name: 'e17-everything',
		description: 'Everything module for Enlightenment',
		filebase: 'everything',
		subdirs: 'enlightenment',
		requires: 'enlightenment',
		version: e_version_rev,
		install_dir: dir_pkgconfig,
		variables: [
			'exec_prefix=${prefix}',
			'plugindir=${libdir}/enlightenment/modules/everything/plugins'
		]
	)
endif