View | Details | Raw Unified | Return to bug 243714
Collapse All | Expand All

(-)audio/Makefile (+1 lines)
Lines 325-330 Link Here
325
    SUBDIR += gxmms2
325
    SUBDIR += gxmms2
326
    SUBDIR += gxplugins-lv2
326
    SUBDIR += gxplugins-lv2
327
    SUBDIR += harp
327
    SUBDIR += harp
328
    SUBDIR += headsetcontrol
328
    SUBDIR += herrie
329
    SUBDIR += herrie
329
    SUBDIR += hexter
330
    SUBDIR += hexter
330
    SUBDIR += hts_engine-API
331
    SUBDIR += hts_engine-API
(-)audio/headsetcontrol/Makefile (+41 lines)
Line 0 Link Here
1
# Created by: Alexander Vereeken <Alexander88207@protonmail.com>
2
# $FreeBSD$
3
4
PORTNAME=	headsetcontrol
5
PORTVERSION=	2.3
6
CATEGORIES=	audio
7
8
MAINTAINER=	Alexander88207@protonmail.com
9
COMMENT=	Tool to setup sidetone for various gaming headsets
10
11
LICENSE=	GPLv3
12
LICENSE_FILE=	${WRKSRC}/license
13
14
BUILD_DEPENDS=	hidapi>=0:comms/hidapi
15
LIB_DEPENDS+=	libhidapi.so:comms/hidapi
16
17
USES=		cmake
18
19
USE_GITHUB=	yes
20
GH_ACCOUNT=	Sapd
21
GH_PROJECT=	HeadsetControl
22
23
post-patch:
24
	@${REINPLACE_CMD} -e 's|/etc/udev/|/usr/local/etc/udev/|g' ${WRKSRC}/CMakeLists.txt
25
26
PLIST_FILES=	${LOCALBASE}/bin/headsetcontrol \
27
		${LOCALBASE}/etc/udev/rules.d/50-corsair-void.rules \
28
		${LOCALBASE}/etc/udev/rules.d/50-logitech-g633.rules \
29
		${LOCALBASE}/etc/udev/rules.d/50-corsair_void_rgb_usb.rules \
30
		${LOCALBASE}/etc/udev/rules.d/50-logitech-g935.rules \
31
		${LOCALBASE}/etc/udev/rules.d/50-corsair-void-pro-usb.rules \
32
		${LOCALBASE}/etc/udev/rules.d/50-corsair-void-pro.rules \
33
		${LOCALBASE}/etc/udev/rules.d/50-steelseries-arctis-7.rules \
34
		${LOCALBASE}/etc/udev/rules.d/50-logitech-g430.rules \
35
		${LOCALBASE}/etc/udev/rules.d/50-steelseries-arctis-pro-2019.rules \
36
		${LOCALBASE}/etc/udev/rules.d/50-logitech-g533.rules \
37
		${LOCALBASE}/etc/udev/rules.d/50-logitech-g933.rules \
38
		${LOCALBASE}/etc/udev/rules.d/50-logitech-g930.rules \
39
		${LOCALBASE}/etc/udev/rules.d/50-steelseries-arctis-7-2019.rules
40
41
.include <bsd.port.mk>
(-)audio/headsetcontrol/distinfo (+3 lines)
Line 0 Link Here
1
TIMESTAMP = 1580335600
2
SHA256 (Sapd-HeadsetControl-2.3_GH0.tar.gz) = 4969f13b5c5e2fee3b4b75d09f1a3ef1b707615aababf40d1f7cac60eab1fc21
3
SIZE (Sapd-HeadsetControl-2.3_GH0.tar.gz) = 28045
(-)audio/headsetcontrol/pkg-descr (+3 lines)
Line 0 Link Here
1
HeadsetControl allows you to setup sidetone for various of gaming headsets.
2
3
WWW: https://github.com/Sapd/HeadsetControl
(-)audio/headsetcontrol/pkg-message (+19 lines)
Line 0 Link Here
1
[
2
{
3
  message: <<EOM
4
Type headsetcontrol -h to get all available options.
5
6
headsetcontrol -s 128 sets the sidetone to 128 (REAL loud). You can silence it with 0. I recommend a loudness of 16.
7
8
Following options don't work on all devices yet:
9
10
headsetcontrol -b check battery level. Returns a value from 0 to 100 or loading.
11
12
headsetcontrol -n 0|1 sends a notification sound, made by the headset. 0 or 1 are currently supported as values.
13
14
headsetcontrol -l 0|1 switches LED off/on (off almost doubles battery lifetime!).
15
16
headsetcontrol -c cut unnecessary output, for reading by other scripts or applications.
17
EOM
18
}
19
]

Return to bug 243714