diff options
author | Bobby Rong <[email protected]> | 2024-08-03 20:48:42 +0800 |
---|---|---|
committer | Luke from DC <[email protected]> | 2024-08-03 17:58:19 +0000 |
commit | 99c7f79ded93e50f6449fba599e3b212ce7e3abb (patch) | |
tree | d7392b7db784f7f937ab1abd07771e79c5b924bf | |
parent | d884cf3135c1ea29141e54fee8b54eb7b04f1492 (diff) | |
download | libmatekbd-master.tar.bz2 libmatekbd-master.tar.xz |
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@.
-rwxr-xr-x | meson-postinstall.sh | 6 | ||||
-rw-r--r-- | meson.build | 2 |
2 files changed, 8 insertions, 0 deletions
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 diff --git a/meson.build b/meson.build index 17e41bd..1a6f1d2 100644 --- a/meson.build +++ b/meson.build @@ -57,3 +57,5 @@ subdir('po') if get_option('tests') subdir('test') endif + +meson.add_install_script('meson-postinstall.sh') |