From f9da7075d0a1d998a707452fbbfdbbdb5a1cdc7e Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Tue, 3 Mar 2026 13:39:29 -0800 Subject: [PATCH] add: moonshot (#10202) (#10254) (cherry picked from commit 7e890f9d3e962487cb69ada176e0c93961c42605) Co-authored-by: Owen Zimmerman <123591347+Owen-sz@users.noreply.github.com> --- anda/apps/moonshot/anda.hcl | 5 ++ .../com.fyralabs.moonshot.metainfo.xml | 50 +++++++++++++++++ anda/apps/moonshot/moonshot.spec | 55 +++++++++++++++++++ anda/apps/moonshot/update.rhai | 1 + 4 files changed, 111 insertions(+) create mode 100644 anda/apps/moonshot/anda.hcl create mode 100644 anda/apps/moonshot/com.fyralabs.moonshot.metainfo.xml create mode 100644 anda/apps/moonshot/moonshot.spec create mode 100644 anda/apps/moonshot/update.rhai diff --git a/anda/apps/moonshot/anda.hcl b/anda/apps/moonshot/anda.hcl new file mode 100644 index 0000000000..7b387f9379 --- /dev/null +++ b/anda/apps/moonshot/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "moonshot.spec" + } +} diff --git a/anda/apps/moonshot/com.fyralabs.moonshot.metainfo.xml b/anda/apps/moonshot/com.fyralabs.moonshot.metainfo.xml new file mode 100644 index 0000000000..74571ae640 --- /dev/null +++ b/anda/apps/moonshot/com.fyralabs.moonshot.metainfo.xml @@ -0,0 +1,50 @@ + + + com.fyralabs.moonshot + CC0-1.0 + GPL-3.0-or-later + /usr/share/icons/hicolor/512x512/apps/moonshot.png + + Moonshot + A beautiful cross-platform flashing tool + + + https://github.com/FyraLabs/moonshot/blob/main/build/screenshot.png + + + +

+ A beautiful cross-platform flashing tool. + Why? + + - Community frustration with existing flashing tools. + - We have unique ideas that we want to implement in the future, ex: selecting distro images from within the app. + - For fun. +

+
+ + moonshot.desktop + + https://github.com/FyraLabs/moonshot + https://github.com/FyraLabs/moonshot/issues + https://github.com/sponsors/FyraLabs + https://fyralabs.com/contact/ + + moonshot + + + + disk flashing + imaging + flashing tool + flasher + etcher + usb + sd card + + + + Fyra Labs + +
diff --git a/anda/apps/moonshot/moonshot.spec b/anda/apps/moonshot/moonshot.spec new file mode 100644 index 0000000000..9fa8bab49c --- /dev/null +++ b/anda/apps/moonshot/moonshot.spec @@ -0,0 +1,55 @@ +%define debug_package %{nil} +%define appid com.fyralabs.moonshot + +Name: moonshot +Version: 1.0.1 +Release: 1%?dist +Summary: A beautiful cross-platform flashing tool +License: GPL-3.0-or-later +URL: https://github.com/FyraLabs/moonshot +Source0: %url/archive/refs/tags/v%version.tar.gz +Source1: com.fyralabs.moonshot.metainfo.xml + +BuildRequires: wails3 +BuildRequires: golang +BuildRequires: bun-bin +BuildRequires: pkgconfig(webkit2gtk-4.1) +BuildRequires: pkgconfig(gtk4) +BuildRequires: pkgconfig(webkitgtk-6.0) +BuildRequires: pkgconfig(gio-unix-2.0) +BuildRequires: pkgconfig(libsoup-3.0) + +Packager: Owen Zimmerman + +%description +%{summary}. +Why? + + - Community frustration with existing flashing tools. + - We have unique ideas that we want to implement in the future, ex: selecting distro images from within the app. + - For fun. + +%prep +%autosetup + +%build +EXTRA_TAGS=gtk4 wails3 build + +%install +install -Dm755 bin/moonshot %{buildroot}%{_bindir}/moonshot +install -Dm644 build/linux/moonshot.desktop %{buildroot}%{_appsdir}/%{appid}.desktop +install -Dm644 build/appicon.png %{buildroot}%{_hicolordir}/512x512/apps/moonshot.png + +%terra_appstream -o %{SOURCE1} + +%files +%doc README.md +%license LICENSE +%{_bindir}/moonshot +%{_appsdir}/%{appid}.desktop +%{_hicolordir}/512x512/apps/moonshot.png +%{_metainfodir}/com.fyralabs.moonshot.metainfo.xml + +%changelog +* Mon Mar 02 2026 Owen Zimmerman +- Initial commit diff --git a/anda/apps/moonshot/update.rhai b/anda/apps/moonshot/update.rhai new file mode 100644 index 0000000000..11a9be849e --- /dev/null +++ b/anda/apps/moonshot/update.rhai @@ -0,0 +1 @@ +rpm.version(gh("FyraLabs/moonshot"));