-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeson.build
More file actions
30 lines (24 loc) · 715 Bytes
/
meson.build
File metadata and controls
30 lines (24 loc) · 715 Bytes
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
project('stenmark',
version: '0.5.0',
meson_version: '>= 0.62.0',
default_options: ['warning_level=2'],
)
python = import('python').find_installation('python3')
gnome = import('gnome')
prefix = get_option('prefix')
bindir = prefix / get_option('bindir')
datadir = prefix / get_option('datadir')
pkgdatadir = datadir / meson.project_name()
moduledir = pkgdatadir / 'stenmark'
conf = configuration_data()
conf.set('PYTHON', python.full_path())
conf.set('VERSION', meson.project_version())
conf.set('pkgdatadir', pkgdatadir)
conf.set('BIN', bindir / meson.project_name())
subdir('data')
subdir('stenmark')
subdir('bin')
gnome.post_install(
gtk_update_icon_cache: true,
update_desktop_database: true,
)