-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
36 lines (32 loc) · 1004 Bytes
/
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
project('com.github.flocore.flocoreclock', 'vala', 'c')
executable(
meson.project_name(),
'src' / 'Application.vala',
dependencies: [
dependency('gtk+-3.0')
],
install: true
)
install_data(
'data' / 'flocoreclock.desktop',
install_dir: get_option('datadir') / 'applications',
rename: meson.project_name() + '.desktop'
)
install_data(
'data' / 'flocoreclock.appdata.xml',
install_dir: get_option('datadir') / 'metainfo',
rename: meson.project_name() + '.appdata.xml'
)
icon_sizes = ['16', '24', '32', '48', '64', '128']
foreach i : icon_sizes
install_data(
'data/icons' / i + '.svg',
install_dir: get_option('datadir') / 'icons' / 'hicolor' / i + 'x' + i / 'apps',
rename: meson.project_name() + '.svg'
)
install_data(
'data/icons' / i + '.svg',
install_dir: get_option('datadir') / 'icons' / 'hicolor' / i + 'x' + i + '@2' / 'apps',
rename: meson.project_name() + '.svg'
)
endforeach