scythe/packaging/rpm/scythe.spec
spearzificial f7f778916f chore(release): v0.2.19
v0.2.18 was already published to Forgejo on 2026-10-11, carrying the
pre-fix binary, so this cycle cuts a new version rather than moving the
published tag.

The version is bumped in Cargo.toml, Cargo.lock, the RPM spec, the AUR
PKGBUILD and the project guide so they stay in step. Cargo.lock matters
on its own: the CI workflow builds with --locked, which fails outright
when the manifest and the lock file disagree on the package version.
2026-10-21 16:51:48 +05:30

65 lines
2 KiB
RPMSpec

Name: scythe
Version: 0.2.19
Release: 1%{?dist}
Summary: High-performance GPU hardware screen recorder and instant replay overlay
License: MIT
URL: https://github.com/oiupoyt/scythe
Source0: %{name}-%{version}.tar.gz
BuildRequires: cargo
BuildRequires: rust
BuildRequires: ffmpeg-devel
BuildRequires: pipewire-devel
BuildRequires: libva-devel
BuildRequires: alsa-lib-devel
BuildRequires: libxcb-devel
BuildRequires: clang-devel
BuildRequires: pkgconf-pkg-config
Requires: ffmpeg-free
Requires: pipewire
Requires: libva
Requires: alsa-lib
Requires: libxcb
%description
High-performance GPU hardware screen recorder and instant replay overlay for Wayland and X11.
%prep
%autosetup
%build
cargo build --release
%install
rm -rf $RPM_BUILD_ROOT
install -D -m 0755 target/release/scythe %{buildroot}%{_bindir}/scythe
ln -sf %{_bindir}/scythe %{buildroot}%{_bindir}/scythe-daemon
ln -sf %{_bindir}/scythe %{buildroot}%{_bindir}/scythe-ui
ln -sf %{_bindir}/scythe %{buildroot}%{_bindir}/vrec-daemon
ln -sf %{_bindir}/scythe %{buildroot}%{_bindir}/vrec-ui
ln -sf %{_bindir}/scythe %{buildroot}%{_bindir}/vrec
install -D -m 0644 packaging/scythe.desktop %{buildroot}%{_datadir}/applications/scythe.desktop
ln -sf %{_datadir}/applications/scythe.desktop %{buildroot}%{_datadir}/applications/vrec.desktop
%files
%{_bindir}/scythe
%{_bindir}/scythe-daemon
%{_bindir}/scythe-ui
%{_bindir}/vrec-daemon
%{_bindir}/vrec-ui
%{_bindir}/vrec
%{_datadir}/applications/scythe.desktop
%{_datadir}/applications/vrec.desktop
%changelog
* Tue Oct 21 2026 oiupoyt - 0.2.19-1
- Unified multicall binary: install scythe with the scythe-daemon, scythe-ui
and vrec-* compatibility symlinks
- Dropped the GTK 3 and GTK layer shell requirements, the GTK backend was
retired
- Corrected the runtime dependency list against the actual build output
- Version tracked against Cargo.toml
* Wed Sep 02 2026 oiupoyt - 0.1.0-1
- Initial release of scythe