-
Notifications
You must be signed in to change notification settings - Fork 2
/
meson.build
46 lines (41 loc) · 1.48 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
# project name and programming language
project('io.github.leolost2605.syncher', 'vala', 'c')
gnome = import('gnome')
# Include the translations module
i18n = import('i18n')
# Set our translation domain
add_global_arguments('-DGETTEXT_PACKAGE="@0@"'.format (meson.project_name()), language:'c')
# Create a new executable, list the files we want to compile, list the dependencies we need, and install
executable(
meson.project_name(),
'src' / 'Application.vala',
'src' / 'ErrorView.vala',
'src' / 'HomeView.vala',
'src' / 'Window.vala',
'src' / 'PreferencesWindow.vala',
'src' / 'ProgressView.vala',
'src' / 'ProgressWidget.vala',
'src' / 'Core' / 'SyncherService.vala',
'src' / 'Core' / 'Module.vala',
'src' / 'Modules' / 'AppModule.vala',
'src' / 'Modules' / 'DconfModule.vala',
'src' / 'Modules' / 'RepoModule.vala',
'src' / 'WelcomeView' / 'AbstractWelcomePage.vala',
'src' / 'WelcomeView' / 'FinishPage.vala',
'src' / 'WelcomeView' / 'LocationPage.vala',
'src' / 'WelcomeView' / 'ModulePage.vala',
'src' / 'WelcomeView' / 'PermissionPage.vala',
'src' / 'WelcomeView' / 'WelcomePage.vala',
'src' / 'WelcomeView' / 'WelcomeView.vala',
dependencies: [
dependency('gtk4'),
dependency('granite-7'),
dependency('libadwaita-1'),
dependency('libportal'),
dependency('libportal-gtk4')
],
install: true
)
gnome.post_install(glib_compile_schemas: true)
subdir('po')
subdir('data')