mirror of
https://github.com/clearlinux/linux-steam-integration.git
synced 2026-08-28 13:25:49 +00:00
9975bd5780
Signed-off-by: Ikey Doherty <ikey@solus-project.com>
26 lines
762 B
Meson
26 lines
762 B
Meson
appsdir = join_paths(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: 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: appsdir,
|
|
)
|
|
endif
|