git: 991bb896aeb0 - main - devel/qcoro: Update to 0.11.0

From: Jason E. Hale <jhale_at_FreeBSD.org>
Date: Wed, 16 Oct 2024 20:39:02 UTC
The branch main has been updated by jhale:

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

commit 991bb896aeb0801bd8d3bbfcffc24c93fa1dc996
Author:     Jason E. Hale <jhale@FreeBSD.org>
AuthorDate: 2024-10-16 20:24:05 +0000
Commit:     Jason E. Hale <jhale@FreeBSD.org>
CommitDate: 2024-10-16 20:38:57 +0000

    devel/qcoro: Update to 0.11.0
    
    Only build tests if requested via `make test`. This reduces build time
    for most users, eliminating over 100 ultimately unused targets.
    
    https://github.com/qcoro/qcoro/releases/tag/v0.11.0
---
 devel/qcoro/Makefile  | 13 +++++++------
 devel/qcoro/distinfo  |  6 +++---
 devel/qcoro/pkg-plist |  4 ++++
 3 files changed, 14 insertions(+), 9 deletions(-)

diff --git a/devel/qcoro/Makefile b/devel/qcoro/Makefile
index eed6256410f2..edf66ef5ec55 100644
--- a/devel/qcoro/Makefile
+++ b/devel/qcoro/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	qcoro
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.10.0
-PORTREVISION=	1
+DISTVERSION=	0.11.0
 CATEGORIES=	devel kde
 PKGNAMESUFFIX=	-${FLAVOR}
 
@@ -15,7 +14,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSES/MIT.txt
 FLAVORS=	qt5 qt6
 FLAVOR?=	qt5
 
-USES=		cmake compiler:c++20-lang gl pkgconfig qt:${FLAVOR:S/qt//}
+USES=		cmake:testing compiler:c++20-lang gl pkgconfig qt:${FLAVOR:S/qt//}
 USE_GITHUB=	yes
 GH_ACCOUNT=	danvratil
 _USE_GL_qt5=	# empty
@@ -26,9 +25,11 @@ _USE_QT_qt5=	core dbus declarative gui network websockets \
 _USE_QT_qt6=	base declarative websockets
 USE_QT=		${_USE_QT_${FLAVOR}}
 
-CMAKE_OFF=	QCORO_BUILD_EXAMPLES
-CMAKE_ON=	BUILD_SHARED_LIBS
-CMAKE_ARGS=	-DUSE_QT_VERSION=${FLAVOR:S/qt//}
+CMAKE_ARGS=		-DUSE_QT_VERSION=${FLAVOR:S/qt//}
+CMAKE_ON=		BUILD_SHARED_LIBS
+CMAKE_OFF=		QCORO_BUILD_EXAMPLES \
+			QCORO_BUILD_TESTING
+CMAKE_TESTING_ON=	QCORO_BUILD_TESTING
 
 PLIST_SUB=	QT_VER=${FLAVOR:S/qt//} \
 		SHORTVER=${DISTVERSION:R:R} \
diff --git a/devel/qcoro/distinfo b/devel/qcoro/distinfo
index 68694078d8da..3871d39607aa 100644
--- a/devel/qcoro/distinfo
+++ b/devel/qcoro/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1701911182
-SHA256 (danvratil-qcoro-v0.10.0_GH0.tar.gz) = b7c8f00273ad27d85814bf4ec93eb6922c75656800a61d11854d36355a4a1aec
-SIZE (danvratil-qcoro-v0.10.0_GH0.tar.gz) = 150114
+TIMESTAMP = 1729063769
+SHA256 (danvratil-qcoro-v0.11.0_GH0.tar.gz) = 9942c5b4c533192f6c5954dc6d10178b3829075e6a621b67df73f0a4b74d8297
+SIZE (danvratil-qcoro-v0.11.0_GH0.tar.gz) = 157896
diff --git a/devel/qcoro/pkg-plist b/devel/qcoro/pkg-plist
index 5e68cb11892a..ab68cfb3c273 100644
--- a/devel/qcoro/pkg-plist
+++ b/devel/qcoro/pkg-plist
@@ -10,6 +10,7 @@ include/qcoro%%QT_VER%%/QCoro/QCoroFwd
 include/qcoro%%QT_VER%%/QCoro/QCoroGenerator
 include/qcoro%%QT_VER%%/QCoro/QCoroIODevice
 include/qcoro%%QT_VER%%/QCoro/QCoroImageProvider
+include/qcoro%%QT_VER%%/QCoro/QCoroLazyTask
 include/qcoro%%QT_VER%%/QCoro/QCoroLocalSocket
 include/qcoro%%QT_VER%%/QCoro/QCoroNetwork
 include/qcoro%%QT_VER%%/QCoro/QCoroNetworkReply
@@ -31,8 +32,10 @@ include/qcoro%%QT_VER%%/qcoro/config.h
 include/qcoro%%QT_VER%%/qcoro/coroutine.h
 include/qcoro%%QT_VER%%/qcoro/impl/connect.h
 include/qcoro%%QT_VER%%/qcoro/impl/isqprivatesignal.h
+include/qcoro%%QT_VER%%/qcoro/impl/lazytask.h
 include/qcoro%%QT_VER%%/qcoro/impl/task.h
 include/qcoro%%QT_VER%%/qcoro/impl/taskawaiterbase.h
+include/qcoro%%QT_VER%%/qcoro/impl/taskbase.h
 include/qcoro%%QT_VER%%/qcoro/impl/taskfinalsuspend.h
 include/qcoro%%QT_VER%%/qcoro/impl/taskpromise.h
 include/qcoro%%QT_VER%%/qcoro/impl/taskpromisebase.h
@@ -52,6 +55,7 @@ include/qcoro%%QT_VER%%/qcoro/qcorofwd.h
 include/qcoro%%QT_VER%%/qcoro/qcorogenerator.h
 include/qcoro%%QT_VER%%/qcoro/qcoroimageprovider.h
 include/qcoro%%QT_VER%%/qcoro/qcoroiodevice.h
+include/qcoro%%QT_VER%%/qcoro/qcorolazytask.h
 include/qcoro%%QT_VER%%/qcoro/qcorolocalsocket.h
 include/qcoro%%QT_VER%%/qcoro/qcoronetwork.h
 include/qcoro%%QT_VER%%/qcoro/qcoronetwork_export.h