FreeBSD Bugzilla – Attachment 224990 Details for
Bug 255919
audio/headsetcontrol: Update to 2.4
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
headsetcontrol-2.4.diff
headsetcontrol-2.4 (text/plain), 3.32 KB, created by
Alexander Vereeken
on 2021-05-16 11:55:59 UTC
(
hide
)
Description:
headsetcontrol-2.4.diff
Filename:
MIME Type:
Creator:
Alexander Vereeken
Created:
2021-05-16 11:55:59 UTC
Size:
3.32 KB
patch
obsolete
>diff --git a/audio/headsetcontrol/files/patch-CMakeLists.txt b/audio/headsetcontrol/files/patch-CMakeLists.txt >new file mode 100644 >index 000000000000..16b6491898a3 >--- /dev/null >+++ b/audio/headsetcontrol/files/patch-CMakeLists.txt >@@ -0,0 +1,26 @@ >+--- CMakeLists.txt.orig 2021-05-13 11:07:31 UTC >++++ CMakeLists.txt >+@@ -112,23 +112,6 @@ add_executable(headsetcontrol ${SOURCE_FILES}) >+ target_link_libraries(headsetcontrol m ${HIDAPI_LIBRARIES}) >+ >+ install(TARGETS headsetcontrol DESTINATION bin) >+- >+-# install udev files on linux >+-if(UNIX AND NOT APPLE) >+- set (program_cmd headsetcontrol) >+- set (program_arg "-u") >+- set (program_output "/etc/udev/rules.d/70-headsets.rules") >+- install( CODE >+- " >+- execute_process(COMMAND ${program_cmd} ${program_arg} >+- OUTPUT_FILE ${program_output}) >+- >+- message(STATUS \"Installed udev rules to ${program_output}\") >+- " >+- ) >+-endif() >+- >+- >+ # ------------------------------------------------------------------------------ >+ # Testing >+ # ------------------------------------------------------------------------------ >diff --git a/audio/headsetcontrol/Makefile b/audio/headsetcontrol/Makefile >index ec851b6c635d..beba1e26de23 100644 >--- a/audio/headsetcontrol/Makefile >+++ b/audio/headsetcontrol/Makefile >@@ -1,7 +1,7 @@ > # Created by: Alexander Vereeken <Alexander88207@protonmail.com> > > PORTNAME= headsetcontrol >-PORTVERSION= 2.3 >+PORTVERSION= 2.4 > CATEGORIES= audio > > MAINTAINER= Alexander88207@protonmail.com >@@ -11,7 +11,7 @@ LICENSE= GPLv3 > LICENSE_FILE= ${WRKSRC}/license > > BUILD_DEPENDS= hidapi>=0:comms/hidapi >-LIB_DEPENDS+= libhidapi.so:comms/hidapi >+LIB_DEPENDS= libhidapi.so:comms/hidapi > > USES= cmake > >@@ -19,22 +19,6 @@ 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 >+PLIST_FILES= ${LOCALBASE}/bin/headsetcontrol > > .include <bsd.port.mk> >diff --git a/audio/headsetcontrol/distinfo b/audio/headsetcontrol/distinfo >index 98500aeaabd7..56fe1e059248 100644 >--- a/audio/headsetcontrol/distinfo >+++ b/audio/headsetcontrol/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1580335600 >-SHA256 (Sapd-HeadsetControl-2.3_GH0.tar.gz) = 4969f13b5c5e2fee3b4b75d09f1a3ef1b707615aababf40d1f7cac60eab1fc21 >-SIZE (Sapd-HeadsetControl-2.3_GH0.tar.gz) = 28045 >+TIMESTAMP = 1621151184 >+SHA256 (Sapd-HeadsetControl-2.4_GH0.tar.gz) = 1978dd8939da3c846457040416eda1896f3f0aea7eb9b4d74efac30ed5c0cacb >+SIZE (Sapd-HeadsetControl-2.4_GH0.tar.gz) = 33648
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
Alexander88207
:
maintainer-approval+
Actions:
View
|
Diff
Attachments on
bug 255919
: 224990