git: bbc4ed0dbb20 - main - deskutils/copyq: Update to 17.0.0

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Sat, 03 Oct 2026 21:11:57 UTC
The branch main has been updated by eduardo:

URL: https://cgit.FreeBSD.org/ports/commit/?id=bbc4ed0dbb2078d2237630f32480b2bdf7eda161

commit bbc4ed0dbb2078d2237630f32480b2bdf7eda161
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2026-10-03 18:12:06 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2026-10-03 21:11:17 +0000

    deskutils/copyq: Update to 17.0.0
    
    Enable audio and QCA encryption support, disabled since 14.0.0 while
    the required ports were sorted out.  Both are now optional and on by
    default, pulling in audio/miniaudio, security/qca and
    security/qtkeychain.
    
    ChangeLog: https://github.com/hluk/CopyQ/releases/tag/v17.0.0
---
 deskutils/copyq/Makefile | 19 ++++++++++++++-----
 deskutils/copyq/distinfo |  6 +++---
 2 files changed, 17 insertions(+), 8 deletions(-)

diff --git a/deskutils/copyq/Makefile b/deskutils/copyq/Makefile
index dd234709b8bc..44a6f8282a43 100644
--- a/deskutils/copyq/Makefile
+++ b/deskutils/copyq/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	copyq
-DISTVERSION=	16.0.0
+DISTVERSION=	17.0.0
 CATEGORIES=	deskutils
 MASTER_SITES=	https://github.com/hluk/CopyQ/releases/download/v${DISTVERSION}/
 DISTNAME=	CopyQ-${DISTVERSION}
@@ -17,14 +17,23 @@ USE_KDE=	guiaddons notifications statusnotifieritem ecm:build
 USE_QT=		base declarative svg translations:build
 USE_XORG=	ice sm x11 xext xfixes xtst
 
-CMAKE_OFF=	WITH_AUDIO WITH_QCA_ENCRYPTION
-
 PORTSCOUT=	limit:^d\.d\.
 
-OPTIONS_DEFINE=		PLUGINS
-OPTIONS_DEFAULT=	PLUGINS
+OPTIONS_DEFINE=		AUDIO ENCRYPTION PLUGINS
+OPTIONS_DEFAULT=	AUDIO ENCRYPTION PLUGINS
 OPTIONS_SUB=		yes
 
+AUDIO_DESC=		Audio notification support
+ENCRYPTION_DESC=	Encrypt stored tabs
+
+AUDIO_BUILD_DEPENDS=	${LOCALBASE}/include/miniaudio/miniaudio.h:audio/miniaudio
+AUDIO_CMAKE_BOOL=	WITH_AUDIO
+AUDIO_CMAKE_ON=		-DMINIAUDIO_INCLUDE_DIR=${LOCALBASE}/include/miniaudio
+
+ENCRYPTION_LIB_DEPENDS=	libqca-qt6.so:devel/qca@qt6 \
+			libqt6keychain.so:security/qtkeychain
+ENCRYPTION_CMAKE_BOOL=	WITH_QCA_ENCRYPTION
+
 PLUGINS_CMAKE_BOOL=	WITH_PLUGINS
 
 .include <bsd.port.mk>
diff --git a/deskutils/copyq/distinfo b/deskutils/copyq/distinfo
index aae528fff050..d81fa821e90a 100644
--- a/deskutils/copyq/distinfo
+++ b/deskutils/copyq/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1780133070
-SHA256 (CopyQ-16.0.0.tar.gz) = d9d8b32998618aed79e97cf2d152d178450ccd1dfec60b3fcacd07b35304fa88
-SIZE (CopyQ-16.0.0.tar.gz) = 3721554
+TIMESTAMP = 1791041869
+SHA256 (CopyQ-17.0.0.tar.gz) = bedd108f0c56db4c93200614e7a0aee6fb813d098f1e25027a4bc9b4cb9ccfb9
+SIZE (CopyQ-17.0.0.tar.gz) = 3733401