build: Remove schema generation

We do not have any GSettings schemas.
This commit is contained in:
Jan Tojnar 2020-03-25 18:53:28 +01:00
parent 8a764cc0cd
commit 697fd56f38
No known key found for this signature in database
GPG Key ID: 7FAB2A15F7A607A4
1 changed files with 0 additions and 4 deletions

View File

@ -5,12 +5,8 @@ import os
import subprocess import subprocess
install_prefix = os.environ['MESON_INSTALL_PREFIX'] install_prefix = os.environ['MESON_INSTALL_PREFIX']
schemadir = os.path.join(install_prefix, 'share', 'glib-2.0', 'schemas')
if not os.environ.get('DESTDIR'): if not os.environ.get('DESTDIR'):
print('Compiling gsettings schemas…')
subprocess.call(['glib-compile-schemas', schemadir])
print('Updating icon cache…') print('Updating icon cache…')
icon_cache_dir = os.path.join(install_prefix, 'share', 'icons', 'hicolor') icon_cache_dir = os.path.join(install_prefix, 'share', 'icons', 'hicolor')
subprocess.call(['gtk-update-icon-cache', '-qtf', icon_cache_dir]) subprocess.call(['gtk-update-icon-cache', '-qtf', icon_cache_dir])