File: meson.build

package info (click to toggle)
gnome-mines 1%3A3.36.1-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 2,480 kB
  • sloc: xml: 66; python: 10; sh: 7; makefile: 6
file content (34 lines) | stat: -rw-r--r-- 1,067 bytes parent folder | download
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
project ('gnome-mines', ['vala', 'c'],
         version: '3.36.1',
         license: 'GPLv3+',
         default_options: [
             'warning_level=1',
             'buildtype=debugoptimized',
         ],
         meson_version: '>= 0.37.1')

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.12')
librsvg_dep = dependency ('librsvg-2.0', version: '>=2.32.0')
libgnome_games_support_dep = dependency ('libgnome-games-support-1')
libmath_dep = cc.find_library('m')

subdir ('po')
subdir ('data')
subdir ('help')
subdir ('src')
meson.add_install_script ('build-aux/meson_post_install.py')