From 99c7f79ded93e50f6449fba599e3b212ce7e3abb Mon Sep 17 00:00:00 2001 From: Bobby Rong Date: Sat, 3 Aug 2024 20:48:42 +0800 Subject: meson: Compile gsettings schemas Same as https://github.com/mate-desktop/mate-wayland-session/commit/9bc03ecd9cfdb7ba16a76fa6a569982222d3d422. Since we install the org.mate.peripherals-keyboard-xkb gschemas here, it makes sense for us to do that. This is also done in autotools build via @GSETTINGS_RULES@. --- meson-postinstall.sh | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 meson-postinstall.sh (limited to 'meson-postinstall.sh') diff --git a/meson-postinstall.sh b/meson-postinstall.sh new file mode 100755 index 0000000..36b2677 --- /dev/null +++ b/meson-postinstall.sh @@ -0,0 +1,6 @@ +#!/bin/sh + +if [ -z "$DESTDIR" ]; then + echo Compiling GSettings schemas... + glib-compile-schemas ${MESON_INSTALL_PREFIX}/share/glib-2.0/schemas +fi -- cgit v1.2.1