-
Notifications
You must be signed in to change notification settings - Fork 0
/
meson.build
27 lines (24 loc) · 925 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
# project name and programming language
project('com.github.thureos.apio', 'vala', '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/MainWindow.vala',
'src/RequestList.vala',
dependencies: [
dependency('gtk+-3.0'),
dependency('granite')
],
install: true
)
#Install our .desktop file so the Applications Menu will see it
install_data(
join_paths('data', meson.project_name() + '.desktop'),
install_dir: join_paths(get_option('datadir'), 'applications')
)
#Install our .appdata.xml file so AppCenter will see it
install_data(
join_paths('data', meson.project_name() + '.appdata.xml'),
install_dir: join_paths(get_option('datadir'), 'metainfo')
)