docs: add Fedora and Fedora Atomic (Bazzite) build instructions (#1372)
* docs: add Fedora and Fedora Atomic (Bazzite) build instructions Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01SscrMzrvwrj17PJsfzqog9 * docs: note --nvidia for Distrobox on NVIDIA hosts * docs: streamline Fedora build instructions --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com> Co-authored-by: nmzik <Nmzik@mail.ru>
This commit is contained in:
parent
d4bb7fd786
commit
730e1a3cf3
37
README.md
37
README.md
|
|
@ -248,6 +248,43 @@ sources, so it needs network access; a fully sandboxed `nix build` would require
|
||||||
inputs. A Vulkan 1.3 driver must be available at runtime (on NixOS,
|
inputs. A Vulkan 1.3 driver must be available at runtime (on NixOS,
|
||||||
`hardware.graphics.enable = true`).
|
`hardware.graphics.enable = true`).
|
||||||
|
|
||||||
|
### Building on Fedora and Fedora Atomic (Bazzite, Bluefin, Silverblue)
|
||||||
|
|
||||||
|
On regular Fedora, install dependencies on the host. On Fedora Atomic variants such as Bazzite,
|
||||||
|
Bluefin and Silverblue, use [Distrobox](https://distrobox.it/) and run the install and build steps
|
||||||
|
inside the container. Keep the checkout in your home directory so it is shared with the container.
|
||||||
|
Add `--nvidia` to the create command for hosts using the proprietary NVIDIA driver:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
distrobox create --name kyty-build --image registry.fedoraproject.org/fedora:latest
|
||||||
|
distrobox enter kyty-build
|
||||||
|
```
|
||||||
|
|
||||||
|
Install the toolchain, Qt 6 and SDL3 dependencies:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
sudo dnf install -y \
|
||||||
|
clang lld ninja-build cmake git glslang python3 pkgconf-pkg-config \
|
||||||
|
mesa-libGL-devel libX11-devel libXcursor-devel libXext-devel libXfixes-devel \
|
||||||
|
libXi-devel libXrandr-devel libXScrnSaver-devel libXtst-devel libxkbcommon-devel \
|
||||||
|
alsa-lib-devel pulseaudio-libs-devel systemd-devel dbus-devel \
|
||||||
|
wayland-devel wayland-protocols-devel qt6-qtbase-devel
|
||||||
|
```
|
||||||
|
|
||||||
|
From the repository root, follow the launcher configure, build and install steps in
|
||||||
|
[Building on Linux](#building-on-linux), omitting `-DCMAKE_PREFIX_PATH="$Qt6_DIR"`; CMake finds
|
||||||
|
Fedora's packaged Qt 6 automatically.
|
||||||
|
|
||||||
|
Run `./_Build/linux/install/launcher` on regular Fedora or inside the container. To launch a
|
||||||
|
container build from the host, leave the container with `exit`, then run from the repository root:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
distrobox enter kyty-build -- ./_Build/linux/install/launcher
|
||||||
|
```
|
||||||
|
|
||||||
|
Qt libraries and plugins are bundled. You can also launch directly on a Fedora Atomic host
|
||||||
|
if its other system libraries are compatible with the container build.
|
||||||
|
|
||||||
### Building on macOS
|
### Building on macOS
|
||||||
|
|
||||||
macOS builds target x86-64 and run under Rosetta 2 on Apple Silicon, so the PS5's x86-64 game
|
macOS builds target x86-64 and run under Rosetta 2 on Apple Silicon, so the PS5's x86-64 game
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue