Date: Mon, 26 Oct 2020 13:32:47 +0000 (UTC) From: Li-Wen Hsu <lwhsu@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r553352 - in head/audio: . headsetcontrol Message-ID: <202010261332.09QDWleV073502@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: lwhsu Date: Mon Oct 26 13:32:47 2020 New Revision: 553352 URL: https://svnweb.freebsd.org/changeset/ports/553352 Log: audio/headsetcontrol: setup sidetone for various of gaming headsets PR: 243714 Submitted by: Alexander Vereeken <Alexander88207@protonmail.com> Added: head/audio/headsetcontrol/ head/audio/headsetcontrol/Makefile (contents, props changed) head/audio/headsetcontrol/distinfo (contents, props changed) head/audio/headsetcontrol/pkg-descr (contents, props changed) head/audio/headsetcontrol/pkg-message (contents, props changed) Modified: head/audio/Makefile Modified: head/audio/Makefile ============================================================================== --- head/audio/Makefile Mon Oct 26 13:15:01 2020 (r553351) +++ head/audio/Makefile Mon Oct 26 13:32:47 2020 (r553352) @@ -323,6 +323,7 @@ SUBDIR += gxmms2 SUBDIR += gxplugins-lv2 SUBDIR += harp + SUBDIR += headsetcontrol SUBDIR += herrie SUBDIR += hexter SUBDIR += hts_engine-API Added: head/audio/headsetcontrol/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/headsetcontrol/Makefile Mon Oct 26 13:32:47 2020 (r553352) @@ -0,0 +1,41 @@ +# Created by: Alexander Vereeken <Alexander88207@protonmail.com> +# $FreeBSD$ + +PORTNAME= headsetcontrol +PORTVERSION= 2.3 +CATEGORIES= audio + +MAINTAINER= Alexander88207@protonmail.com +COMMENT= Tool to setup sidetone for various gaming headsets + +LICENSE= GPLv3 +LICENSE_FILE= ${WRKSRC}/license + +BUILD_DEPENDS= hidapi>=0:comms/hidapi +LIB_DEPENDS+= libhidapi.so:comms/hidapi + +USES= cmake + +USE_GITHUB= yes +GH_ACCOUNT= Sapd +GH_PROJECT= HeadsetControl + +post-patch: + @${REINPLACE_CMD} -e 's|/etc/udev/|/usr/local/etc/udev/|g' ${WRKSRC}/CMakeLists.txt + +PLIST_FILES= ${LOCALBASE}/bin/headsetcontrol \ + ${LOCALBASE}/etc/udev/rules.d/50-corsair-void-pro-usb.rules \ + ${LOCALBASE}/etc/udev/rules.d/50-corsair-void-pro.rules \ + ${LOCALBASE}/etc/udev/rules.d/50-corsair-void.rules \ + ${LOCALBASE}/etc/udev/rules.d/50-corsair_void_rgb_usb.rules \ + ${LOCALBASE}/etc/udev/rules.d/50-logitech-g430.rules \ + ${LOCALBASE}/etc/udev/rules.d/50-logitech-g533.rules \ + ${LOCALBASE}/etc/udev/rules.d/50-logitech-g633.rules \ + ${LOCALBASE}/etc/udev/rules.d/50-logitech-g930.rules \ + ${LOCALBASE}/etc/udev/rules.d/50-logitech-g933.rules \ + ${LOCALBASE}/etc/udev/rules.d/50-logitech-g935.rules \ + ${LOCALBASE}/etc/udev/rules.d/50-steelseries-arctis-7-2019.rules \ + ${LOCALBASE}/etc/udev/rules.d/50-steelseries-arctis-7.rules \ + ${LOCALBASE}/etc/udev/rules.d/50-steelseries-arctis-pro-2019.rules + +.include <bsd.port.mk> Added: head/audio/headsetcontrol/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/headsetcontrol/distinfo Mon Oct 26 13:32:47 2020 (r553352) @@ -0,0 +1,3 @@ +TIMESTAMP = 1580335600 +SHA256 (Sapd-HeadsetControl-2.3_GH0.tar.gz) = 4969f13b5c5e2fee3b4b75d09f1a3ef1b707615aababf40d1f7cac60eab1fc21 +SIZE (Sapd-HeadsetControl-2.3_GH0.tar.gz) = 28045 Added: head/audio/headsetcontrol/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/headsetcontrol/pkg-descr Mon Oct 26 13:32:47 2020 (r553352) @@ -0,0 +1,3 @@ +HeadsetControl allows you to setup sidetone for various of gaming headsets. + +WWW: https://github.com/Sapd/HeadsetControl Added: head/audio/headsetcontrol/pkg-message ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/headsetcontrol/pkg-message Mon Oct 26 13:32:47 2020 (r553352) @@ -0,0 +1,19 @@ +[ +{ + message: <<EOM +Type headsetcontrol -h to get all available options. + +headsetcontrol -s 128 sets the sidetone to 128 (REAL loud). You can silence it with 0. I recommend a loudness of 16. + +Following options don't work on all devices yet: + +headsetcontrol -b check battery level. Returns a value from 0 to 100 or loading. + +headsetcontrol -n 0|1 sends a notification sound, made by the headset. 0 or 1 are currently supported as values. + +headsetcontrol -l 0|1 switches LED off/on (off almost doubles battery lifetime!). + +headsetcontrol -c cut unnecessary output, for reading by other scripts or applications. +EOM +} +]
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010261332.09QDWleV073502>