From nobody Sat Nov 13 12:37:35 2021 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 97ED0184F6DB; Sat, 13 Nov 2021 12:37:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Hrw2l3tfDz4cCM; Sat, 13 Nov 2021 12:37:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 659021344B; Sat, 13 Nov 2021 12:37:35 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 1ADCbZQV047786; Sat, 13 Nov 2021 12:37:35 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1ADCbZ3E047785; Sat, 13 Nov 2021 12:37:35 GMT (envelope-from git) Date: Sat, 13 Nov 2021 12:37:35 GMT Message-Id: <202111131237.1ADCbZ3E047785@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Hans Petter Selasky Subject: git: e201631cf336 - main - audio/headsetcontrol: Update to 2.6 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: hselasky X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e201631cf3368c4ecf6359719689107c7e908633 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by hselasky: URL: https://cgit.FreeBSD.org/ports/commit/?id=e201631cf3368c4ecf6359719689107c7e908633 commit e201631cf3368c4ecf6359719689107c7e908633 Author: Hans Petter Selasky AuthorDate: 2021-11-13 12:36:32 +0000 Commit: Hans Petter Selasky CommitDate: 2021-11-13 12:37:11 +0000 audio/headsetcontrol: Update to 2.6 PR: 259815 Approved by: pi (implicit) and maintainer --- audio/headsetcontrol/Makefile | 2 +- audio/headsetcontrol/distinfo | 6 ++--- audio/headsetcontrol/files/patch-CMakeLists.txt | 32 ++++++++++++------------- 3 files changed, 19 insertions(+), 21 deletions(-) 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 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 - # ------------------------------------------------------------------------------