FreeBSD Bugzilla – Attachment 229467 Details for
Bug 259815
audio/headsetcontrol: Update to 2.6
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
headsetcontrol-2.6.diff
headsetcontrol-2.6.diff (text/plain), 2.67 KB, created by
Alexander Vereeken
on 2021-11-13 12:06:04 UTC
(
hide
)
Description:
headsetcontrol-2.6.diff
Filename:
MIME Type:
Creator:
Alexander Vereeken
Created:
2021-11-13 12:06:04 UTC
Size:
2.67 KB
patch
obsolete
>diff --git a/audio/headsetcontrol/Makefile b/audio/headsetcontrol/Makefile >index beba1e26de23..8425cff96f5e 100644 >--- a/audio/headsetcontrol/Makefile >+++ b/audio/headsetcontrol/Makefile >@@ -1,7 +1,7 @@ > # Created by: Alexander Vereeken <Alexander88207@protonmail.com> > > PORTNAME= headsetcontrol >-PORTVERSION= 2.4 >+PORTVERSION= 2.6 > CATEGORIES= audio > > MAINTAINER= Alexander88207@protonmail.com >diff --git a/audio/headsetcontrol/distinfo b/audio/headsetcontrol/distinfo >index 56fe1e059248..c1e3bec6b60d 100644 >--- a/audio/headsetcontrol/distinfo >+++ b/audio/headsetcontrol/distinfo >@@ -1,3 +1,3 @@ >-TIMESTAMP = 1621151184 >-SHA256 (Sapd-HeadsetControl-2.4_GH0.tar.gz) = 1978dd8939da3c846457040416eda1896f3f0aea7eb9b4d74efac30ed5c0cacb >-SIZE (Sapd-HeadsetControl-2.4_GH0.tar.gz) = 33648 >+TIMESTAMP = 1636804595 >+SHA256 (Sapd-HeadsetControl-2.6_GH0.tar.gz) = 4f785af09cbf3dffe7050029f310b77943d68612a4e7544118cddb8f682eadc6 >+SIZE (Sapd-HeadsetControl-2.6_GH0.tar.gz) = 39694 >diff --git a/audio/headsetcontrol/files/patch-CMakeLists.txt b/audio/headsetcontrol/files/patch-CMakeLists.txt >index 16b6491898a3..c8f2cdeba868 100644 >--- a/audio/headsetcontrol/files/patch-CMakeLists.txt >+++ b/audio/headsetcontrol/files/patch-CMakeLists.txt >@@ -1,26 +1,24 @@ >---- CMakeLists.txt.orig 2021-05-13 11:07:31 UTC >+--- CMakeLists.txt.orig 2021-11-13 11:33:58 UTC > +++ CMakeLists.txt >-@@ -112,23 +112,6 @@ add_executable(headsetcontrol ${SOURCE_FILES}) >- target_link_libraries(headsetcontrol m ${HIDAPI_LIBRARIES}) >+@@ -118,21 +118,6 @@ target_link_libraries(headsetcontrol m ${HIDAPI_LIBRAR > > 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}\") >-- " >-- ) >+- set(rules_file 70-headsets.rules) >+- set(udev_rules_dir lib/udev/rules.d/ >+- CACHE PATH "Path to the directory where udev rules should be installed") >+- add_custom_command( >+- OUTPUT ${rules_file} >+- COMMAND headsetcontrol -u > ${rules_file} >+- DEPENDS headsetcontrol) >+- add_custom_target(udevrules ALL DEPENDS ${rules_file}) >+- install( >+- FILES ${CMAKE_CURRENT_BINARY_DIR}/${rules_file} >+- DESTINATION ${udev_rules_dir}) > -endif() > - >-- >+ > # ------------------------------------------------------------------------------ > # Testing >- # ------------------------------------------------------------------------------
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 259815
: 229467