Skip to content

Commit 5c7fd36

Browse files
authored
meson: Use gnome module to compile schemas (#1987)
We don't update icon cache here because we don't install any icons to hicolor dir now.
1 parent f8346f0 commit 5c7fd36

File tree

3 files changed

+6
-22
lines changed

3 files changed

+6
-22
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ A window & compositing manager based on libmutter and designed by elementary for
66
## Building, Testing, and Installation
77

88
You'll need the following dependencies:
9-
* meson
109
* gettext (>= 0.19.6)
1110
* gsettings-desktop-schemas-dev
1211
* libcanberra-dev
@@ -18,6 +17,7 @@ You'll need the following dependencies:
1817
* libgtk-3-dev (>= 3.10.0)
1918
* libmutter-10-dev (>= 42.0) | libmutter-dev (>= 3.18.3)
2019
* libxml2-utils
20+
* meson (>= 0.59.0)
2121
* valac (>= 0.46.0)
2222

2323
Run `meson build` to configure the build environment. Change to the build directory and run `ninja` to build

build-aux/meson/post_install.py

Lines changed: 0 additions & 19 deletions
This file was deleted.

meson.build

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
project('gala',
22
'c', 'vala',
33
version: '7.1.3',
4-
meson_version: '>= 0.58.0',
4+
meson_version: '>= 0.59.0',
55
license: 'GPL3',
66
)
77

@@ -195,4 +195,7 @@ if vapigen.found()
195195
subdir('vapi')
196196
endif
197197

198-
meson.add_install_script('build-aux/meson/post_install.py')
198+
gnome.post_install(
199+
glib_compile_schemas: true,
200+
update_desktop_database: true
201+
)

0 commit comments

Comments
 (0)