Don't build the gtk module for lib-only builds (flatpak).
Michael Webster
2 years ago
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⏎
|
146 | 146 |
install: true
|
147 | 147 |
)
|
148 | 148 |
|
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
|