mirror of
https://github.com/terrapkg/packages.git
synced 2026-06-01 09:31:58 +00:00
9af010fb71
* bump(nightly): mpv-nightly ghostty-nightly zed-nightly prismlauncher-nightly types-colorama openbangla-keyboard-nightly stardust-atmosphere-nightly stardust-server-nightly scx-scheds-nightly natscli * bump(nightly): flameshot-nightly mpv-nightly gnome-shell-extension-multi-monitors-bar zed-nightly prismlauncher-nightly grabnim types-colorama opentabletdriver-nightly scx-scheds-nightly scx-tools-nightly HeadsetControl-nightly glasgow --------- Co-authored-by: Raboneko <raboneko@fyralabs.com>
43 lines
1.1 KiB
RPMSpec
43 lines
1.1 KiB
RPMSpec
%global _udevrulesdir /usr/lib/udev/rules.d
|
|
|
|
%global commit 6fe0cec4f8baeae5e6441489df02c395e39c6ae2
|
|
%global commitdate 20251121
|
|
%global shortcommit %(c=%{commit}; echo ${c:0:7})
|
|
|
|
Name: HeadsetControl-nightly
|
|
Version: 0^%{commitdate}.%{shortcommit}
|
|
Release: 1%?dist
|
|
Summary: A tool to control certain aspects of USB-connected headsets on Linux
|
|
URL: https://github.com/Sapd/HeadsetControl
|
|
Source: %{url}/archive/%{commit}.tar.gz
|
|
License: GPL-3.0
|
|
Provides: headsetcontrol-nightly
|
|
Conflicts: headsetcontrol
|
|
|
|
BuildRequires: cmake gcc hidapi-devel
|
|
|
|
%description
|
|
A tool to control certain aspects of USB-connected headsets on Linux.
|
|
Currently, support is provided for adjusting sidetone, getting battery
|
|
state, controlling LEDs, and setting the inactive time.
|
|
|
|
%prep
|
|
%autosetup -n HeadsetControl-%{commit}
|
|
|
|
%build
|
|
%cmake
|
|
%cmake_build
|
|
|
|
%install
|
|
%cmake_install
|
|
|
|
%files
|
|
%doc README.md
|
|
%license license
|
|
%{_bindir}/headsetcontrol
|
|
%{_udevrulesdir}/70-headsets.rules
|
|
|
|
%changelog
|
|
* Wed Nov 26 2025 metcya <metcya@gmail.com>
|
|
- package HeadsetControl
|