git: 03b40e6d530f - main - graphics/qview: Update to 7.1 and switch to qt6

From: Kousuke Kannagi <mce_at_FreeBSD.org>
Date: Fri, 26 Jun 2026 20:08:30 UTC
The branch main has been updated by mce:

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

commit 03b40e6d530f0046d65a58b8dfc0fdeab75679c3
Author:     Kousuke Kannagi <mce@FreeBSD.org>
AuthorDate: 2026-06-16 21:36:53 +0000
Commit:     Kousuke Kannagi <mce@FreeBSD.org>
CommitDate: 2026-06-26 20:07:48 +0000

    graphics/qview: Update to 7.1 and switch to qt6
    
    Take maintainership.
    Update pkg-descr.
    
    https://github.com/jurplel/qView/releases/tag/7.0
    https://github.com/jurplel/qView/releases/tag/7.1
    
    PR:             289331
    Approved by:    danfe (maintainer timeout > 3 months)
    Approved by:    osa (mentor)
---
 graphics/qview/Makefile  | 30 ++++++++++++++++--------------
 graphics/qview/distinfo  |  6 +++---
 graphics/qview/pkg-descr |  5 +++++
 3 files changed, 24 insertions(+), 17 deletions(-)

diff --git a/graphics/qview/Makefile b/graphics/qview/Makefile
index 8c7701c8acdb..e39c2a7aa244 100644
--- a/graphics/qview/Makefile
+++ b/graphics/qview/Makefile
@@ -1,27 +1,29 @@
 PORTNAME=	qview
-PORTVERSION=	6.1
-PORTREVISION=	1
+DISTVERSION=	7.1
 CATEGORIES=	graphics
-MASTER_SITES=	https://github.com/jurplel/qView/releases/download/${PORTVERSION}/
-DISTNAME=	qView-${PORTVERSION}
 
-MAINTAINER=	danfe@FreeBSD.org
+MAINTAINER=	mce@FreeBSD.org
 COMMENT=	Practical and minimal image viewer
 WWW=		https://interversehq.com/qview/
 
 LICENSE=	GPLv3
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-USES=		desktop-file-utils qmake qt:5
-USE_QT=		buildtools:build concurrent:build linguisttools:build \
-		core gui network widgets imageformats:run
+USES=		compiler:c++14-lang desktop-file-utils gl qmake qt:6
+USE_GITHUB=	yes
+GH_ACCOUNT=	jurplel
+GH_PROJECT=	qView
+USE_GL=		opengl
+USE_QT=		base tools:build imageformats:run
 
-WRKSRC=		${WRKDIR}/qView
+OPTIONS_DEFINE=		KF6
+OPTIONS_DEFAULT=	KF6
 
-OPTIONS_DEFINE=	KF5
-OPTIONS_DEFAULT=	KF5
+KF6_DESC=	HEIF and AVIF support (via kimageformats)
+KF6_USES=	kde:6
+KF6_USE=	KDE=kimageformats:run
 
-KF5_DESC=	HEIF and AVIF support (via kimageformats)
-KF5_USES=	kde:5
-KF5_USE=	KDE=kimageformats:run
+post-install:
+		${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 
 .include <bsd.port.mk>
diff --git a/graphics/qview/distinfo b/graphics/qview/distinfo
index da7b8bd5b730..f5f6acc7e58f 100644
--- a/graphics/qview/distinfo
+++ b/graphics/qview/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1692159656
-SHA256 (qView-6.1.tar.gz) = 0d7ab3aaea2e9f89034bdeeb6350d31a5d9fb5ac9158b98348e8ccbf1dc6570a
-SIZE (qView-6.1.tar.gz) = 524754
+TIMESTAMP = 1757504784
+SHA256 (jurplel-qView-7.1_GH0.tar.gz) = 89189b508b60526af09a15bc7b467eecb7f3d074f5dd21d251afe23406b24e8a
+SIZE (jurplel-qView-7.1_GH0.tar.gz) = 2096601
diff --git a/graphics/qview/pkg-descr b/graphics/qview/pkg-descr
index d4fa219812b5..c90fb6cdc89a 100644
--- a/graphics/qview/pkg-descr
+++ b/graphics/qview/pkg-descr
@@ -1 +1,6 @@
 Qt image viewer designed with minimalism and usability in mind.
+No toolbars or distractions - pure space efficiency.
+
+Beautifully simple.
+Fast and lightweight.
+Fully-featured.