Commit fdd48f3a authored by Alexander Mikhaylenko's avatar Alexander Mikhaylenko
Browse files

build: Compile gschemas on install

parent 652c6912
#!/usr/bin/python3
import os
import subprocess
import sys
destdir = os.environ.get('DESTDIR', '')
if not destdir and len(sys.argv) > 1:
datadir = sys.argv[1]
print('Compiling gsettings schemas...')
subprocess.call(['glib-compile-schemas', os.path.join(datadir, 'glib-2.0', 'schemas')])
......@@ -139,6 +139,11 @@ upower_glib_dep = dependency('upower-glib', version: '>=0.99.1')
wayland_client_dep = dependency('wayland-client', version: '>=1.14')
wayland_protos_dep = dependency('wayland-protocols', version: '>=1.12')
meson.add_install_script(
join_paths('build-aux', 'post_install.py'),
datadir
)
subdir('data')
subdir('po')
subdir('protocol')
......
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