about summary refs log tree commit diff
path: root/meson.build
blob: 04c36807eafa7a54d9a60bb6b0563d72dfa70145 (plain) (blame)
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
43
44
project('furtherance', 'rust',
          version: '1.8.2',
    meson_version: '>= 0.59.0',
  default_options: [ 'warning_level=2',
                   ],
)

gnome = import('gnome')

# Dependencies
dependency('sqlite3', version: '>= 3.20')
dependency('dbus-1')

dependency('glib-2.0', version: '>= 2.66')
dependency('gio-2.0', version: '>= 2.66')
dependency('gtk4', version: '>= 4.0.0')
dependency('libadwaita-1', version: '>=1.0.0')

name       = 'Furtherance'
app_id     = 'com.lakoliu.Furtherance'
profile    = get_option('profile')

# Change app id during development
if profile == 'development'
  app_id = '@0@.Devel'.format(app_id)
endif

i18n = import('i18n')


cargo_sources = files(
  'Cargo.toml',
  'Cargo.lock',
)

subdir('data')
subdir('src')
subdir('po')

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