-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
46 lines (36 loc) · 1.03 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
40
41
42
43
44
45
46
project('daikhan', 'vala',
version: 'pre-alpha')
profile = get_option('profile')
app_id = 'io.gitlab.daikhan.' + profile
gschema_path = '/io/gitlab/daikhan/' + profile + '/'
i18n = import('i18n')
gnome = import('gnome')
cc = meson.get_compiler('c')
add_project_arguments(
'-DGETTEXT_PACKAGE="daikhan"',
language: 'c'
)
add_project_arguments(
'--vapidir', meson.project_source_root() / 'vapi',
language: 'vala'
)
add_project_dependencies(
cc.find_library('m', required: false),
language: ['vala', 'c']
)
dep_adw = dependency('libadwaita-1', version: '>=1.6.0')
dep_gdk_pixbuf = dependency('gdk-pixbuf-2.0')
dep_gio = dependency('gio-2.0')
dep_gst = dependency('gstreamer-1.0')
dep_gst_audio = dependency('gstreamer-audio-1.0')
dep_gst_tag = dependency('gstreamer-tag-1.0')
dep_xxhash = dependency('libxxhash')
dependency('gstgtk4') # Has no header or vaapi file
subdir('po')
subdir('data')
subdir('src')
gnome.post_install(
glib_compile_schemas: true,
gtk_update_icon_cache: true,
update_desktop_database: true,
)