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

(-)b/audio/headsetcontrol/Makefile (-1 / +1 lines)
Lines 1-7 Link Here
1
# Created by: Alexander Vereeken <Alexander88207@protonmail.com>
1
# Created by: Alexander Vereeken <Alexander88207@protonmail.com>
2
2
3
PORTNAME=	headsetcontrol
3
PORTNAME=	headsetcontrol
4
PORTVERSION=	2.4
4
PORTVERSION=	2.6
5
CATEGORIES=	audio
5
CATEGORIES=	audio
6
6
7
MAINTAINER=	Alexander88207@protonmail.com
7
MAINTAINER=	Alexander88207@protonmail.com
(-)b/audio/headsetcontrol/distinfo (-3 / +3 lines)
Lines 1-3 Link Here
1
TIMESTAMP = 1621151184
1
TIMESTAMP = 1636804595
2
SHA256 (Sapd-HeadsetControl-2.4_GH0.tar.gz) = 1978dd8939da3c846457040416eda1896f3f0aea7eb9b4d74efac30ed5c0cacb
2
SHA256 (Sapd-HeadsetControl-2.6_GH0.tar.gz) = 4f785af09cbf3dffe7050029f310b77943d68612a4e7544118cddb8f682eadc6
3
SIZE (Sapd-HeadsetControl-2.4_GH0.tar.gz) = 33648
3
SIZE (Sapd-HeadsetControl-2.6_GH0.tar.gz) = 39694
(-)b/audio/headsetcontrol/files/patch-CMakeLists.txt (-17 / +15 lines)
Lines 1-26 Link Here
1
--- CMakeLists.txt.orig	2021-05-13 11:07:31 UTC
1
--- CMakeLists.txt.orig	2021-11-13 11:33:58 UTC
2
+++ CMakeLists.txt
2
+++ CMakeLists.txt
3
@@ -112,23 +112,6 @@ add_executable(headsetcontrol ${SOURCE_FILES})
3
@@ -118,21 +118,6 @@ target_link_libraries(headsetcontrol m ${HIDAPI_LIBRAR
4
 target_link_libraries(headsetcontrol m ${HIDAPI_LIBRARIES})
5
 
4
 
6
 install(TARGETS headsetcontrol DESTINATION bin)
5
 install(TARGETS headsetcontrol DESTINATION bin)
7
-
6
 
8
-# install udev files on linux
7
-# install udev files on linux
9
-if(UNIX AND NOT APPLE)
8
-if(UNIX AND NOT APPLE)
10
-    set (program_cmd headsetcontrol)
9
-    set(rules_file 70-headsets.rules)
11
-    set (program_arg "-u")
10
-    set(udev_rules_dir lib/udev/rules.d/
12
-    set (program_output "/etc/udev/rules.d/70-headsets.rules")
11
-        CACHE PATH "Path to the directory where udev rules should be installed")
13
-    install( CODE
12
-    add_custom_command(
14
-	            "
13
-        OUTPUT ${rules_file}
15
-    execute_process(COMMAND ${program_cmd} ${program_arg}
14
-        COMMAND headsetcontrol -u > ${rules_file}
16
-      OUTPUT_FILE ${program_output})
15
-        DEPENDS headsetcontrol)
17
-
16
-    add_custom_target(udevrules ALL DEPENDS ${rules_file})
18
-    message(STATUS \"Installed udev rules to ${program_output}\")
17
-    install(
19
-	    "
18
-        FILES ${CMAKE_CURRENT_BINARY_DIR}/${rules_file}
20
-    )
19
-        DESTINATION ${udev_rules_dir})
21
-endif()
20
-endif()
22
-
21
-
23
-
22
 
24
 # ------------------------------------------------------------------------------
23
 # ------------------------------------------------------------------------------
25
 # Testing
24
 # Testing
26
 # ------------------------------------------------------------------------------

Return to bug 259815