From: John Kehayias via Guix-patches via <guix-patches@gnu.org>
To: 52803@debbugs.gnu.org
Subject: [bug#52803] [PATCH] gnu: Add headsetcontrol.
Date: Sun, 26 Dec 2021 16:16:13 +0000 [thread overview]
Message-ID: <mE2m1wq0LOmOGyU2iOSj_ylyFw8fo7yU49_zkxwdGIMDntUp4EY_Y6EGZDF6ta8XPG8QEQBXf7i_zW8KkfNjDWvUrIbMsyK2Qx_eoxUrakE=@protonmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 352 bytes --]
Attached is a patch to add the program headsetcontrol, which allows getting/setting properties for USB headsets. I've been using a previous version (2.4) locally for quite some time and it works well.
The package also builds udev rules, should a note be added to the description that it includes udev rules or anything about that?
Thanks!
John
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0001-gnu-Add-headsetcontrol.patch --]
[-- Type: text/x-patch; name=0001-gnu-Add-headsetcontrol.patch, Size: 1709 bytes --]
From 1a22f60566e10b3ce391aa95f3b8b520556cb590 Mon Sep 17 00:00:00 2001
From: John Kehayias <john.kehayias@protonmail.com>
Date: Sun, 26 Dec 2021 11:13:29 -0500
Subject: [PATCH] gnu: Add headsetcontrol.
* gnu/packages/hardware.scm (headsetcontrol): New variable.
---
gnu/packages/hardware.scm | 24 ++++++++++++++++++++++++
1 file changed, 24 insertions(+)
diff --git a/gnu/packages/hardware.scm b/gnu/packages/hardware.scm
index ddd0f5acc1..129ea7c20e 100644
--- a/gnu/packages/hardware.scm
+++ b/gnu/packages/hardware.scm
@@ -316,6 +316,30 @@ (define-public h-client
(home-page "https://savannah.nongnu.org/projects/h-client/")
(license license:gpl3+))))
+(define-public headsetcontrol
+ (package
+ (name "headsetcontrol")
+ (version "2.6")
+ (source (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/Sapd/HeadsetControl")
+ (commit version)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32
+ "0a7zimzi71416pmn6z0l1dn1c2x8p702hkd0k6da9rsznff85a88"))))
+ (build-system cmake-build-system)
+ (inputs
+ (list hidapi))
+ (synopsis "Sidetone and Battery status for USB headsets")
+ (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.")
+ (home-page "https://github.com/Sapd/HeadsetControl")
+ (license license:gpl3)))
+
(define-public i7z
(let ((revision "0")
(commit "1a41ff13db747e962456ddbb5ccb2b7fc43ca0cb"))
--
2.34.1
next reply other threads:[~2021-12-26 16:17 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-26 16:16 John Kehayias via Guix-patches via [this message]
2021-12-26 16:41 ` [bug#52803] [PATCH v2] gnu: Add headsetcontrol John Kehayias via Guix-patches via
2021-12-27 9:49 ` bug#52803: " Nicolas Goaziou
2021-12-27 15:07 ` [bug#52803] " John Kehayias via Guix-patches via
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='mE2m1wq0LOmOGyU2iOSj_ylyFw8fo7yU49_zkxwdGIMDntUp4EY_Y6EGZDF6ta8XPG8QEQBXf7i_zW8KkfNjDWvUrIbMsyK2Qx_eoxUrakE=@protonmail.com' \
--to=guix-patches@gnu.org \
--cc=52803@debbugs.gnu.org \
--cc=john.kehayias@protonmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.