From 744613caa871bccf3d490b11bfd6c16b180e79f7 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 20:17:06 +0200 Subject: Adding upstream version 43.0. Signed-off-by: Daniel Baumann --- build-aux/meson/post-install.py | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100755 build-aux/meson/post-install.py (limited to 'build-aux/meson/post-install.py') diff --git a/build-aux/meson/post-install.py b/build-aux/meson/post-install.py new file mode 100755 index 0000000..162f26d --- /dev/null +++ b/build-aux/meson/post-install.py @@ -0,0 +1,13 @@ +#!/usr/bin/env python3 + +import os +import subprocess +import sys + +datadir = sys.argv[1] + +# Packaging tools define DESTDIR and this isn't needed for them +if 'DESTDIR' not in os.environ: + print('Compiling GSettings schemas...') + subprocess.call(['glib-compile-schemas', + os.path.join(datadir, 'glib-2.0', 'schemas')]) -- cgit v1.2.3