forked from GNOME/gnome-mines
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
40 lines (33 loc) · 1.12 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
project ('gnome-mines', ['vala', 'c'],
version: '43.alpha',
license: 'GPLv3+',
default_options: [
'warning_level=1',
'buildtype=debugoptimized',
],
meson_version: '>= 0.59.0')
app_id = 'org.gnome.Mines'
gnome = import ('gnome')
i18n = import ('i18n')
cc = meson.get_compiler('c')
# Paths
mandir = join_paths (get_option ('prefix'), get_option ('mandir'))
localedir = join_paths (get_option ('prefix'), get_option ('localedir'))
datadir = join_paths (get_option ('prefix'), get_option ('datadir'))
pkgdatadir = join_paths (datadir, 'gnome-mines')
# Dependencies
glib_dep = dependency ('glib-2.0', version: '>= 2.40.0')
gee_dep = dependency ('gee-0.8')
gtk_dep = dependency ('gtk+-3.0', version: '>= 3.24')
librsvg_dep = dependency ('librsvg-2.0', version: '>=2.32.0')
libgnome_games_support_dep = dependency ('libgnome-games-support-1', version: '>= 1.7.1')
libmath_dep = cc.find_library('m')
subdir ('po')
subdir ('data')
subdir ('help')
subdir ('src')
gnome.post_install(
glib_compile_schemas: true,
gtk_update_icon_cache: true,
update_desktop_database: true
)