forked from elementary-tweaks/elementary-tweaks
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
61 lines (54 loc) · 1.69 KB
/
meson.build
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
project('elementary-tweaks', 'vala', 'c', version: '1.0')
switchboard_dep = dependency('switchboard-2.0')
gettext_name = meson.project_name() + '-plug'
pkgdatadir = join_paths(switchboard_dep.get_pkgconfig_variable('plugsdir'), 'personal')
i18n = import('i18n')
add_global_arguments(
'-DGETTEXT_PACKAGE="@0@"'.format(gettext_name),
language:'c'
)
subdir('icon')
subdir('po')
plug_files = files(
'src/Tweaks.vala',
'src/Util.vala',
'src/Settings/AudienceSettings.vala',
'src/Settings/IndicatorSoundSettings.vala',
'src/Settings/FilesSettings.vala',
'src/Settings/GalaSettings.vala',
'src/Settings/GtkSettings.vala',
'src/Settings/PlankSettings.vala',
'src/Settings/SlingshotSettings.vala',
'src/Settings/GnomeSettings.vala',
'src/Settings/TerminalSettings.vala',
'src/Settings/XSettings.vala',
'src/Panes/AudiencePane.vala',
'src/Panes/AnimationsPane.vala',
'src/Panes/AppearancePane.vala',
'src/Panes/FontsPane.vala',
'src/Panes/MiscPane.vala',
'src/Panes/FilesPane.vala',
'src/Panes/TerminalPane.vala',
'src/Panes/PlankPane.vala',
'src/Panes/SlingshotPane.vala',
'src/Objects/ShortcutObject.vala',
'src/Widgets/Categories.vala',
'src/Widgets/SettingBox.vala',
'src/Widgets/Label.vala',
)
shared_module(
meson.project_name(),
plug_files,
dependencies: [
dependency('gee-0.8'),
dependency('glib-2.0'),
dependency('granite'),
dependency('gtk+-3.0'),
dependency('polkit-gobject-1'),
meson.get_compiler('vala').find_library('posix'),
switchboard_dep
],
install: true,
install_dir: pkgdatadir
)
meson.add_install_script('meson/post_install.py')