forked from naaando/rush
-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
49 lines (43 loc) · 1.33 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
project ('com.github.naaando.rush', 'vala', 'c')
add_global_arguments ('-DGETTEXT_PACKAGE="rush"', language:'c')
subdir ('libpomodoro')
gnome = import ('gnome')
i18n = import('i18n')
asresources = gnome.compile_resources(
'as-resources', 'data/com.github.naaando.rush.gresource.xml',
source_dir: 'data',
c_name: 'as'
)
executable(
meson.project_name(),
asresources,
'src/Application.vala',
'src/Factory/ViewFactory.vala',
'src/Interfaces/PomodoroView.vala',
'src/Services/EventSound.vala',
'src/View/DonePage.vala',
'src/View/HeaderBar.vala',
'src/View/Page.vala',
'src/View/PomodoroWindow.vala',
'src/View/ReportsGrid.vala',
'src/View/RunningPage.vala',
'src/Widgets/MultiImageToggleButton.vala',
'src/Widgets/PomodoroLabel.vala',
'src/Widgets/DoubleColumnContainer.vala',
'src/Widgets/TimerLabel.vala',
'src/Widgets/SegmentedButton.vala',
dependencies: [
dependency('glib-2.0'),
dependency('gobject-2.0'),
dependency('gtk+-3.0'),
dependency('libcanberra'),
dependency('unity')
],
link_with: libpomodoro,
include_directories: include_directories('libpomodoro'),
install: true
)
subdir ('data')
subdir('po')
# Compile gsettings schemas and rebuild desktop icons cache
meson.add_install_script('meson/post_install.py')