meson.build: Fix error when installing
If installing into an empty prefix location, "meson install" will fail because it's trying to compile glib schemas which don't exist.
The error message was:
Running custom install script '/nix/store/vdaqdd9l32mnpxlv645y4sjslm82yv9x-glib-2.78.3-dev/bin/glib-compile-schemas /home/rodney/src/gnome.org/phosh-mobile-settings/prefix/share/glib-2.0/schemas'
--- stdout ---
--- stderr ---
Error opening directory “/home/rodney/src/gnome.org/phosh-mobile-settings/prefix/share/glib-2.0/schemas”: No such file or directory
FAILED: install script '/nix/store/vdaqdd9l32mnpxlv645y4sjslm82yv9x-glib-2.78.3-dev/bin/glib-compile-schemas /home/rodney/src/gnome.org/phosh-mobile-settings/prefix/share/glib-2.0/schemas' exit code 1, stopped
---
This MR removes the glib_compile_schemas: true
option from gnome.post_install()
. It's not necessary because phosh-mobile-settings doesn't contain any .schema.xml
files.