git: 98eb557eef23 - main - games/qnetwalk: update 1.7.0 → 1.9.0

From: Dmitry Marakasov <amdmi3_at_FreeBSD.org>
Date: Wed, 22 Feb 2023 21:49:41 UTC
The branch main has been updated by amdmi3:

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

commit 98eb557eef2389cfead13a12313931d926e589ea
Author:     Dmitry Marakasov <amdmi3@FreeBSD.org>
AuthorDate: 2023-02-22 21:44:06 +0000
Commit:     Dmitry Marakasov <amdmi3@FreeBSD.org>
CommitDate: 2023-02-22 21:49:14 +0000

    games/qnetwalk: update 1.7.0 → 1.9.0
    
    - Switch to qt6 by default
---
 games/qnetwalk/Makefile | 20 ++++++++++++++------
 games/qnetwalk/distinfo |  6 +++---
 2 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/games/qnetwalk/Makefile b/games/qnetwalk/Makefile
index 5b903d8a9799..90250bd591d1 100644
--- a/games/qnetwalk/Makefile
+++ b/games/qnetwalk/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	qnetwalk
-PORTVERSION=	1.7.0
+PORTVERSION=	1.9.0
 CATEGORIES=	games
 
 MAINTAINER=	amdmi3@FreeBSD.org
@@ -9,17 +9,25 @@ WWW=		https://github.com/AMDmi3/qnetwalk
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
+USES=		cmake compiler:c++17-lang
 USE_GITHUB=	yes
 GH_ACCOUNT=	AMDmi3
 
-USES=		cmake compiler:c++11-lang pkgconfig qt:5 sdl
-USE_QT=		core gui widgets qmake:build buildtools:build linguisttools:build
-USE_SDL=	sdl2 mixer2
-
 PORTDOCS=	ChangeLog.md README.md
 PORTDATA=	*
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	QT6 SOUND DOCS NLS
+OPTIONS_DEFAULT=QT6 SOUND
+OPTIONS_SUB=	yes
+
+QT6_CMAKE_BOOL=	USE_QT6
+QT6_USES=	qt:6
+QT6_USE=	qt=base,tools:build
+QT6_USES_OFF=	qt:5
+QT6_USE_OFF=	qt=core,gui,widgets,qmake:build,buildtools:build,linguisttools:build
+SOUND_CMAKE_BOOL=ENABLE_SOUND
+SOUND_USE=	qt=multimedia
+NLS_CMAKE_BOOL=	ENABLE_NLS
 
 post-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/games/qnetwalk/distinfo b/games/qnetwalk/distinfo
index 388c038dc7ca..ecc0b938703f 100644
--- a/games/qnetwalk/distinfo
+++ b/games/qnetwalk/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1640179121
-SHA256 (AMDmi3-qnetwalk-1.7.0_GH0.tar.gz) = 2922ee1654c376e381776810174b78978097fb4a80fc678e732245200191df54
-SIZE (AMDmi3-qnetwalk-1.7.0_GH0.tar.gz) = 109487
+TIMESTAMP = 1677102191
+SHA256 (AMDmi3-qnetwalk-1.9.0_GH0.tar.gz) = d5c1a9fb088c60d6dc622d52c302b5ad69e89a4ec63adbd058c2c942191b753e
+SIZE (AMDmi3-qnetwalk-1.9.0_GH0.tar.gz) = 111936