Commit ed563a1b authored by Iñigo Martínez's avatar Iñigo Martínez

build: Reuse schemas and GIO modules paths variables

meson's post install script, compiles glib schemas and creates a
cache from the GIO modules. To do this, an assumption is made
regarding the directories where the files are installed under

However, the final directories are available as meson variables
and these can be passed to the post install script, so there is
no need to make any assumption.
parent 4a4d1f8c
......@@ -515,8 +515,8 @@ configure_file(
output = gvfs_name + ' ' + gvfs_version + ' configuration summary:\n'
......@@ -5,10 +5,8 @@ import subprocess
import sys
if not os.environ.get('DESTDIR'):
schemadir = os.path.join(sys.argv[1], 'glib-2.0', 'schemas')
print('Compiling gsettings schemas...')['glib-compile-schemas', schemadir])['glib-compile-schemas', sys.argv[1]])
giomoduledir = os.path.join(sys.argv[2], 'gio', 'modules')
print('GIO module cache creation...')['gio-querymodules', giomoduledir])['gio-querymodules', sys.argv[2]])
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment