File: meson.build

package info (click to toggle)
refine 0.7.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,080 kB
  • sloc: python: 1,152; xml: 27; makefile: 4
file content (42 lines) | stat: -rw-r--r-- 847 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
35
36
37
38
39
40
41
42
project('refine',
  version: '0.7.1',
  meson_version: '>= 1.5.0',
  default_options: [ 'warning_level=2', 'werror=false', ],
)

i18n = import('i18n')
gnome = import('gnome')

app_version = meson.project_version()
version_array = app_version.split('.')
major = version_array[0]
minor = version_array[1]
micro = version_array[2]

app_name = 'Refine'
developer_id = 'page.tesk'
base_id = developer_id + '.' + app_name
app_id = base_id
profile = get_option('profile')

if profile == 'development'
  app_version += '-' + run_command(
      ['git', 'rev-parse', '--short', 'HEAD'],
      check: true
    ).stdout().strip()
  app_name += ' (Development)'
  app_id += '.' + 'Devel'
endif




subdir('data')
subdir('refine')
subdir('po')

gnome.post_install(
  glib_compile_schemas: true,
  gtk_update_icon_cache: true,
  update_desktop_database: true,
)