-
-
Notifications
You must be signed in to change notification settings - Fork 79
Expand file tree
/
Copy pathmeson.build
More file actions
84 lines (78 loc) · 2.3 KB
/
meson.build
File metadata and controls
84 lines (78 loc) · 2.3 KB
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
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
gala_common_enums = files(
'CommonEnums.vala',
)
gala_lib_sources = files(
'ActivatableComponent.vala',
'App.vala',
'AppCache.vala',
'AppSystem.vala',
'BackgroundManager.vala',
'CanvasActor.vala',
'CloseButton.vala',
'Constants.vala',
'DragDropAction.vala',
'Drawing/BufferSurface.vala',
'Drawing/Canvas.vala',
'Drawing/Color.vala',
'Drawing/StyleManager.vala',
'Drawing/Utilities.vala',
'Icon.vala',
'Image.vala',
'Plugin.vala',
'RoundedCornersEffect.vala',
'ShadowEffect.vala',
'SimpleShaderEffect.vala',
'Text.vala',
'Utils.vala',
'WindowIcon.vala',
'WindowManager.vala',
'Gestures/ActorTarget.vala',
'Gestures/Gesture.vala',
'Gestures/GestureBackend.vala',
'Gestures/GestureController.vala',
'Gestures/GestureSettings.vala',
'Gestures/GestureTarget.vala',
'Gestures/GestureTrigger.vala',
'Gestures/GlobalTrigger.vala',
'Gestures/PropertyTarget.vala',
'Gestures/RootTarget.vala',
'Gestures/ScrollBackend.vala',
'Gestures/SpringTimeline.vala',
'Gestures/SwipeTrigger.vala',
'Gestures/ToucheggBackend.vala',
'Gestures/TouchpadBackend.vala',
'Gestures/WorkspaceHideTracker.vala'
) + gala_common_enums
gala_resources = gnome.compile_resources(
'gala-resources',
join_paths(meson.global_source_root(), 'data', 'gala.gresource.xml'),
source_dir: join_paths(meson.global_source_root(), 'data'),
c_name: 'gala',
)
gala_lib = shared_library(
'gala',
gala_lib_sources,
gala_resources,
dependencies: [gala_base_dep],
install: true,
install_dir: [true, join_paths(get_option('includedir'), 'gala'), true],
install_rpath: mutter_typelib_dir,
version : '0.0.0'
)
deps_conf = configuration_data()
deps_conf.set('MUTTER_DEP', libmutter_dep.name())
config_h = configure_file(
input: 'gala.deps.in',
output: '@BASENAME@',
configuration: deps_conf,
install_dir: join_paths(get_option('datadir'), 'vala', 'vapi')
)
gala_dep = declare_dependency(link_with: [gala_lib], include_directories: include_directories('.'))
pkg.generate(
gala_lib,
filebase: 'gala',
name: 'Gala',
description: 'Library to develop plugins for Gala',
subdirs: 'gala',
requires: [glib_dep, gobject_dep, gio_dep, gio_unix_dep, libmutter_dep]
)