forked from nikolaizombie1/waytrogen
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmeson.build
29 lines (23 loc) · 949 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
project(
'waytrogen',
'rust',
version: '0.6.9',
license: 'Unlicence',
meson_version: '>= 1.2.0',
default_options: ['rust_std=2021'],
)
gnome = import('gnome')
i18n = import('i18n')
dependency('sqlite3', version: '>= 3.42')
dependency('openssl', version: '>= 3.0')
dependency('gtk4', version: '>= 4.12')
dependency('gio-2.0', version: '>= 2.78')
dependency('glib-2.0', version: '>= 2.78')
subdir('src')
subdir('po')
install_data('org.Waytrogen.Waytrogen.gschema.xml', install_dir: join_paths(get_option('prefix'), 'share', 'glib-2.0', 'schemas'))
if get_option('debian_install') == false
gnome.post_install(glib_compile_schemas: true)
endif
install_data('waytrogen.desktop', install_dir: join_paths(get_option('prefix'), 'share', 'applications'))
install_data('README-Assets/WaytrogenLogo.svg', rename: 'waytrogen.svg', install_dir: join_paths(get_option('prefix'), 'share', 'icons', 'hicolor', 'scalable', 'apps'))