forked from gdm-settings/gdm-settings
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmeson.build
More file actions
53 lines (45 loc) · 1.2 KB
/
Copy pathmeson.build
File metadata and controls
53 lines (45 loc) · 1.2 KB
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
47
48
49
50
51
52
53
project('gdm-settings',
version: '5.0+',
meson_version: '>= 0.59',
default_options: [
'buildtype=release',
'gtk:media-gstreamer=disabled',
'gtk:print-cups=disabled',
'gtk:introspection=enabled',
'gtk:build-demos=false',
'gtk:build-testsuite=false',
'gtk:build-examples=false',
'gtk:build-tests=false',
'libadwaita:introspection=enabled',
'libadwaita:vapi=false',
'libadwaita:tests=false',
'libadwaita:examples=false',
]
)
app_id = 'io.github.realmazharhussain.GdmSettings'
dependency('glib-2.0')
dependency('pygobject-3.0')
dependency('gtk4', version: '>=4.10')
dependency('libadwaita-1', version: '>=1.4')
i18n = import('i18n')
gnome = import('gnome')
python = import('python').find_installation('python3')
subdir('po')
subdir('data')
subdir('resources')
subdir('gdms')
configure_file(
input: 'gdm-settings.py.in',
output: meson.project_name(),
install: true,
install_dir: get_option('bindir'),
configuration: configuration_data({
'prefix': get_option('prefix'),
'py_install_dir': python.get_install_dir(),
}),
)
gnome.post_install(
glib_compile_schemas: true,
gtk_update_icon_cache: true,
update_desktop_database: true,
)