-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
40 lines (31 loc) · 940 Bytes
/
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('com.github.rickybassom.gtk-gist-manager', ['vala', 'c'],
version: '0.1.2',
license: 'GNU')
gnome = import('gnome')
i18n = import('i18n')
asresources = gnome.compile_resources(
'as-resources', 'data/css.gresource.xml',
source_dir: 'data',
c_name: 'as'
)
add_project_arguments(['--vapidir', join_paths(meson.current_source_dir(), 'vapi')], language: 'vala')
glib = dependency('glib-2.0', version: '>=2.32')
gobject = dependency('gobject-2.0', version: '>=2.32')
gio = dependency('gio-2.0', version: '>=2.32')
gtk = dependency('gtk+-3.0')
gtksourceview = dependency('gtksourceview-3.0')
libsecret = dependency('libsecret-1')
valagist_proj = subproject('vala-gist')
valagist = valagist_proj.get_variable('valagist_dep')
deps = [
glib,
gobject,
gio,
gtk,
gtksourceview,
libsecret,
valagist
]
subdir('src')
subdir('data')
meson.add_install_script('meson/post_install.py')