# rpkg template. COPR's "rpkg" SCM build method preprocesses this at build # time, deriving the version/release/source straight from git -- so a plain # `git push` produces a new, correctly-ordered package with no manual edits. # The triple-brace macros below come from rpkg-util and are NOT shell -- but # beware: rpkg executes ANY triple-brace block as shell, even inside comments. Name: chatmixd Version: 0.0.git.17.1bc085cb Release: 1%{?dist} Summary: SteelSeries ChatMix daemon for Linux (PipeWire/PulseAudio) License: MIT URL: https://github.com/UMCEKO/chatmixd Source0: chatmixd-1bc085cb.tar.gz BuildRequires: cargo BuildRequires: rust BuildRequires: systemd-rpm-macros # pactl + pw-cli are invoked at runtime. Requires: pipewire-pulseaudio Requires: pulseaudio-utils %description chatmixd splits a SteelSeries headset's ChatMix dial into separate Game and Chat virtual sinks under PipeWire, so the hardware dial mixes desktop audio against voice/chat the same way it does on Windows. Hardened fork of linuxmix. %prep %setup -T -b 0 -q -n chatmixd %build # The crate has no third-party dependencies, so the build needs no network. cargo build --release --offline %install install -Dm0755 target/release/%{name} %{buildroot}%{_bindir}/%{name} install -Dm0644 dist/%{name}.service %{buildroot}%{_userunitdir}/%{name}.service install -Dm0644 dist/99-%{name}.rules %{buildroot}%{_udevrulesdir}/99-%{name}.rules %files %license LICENSE %doc README.md %{_bindir}/%{name} %{_userunitdir}/%{name}.service %{_udevrulesdir}/99-%{name}.rules %changelog