From 50e64dc295c0c012191bd85ce02e48279b348db0 Mon Sep 17 00:00:00 2001 From: donadigo Date: Sun, 20 Aug 2017 15:43:01 +0200 Subject: [PATCH] Add missing meson folder --- meson/post_install.py | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 meson/post_install.py diff --git a/meson/post_install.py b/meson/post_install.py new file mode 100644 index 0000000..9eaefa9 --- /dev/null +++ b/meson/post_install.py @@ -0,0 +1,10 @@ +#!/usr/bin/env python3 + +import os +import subprocess + +schemadir = os.path.join(os.environ['MESON_INSTALL_PREFIX'], 'share', 'glib-2.0', 'schemas') + +if not os.environ.get('DESTDIR'): + print('Compiling gsettings schemas...') + subprocess.call(['glib-compile-schemas', schemadir]) \ No newline at end of file