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> |