build: Compile the GSettings schema after installation
Fallout from 10738d68c6
https://gitlab.gnome.org/GNOME/gnome-control-center/issues/8
This commit is contained in:
parent
3aa89a836a
commit
3dc4b6b324
1 changed files with 4 additions and 0 deletions
|
@ -4,8 +4,12 @@ import os
|
||||||
import subprocess
|
import subprocess
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
gsettingsschemadir = os.path.join(sys.argv[1], 'glib-2.0', 'schemas')
|
||||||
icondir = os.path.join(sys.argv[1], 'icons', 'hicolor')
|
icondir = os.path.join(sys.argv[1], 'icons', 'hicolor')
|
||||||
|
|
||||||
if not os.environ.get('DESTDIR'):
|
if not os.environ.get('DESTDIR'):
|
||||||
|
print('Compiling gsettings schemas...')
|
||||||
|
subprocess.call(['glib-compile-schemas', gsettingsschemadir])
|
||||||
|
|
||||||
print('Update icon cache...')
|
print('Update icon cache...')
|
||||||
subprocess.call(['gtk-update-icon-cache', '-f', '-t', icondir])
|
subprocess.call(['gtk-update-icon-cache', '-f', '-t', icondir])
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue