From d511f701c63cac398dec79fe4f1fc09bfb2e1387 Mon Sep 17 00:00:00 2001 From: Raboneko <119771935+raboneko@users.noreply.github.com> Date: Sun, 29 Mar 2026 20:42:17 -0700 Subject: [PATCH] add: satty (#10909) (#10946) --- anda/desktops/satty/anda.hcl | 5 ++++ anda/desktops/satty/satty.spec | 44 ++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+) create mode 100644 anda/desktops/satty/anda.hcl create mode 100644 anda/desktops/satty/satty.spec diff --git a/anda/desktops/satty/anda.hcl b/anda/desktops/satty/anda.hcl new file mode 100644 index 0000000000..2afc889c3f --- /dev/null +++ b/anda/desktops/satty/anda.hcl @@ -0,0 +1,5 @@ +project pkg { + rpm { + spec = "satty.spec" + } +} diff --git a/anda/desktops/satty/satty.spec b/anda/desktops/satty/satty.spec new file mode 100644 index 0000000000..d6843f609e --- /dev/null +++ b/anda/desktops/satty/satty.spec @@ -0,0 +1,44 @@ +Name: satty +Version: 0.20.1 +Release: 1%{?dist} +Summary: Modern screenshot annotation tool +URL: https://github.com/Satty-org/Satty +Source0: %{url}/archive/refs/tags/v%{version}.tar.gz +BuildRequires: cargo-rpm-macros +BuildRequires: libadwaita-devel +BuildRequires: libepoxy-devel +License: MPL-2.0 AND (MIT OR Apache-2.0) AND Unicode-3.0 AND Apache-2.0 AND (Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT) AND (BSD-3-Clause OR Apache-2.0) AND CC0-1.0 AND (CC0-1.0 OR Apache-2.0) AND ISC AND MIT AND (MIT OR Apache-2.0) AND (MIT OR Apache-2.0 OR Zlib) AND (Unlicense OR MIT) AND Zlib AND (Zlib OR Apache-2.0 OR MIT) +Packager: Tulip Blossom + +%description +%{summary}. + +%pkg_completion -BNfz + +%prep +%autosetup -n Satty-%{version} +%cargo_prep_online + +%build +%cargo_build +%{cargo_license_online} > LICENSE.dependencies + +%install +install -Dpm0755 -t %{buildroot}%{_bindir} ./target/rpm/satty +install -Dpm0644 -t %{buildroot}%{_datadir}/applications/ ./satty.desktop +install -Dpm0644 -t %{buildroot}%{_datadir}/icons/hicolor/scalable/apps/ ./assets/satty.svg +install -Dpm0644 -t %{buildroot}%{_datadir}/fish/vendor_completions.d/ ./completions/satty.fish +install -Dpm0644 -t %{buildroot}%{_datadir}/zsh/site-functions/ ./completions/_satty +install -Dpm0644 ./completions/satty.bash %{buildroot}%{_datadir}/bash-completion/completions/satty +install -Dpm0644 -t %{buildroot}%{_datadir}/nushell/vendor/autoload/ ./completions/satty.nu + +%files +%doc README.md +%license LICENSE LICENSE.dependencies +%{_bindir}/%{name} +%{_datadir}/applications/satty.desktop +%{_datadir}/icons/hicolor/scalable/apps/satty.svg + +%changelog +* Sun Mar 29 2026 Tulip Blossom +- Initial commit