Codebase list xapp / ef5c42e
Don't build the gtk module for lib-only builds (flatpak). Michael Webster 3 years ago
2 changed file(s) with 16 addition(s) and 11 deletion(s). Raw diff Collapse all Expand all
0 install_data(['80xapp-gtk3-module.sh'],
1 install_dir: join_paths(get_option('sysconfdir'), 'X11', 'xinit', 'xinitrc.d'),
2 install_mode: 'rwxr-xr-x'
3 )
0
1 if not app_lib_only
2 install_data(['80xapp-gtk3-module.sh'],
3 install_dir: join_paths(get_option('sysconfdir'), 'X11', 'xinit', 'xinitrc.d'),
4 install_mode: 'rwxr-xr-x'
5 )
6 endif
146146 install: true
147147 )
148148
149 gtk3_module = shared_module(
150 'xapp-gtk3-module', ['xapp-gtk3-module.c'],
151 include_directories: [top_inc],
152 dependencies: [gtk3_dep, libxapp_dep],
153 install: true,
154 install_dir: join_paths(gtk3_dep.get_pkgconfig_variable('libdir'),'gtk-3.0','modules')
155 )
149 if not app_lib_only
150 gtk3_module = shared_module(
151 'xapp-gtk3-module', ['xapp-gtk3-module.c'],
152 include_directories: [top_inc],
153 dependencies: [gtk3_dep, libxapp_dep],
154 install: true,
155 install_dir: join_paths(gtk3_dep.get_pkgconfig_variable('libdir'),'gtk-3.0','modules')
156 )
157 endif