%global debug_package %{nil} %global rust_toolchain rust >= 1.92 # Source build, not the release's prebuilt .rpm: Heronite vendors a patched # GPUI fork (vendor/gpui-zoom, a workspace member) and its release profile is # fat LTO with one codegen unit, so the official binaries are the only thing # upstream can sign for the self-updater. COPR builds it here instead, one # package per Fedora release. # # Fedora's RUSTFLAGS would replace .cargo/config.toml's (clang + lld), which # this project needs to link its vendored GPUI in reasonable time. Undefined, # not 0: rpm only checks that it is defined. %undefine _auto_set_build_flags Name: heronite Version: 2.0.0 Release: 1%{?dist} Summary: Fast native game launcher for Steam, Epic, GOG, emulators and more License: GPL-3.0-only URL: https://github.com/RafaelGoulartB/Heronite Source0: %{url}/archive/refs/tags/v%{version}.tar.gz#/%{name}-%{version}.tar.gz # Upstream builds and ships Linux binaries for x86_64 only. ExclusiveArch: x86_64 BuildRequires: %{rust_toolchain} BuildRequires: cargo BuildRequires: gcc BuildRequires: clang BuildRequires: clang-devel BuildRequires: lld BuildRequires: cmake BuildRequires: pkgconfig BuildRequires: pkgconfig(xkbcommon) BuildRequires: pkgconfig(xkbcommon-x11) BuildRequires: pkgconfig(xcb) BuildRequires: pkgconfig(x11-xcb) BuildRequires: pkgconfig(wayland-client) BuildRequires: pkgconfig(libudev) BuildRequires: pkgconfig(fontconfig) BuildRequires: pkgconfig(freetype2) BuildRequires: pkgconfig(gtk+-3.0) BuildRequires: pkgconfig(webkit2gtk-4.1) BuildRequires: pkgconfig(libsoup-3.0) BuildRequires: desktop-file-utils BuildRequires: appstream # rpm finds the linked libraries (glibc, libxcb, libxkbcommon, libudev) by # itself. These are loaded at run time by the wgpu renderer, so it cannot see # them; without a Vulkan driver, Wayland or fontconfig the window never # comes up. Requires: libvulkan.so.1()(64bit) Requires: libwayland-client.so.0()(64bit) Requires: libfontconfig.so.1()(64bit) Requires: hicolor-icon-theme Recommends: %{name}-epic-login%{?_isa} = %{version}-%{release} Recommends: mesa-vulkan-drivers Recommends: xdg-utils # Runs games in the sandbox; without it the sandbox says so. Recommends: bubblewrap %description Every game you own in one Collection: Steam, Epic Games, GOG, Amazon Games, Battle.net, EA app, Ubisoft Connect, Rockstar Games, emulated ROMs, and native Linux and Windows games, launched natively, with Wine or Proton, or through an emulator. Records every session, with play time statistics and a controller-first console mode. A single native Rust process drawn on the GPU, with no bundled browser. %package epic-login Summary: Epic Games login window for Heronite Requires: %{name}%{?_isa} = %{version}-%{release} %description epic-login The WebKitGTK window Heronite opens to log in to Epic Games. Without it, Heronite offers the login in the web browser instead. A package of its own so that WebKitGTK stays optional. %prep %autosetup -n Heronite-%{version} %build export CARGO_HOME="$PWD/.cargo-home" cargo build --release --locked -p heronite -p heronite-epic-login %install install -D -m 0755 target/release/heronite-rs %{buildroot}%{_bindir}/heronite-rs # Found next to heronite-rs by the Epic page. install -D -m 0755 target/release/heronite-epic-login \ %{buildroot}%{_bindir}/heronite-epic-login install -D -m 0644 packaging/linux/app.heronite.Heronite.desktop \ %{buildroot}%{_datadir}/applications/app.heronite.Heronite.desktop install -D -m 0644 packaging/linux/app.heronite.Heronite.png \ %{buildroot}%{_datadir}/icons/hicolor/256x256/apps/app.heronite.Heronite.png install -D -m 0644 packaging/linux/app.heronite.Heronite.metainfo.xml \ %{buildroot}%{_metainfodir}/app.heronite.Heronite.metainfo.xml # Tells the app that dnf updates it (Package::MARKER in crates/update): it # then only announces new versions instead of replacing this package with # the release .rpm. install -d %{buildroot}%{_datadir}/%{name} echo copr > %{buildroot}%{_datadir}/%{name}/package-format %check desktop-file-validate %{buildroot}%{_datadir}/applications/app.heronite.Heronite.desktop appstreamcli validate --no-net %{buildroot}%{_metainfodir}/app.heronite.Heronite.metainfo.xml %files %license LICENSE licenses/ %doc THIRD-PARTY-NOTICES.md %{_bindir}/heronite-rs %{_datadir}/applications/app.heronite.Heronite.desktop %{_datadir}/icons/hicolor/256x256/apps/app.heronite.Heronite.png %{_metainfodir}/app.heronite.Heronite.metainfo.xml %{_datadir}/%{name}/ %files epic-login %{_bindir}/heronite-epic-login %changelog * Mon Nov 30 2026 boobaa - 2.0.0-1 - Update to 2.0.0 - Add community add-ons, desktop themes, and shareable console themes - Add native Eden emulation, Steam ROM Manager import, and emulator trophies - Add Lutris/Bottles/Faugus migration and overlay media controls * Mon Nov 23 2026 boobaa - 1.8.0-1 - Initial package for Fedora COPR