Files
Ikey Doherty 0f24683688 meson: Start a cleanup of the build files
Additionally, add an output report to show at build time what we're
configured to do, ala autotools.

Signed-off-by: Ikey Doherty <ikey.doherty@intel.com>
2019-01-08 10:28:44 +00:00

26 lines
782 B
Meson

path_appsdir = join_paths(path_datadir, 'applications')
# If frontend is enabled, install lsi-settings.desktop
if with_frontend == true
data_conf = configuration_data()
if with_snap_support == true
data_conf.set('LSI_SETTINGS', 'linux-steam-integration.exec linux-steam-integration.settings')
else
data_conf.set('LSI_SETTINGS', 'lsi-settings')
endif
configure_file(
input: 'lsi-settings.desktop.in',
output: 'lsi-settings.desktop',
configuration: data_conf,
install_dir: path_appsdir,
)
endif
# If we need to co-exist, install alternative .desktop file (not conflicting with Steam)
if shim_behaviour == 'co-exist'
install_data(
'lsi-steam.desktop',
install_dir: path_appsdir,
)
endif