lutris / lutris

Lutris desktop client
https://lutris.net
GNU General Public License v3.0
7.77k stars 687 forks source link

Request to make Lutris builds flexible & customisable #5432

Open sameersharma2006 opened 5 months ago

sameersharma2006 commented 5 months ago

Currently building lutris with meson isn't configurable as the project doesn't have meson build flags it would be good if the project offers meson build flags to disable some features of the app, specify install location etc.

For e.g., it doesn't make any sense to include support for managing flatpaks with lutris as a snap package as it isn't possible. If we could just disable support for lutris flatpak support it would have been good.

P.S. Am not just talking about disabling flatpak but options to disable some other game installers etc. will be good as it will make maintaining lutris easier.

strycore commented 5 months ago

We can adjust the code to adapt to a snap environment without meson build flags. That said, I'm not against more configuration options in meson, if they can be useful.

First, we need an is_snap method in linux.py, then the rest will be easy.