git: 2b240224314c - main - misc/openhantek: update 3.3.3 → 3.4.0.2026.10.16

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 11 Nov 2025 08:09:05 UTC
The branch main has been updated by yuri:

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

commit 2b240224314ca140b28035012f7168621cf38dd2
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-11-11 04:11:16 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-11-11 08:09:03 +0000

    misc/openhantek: update 3.3.3 → 3.4.0.2026.10.16
---
 misc/openhantek/Makefile | 13 ++++++++-----
 misc/openhantek/distinfo |  6 +++---
 2 files changed, 11 insertions(+), 8 deletions(-)

diff --git a/misc/openhantek/Makefile b/misc/openhantek/Makefile
index 3f426c1689cc..bf09942374f6 100644
--- a/misc/openhantek/Makefile
+++ b/misc/openhantek/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	openhantek
-DISTVERSION=	3.3.3
+DISTVERSION=	3.4.0-2026-10-16
 CATEGORIES=	misc
 
 MAINTAINER=	yuri@FreeBSD.org
@@ -7,15 +7,18 @@ COMMENT=	Digital Software Oscilloscope (DSO) software for Hantek oscilloscopes
 WWW=		https://github.com/OpenHantek/OpenHantek6022
 
 LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
 LIB_DEPENDS=	libfftw3.so:math/fftw3
 
-USES=		cmake compiler:c++11-lang gl localbase qt:5
+USES=		cmake desktop-file-utils gl localbase qt:6
+USE_QT=		base tools:build
+USE_GL=		gl glu
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	OpenHantek
 GH_PROJECT=	OpenHantek6022 # there's also the openhantek project which OpenHantek6022 is a fork of
-USE_QT=		core gui opengl printsupport widgets buildtools:build linguist:build qmake:build
-USE_GL=		gl glu
+GH_TAGNAME=	bb36066 # has Qt6 compatibility fixes
 
 OPTIONS_DEFINE=		HANTEK_AC
 
@@ -24,7 +27,7 @@ HANTEK_AC_CMAKE_ON=	-DHANTEK_AC=1
 
 PLIST_FILES=	bin/OpenHantek \
 		etc/devd/openhantek.conf \
-		share/applications/OpenHantek.desktop \
+		share/applications/org.openhantek.OpenHantek.desktop \
 		share/icons/hicolor/48x48/apps/OpenHantek.png \
 		share/icons/hicolor/scalable/apps/OpenHantek.svg
 
diff --git a/misc/openhantek/distinfo b/misc/openhantek/distinfo
index 00b6d519162f..f55a2bff07be 100644
--- a/misc/openhantek/distinfo
+++ b/misc/openhantek/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1692065720
-SHA256 (OpenHantek-OpenHantek6022-3.3.3_GH0.tar.gz) = 6bdefaa3541f5516e71f39c57160989c4c93dc2a7e4ffdc0f8e3999819184841
-SIZE (OpenHantek-OpenHantek6022-3.3.3_GH0.tar.gz) = 16326890
+TIMESTAMP = 1762834035
+SHA256 (OpenHantek-OpenHantek6022-3.4.0-2026-10-16-bb36066_GH0.tar.gz) = 0ed4e232e6188dd6d405e202847ec13021a88fb9a626ea51c4e60e7032bbd0a4
+SIZE (OpenHantek-OpenHantek6022-3.4.0-2026-10-16-bb36066_GH0.tar.gz) = 21230340