There are multiple ways to build the package during development
- Make sure that you have the rust extension installed
flatpak info org.freedesktop.Sdk.Extension.rust-stable
If it's not installed , run this command
flatpak install org.freedesktop.Sdk.Extension.rust-stable
- It is recommended to use fenv to manage the flatpak environment
- fenv separates the development builds from the EAM installations in the system (similar to venv in python)
- fenv gen build-aux/io.github.achetagames.epic_asset_manager.Devel.json
- fenv exec -- meson --prefix=/app -Dprofile=development _build
- fenv exec -- ninja -C _build
- fenv exec -- ninja -C _build install
- fenv run
Alternatively you can use meson
- meson _build --prefix=/usr
- ninja -C _build
- ninja -C _build install