From 888945ac2e6e212ee06ec7eaa6607b0faf1a2743 Mon Sep 17 00:00:00 2001 From: Igor Gnatenko Date: Mon, 23 Mar 2015 00:32:41 +0300 Subject: modules/gnome: install Gir also and auto-detect it's dir Gir file should be installed in devel subpackage Signed-off-by: Igor Gnatenko --- modules/gnome.py | 3 +++ 1 file changed, 3 insertions(+) (limited to 'modules') diff --git a/modules/gnome.py b/modules/gnome.py index ef5f6b8..53e26ee 100644 --- a/modules/gnome.py +++ b/modules/gnome.py @@ -63,6 +63,9 @@ class GnomeModule: scankwargs = {'output' : girfile, 'input' : libsources, 'command' : scan_command} + if kwargs.get('install'): + scankwargs['install'] = kwargs['install'] + scankwargs['install_dir'] = os.path.join(state.environment.get_datadir(), 'gir-1.0') scan_target = build.CustomTarget(scan_name, state.subdir, scankwargs) typelib_name = girtarget.name + '-typelib' -- cgit v1.1