From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 332D415ACFC for ; Wed, 3 May 2023 11:31:25 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3EFCCE109A; Wed, 3 May 2023 11:31:24 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 1B890E109A for ; Wed, 3 May 2023 11:31:24 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 19EE3341824 for ; Wed, 3 May 2023 11:31:23 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 86D11A5E for ; Wed, 3 May 2023 11:31:21 +0000 (UTC) From: "Andreas Sturmlechner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Andreas Sturmlechner" Message-ID: <1683113422.1f60ca3bdfd36214be0c8a0b85d48c08e22bf8c6.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/qcoro5/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/qcoro5/Manifest dev-libs/qcoro5/metadata.xml dev-libs/qcoro5/qcoro5-0.9.0.ebuild X-VCS-Directories: dev-libs/qcoro5/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 1f60ca3bdfd36214be0c8a0b85d48c08e22bf8c6 X-VCS-Branch: master Date: Wed, 3 May 2023 11:31:21 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2e790116-609d-4149-ac57-cb6618c39a44 X-Archives-Hash: c5a751430bc4988e997ab6855f2b9a1b commit: 1f60ca3bdfd36214be0c8a0b85d48c08e22bf8c6 Author: Andreas Sturmlechner gentoo org> AuthorDate: Wed May 3 09:56:30 2023 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Wed May 3 11:30:22 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f60ca3b dev-libs/qcoro5: add 0.9.0 Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/qcoro5/Manifest | 1 + dev-libs/qcoro5/metadata.xml | 1 + dev-libs/qcoro5/qcoro5-0.9.0.ebuild | 67 +++++++++++++++++++++++++++++++++++++ 3 files changed, 69 insertions(+) diff --git a/dev-libs/qcoro5/Manifest b/dev-libs/qcoro5/Manifest index 916087345515..1c25398b311a 100644 --- a/dev-libs/qcoro5/Manifest +++ b/dev-libs/qcoro5/Manifest @@ -1 +1,2 @@ DIST qcoro5-0.8.0.tar.gz 139254 BLAKE2B 979e1744951742c7a3f5a70d291e0e63d6be1d73794c9af32ef48b8e440c1919ae487cf07d1896cc2a8e7bdf8a51cac14f81a6e17689b57a93cfb71db3500282 SHA512 bdcf6f9113e5dde57fb56abdeb5106dbba8892ecc6c11d9f4b8b653570ffb0e25f63ee0fe87cd9008e02b99b76f959b9af00b2875420517b13295d6b108db2cc +DIST qcoro5-0.9.0.tar.gz 143270 BLAKE2B 0fbd4e606edb3142b440486412889ebbefd3b5ac47eeba12747ea5314acf5d4088463fe0a03c44d787510c1355c9f5f9b060d8f2fd07e668fb2f397c2f139099 SHA512 f708e1a82861c39434d6934172246c3280864e933b333b56c0471f1a629f9da65554d1508af4291ac2257ad8df2040655394ae5525d728710de5bd83cef8fbee diff --git a/dev-libs/qcoro5/metadata.xml b/dev-libs/qcoro5/metadata.xml index 71b2a23080e9..22aa09688613 100644 --- a/dev-libs/qcoro5/metadata.xml +++ b/dev-libs/qcoro5/metadata.xml @@ -12,6 +12,7 @@ Build dev-qt/qtnetwork support Enable QML/QtQuick support via dev-qt/qtdeclarative + Install coroutine-friendly versions of dev-qt/qttest macros Build dev-qt/qtwebsockets support diff --git a/dev-libs/qcoro5/qcoro5-0.9.0.ebuild b/dev-libs/qcoro5/qcoro5-0.9.0.ebuild new file mode 100644 index 000000000000..d5b93f3bf4dc --- /dev/null +++ b/dev-libs/qcoro5/qcoro5-0.9.0.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +if [[ ${PV} == *9999* ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/danvratil/${PN/5/}" +else + SRC_URI="https://github.com/danvratil/${PN/5/}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + S="${WORKDIR}/${P/5/}" + KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="C++ Coroutine Library for Qt5" +HOMEPAGE="https://qcoro.dvratil.cz/ https://github.com/danvratil/qcoro" + +LICENSE="MIT" +SLOT="0" +IUSE="dbus examples +network qml test websockets" + +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-qt/qtcore:5 + dbus? ( dev-qt/qtdbus:5 ) + network? ( dev-qt/qtnetwork:5 ) + qml? ( dev-qt/qtdeclarative:5= ) + test? ( dev-qt/qttest:5 ) + websockets? ( dev-qt/qtwebsockets:5 ) +" +DEPEND="${RDEPEND} + examples? ( + dev-qt/qtconcurrent:5 + dev-qt/qtnetwork:5 + dev-qt/qtwidgets:5 + ) + test? ( + dev-qt/qtconcurrent:5 + dev-qt/qttest:5 + ) +" + +src_configure() { + local mycmakeargs=( + -DUSE_QT_VERSION=5 + -DQCORO_BUILD_EXAMPLES=$(usex examples) + -DQCORO_WITH_QTDBUS=$(usex dbus) + -DQCORO_WITH_QTNETWORK=$(usex network) + -DQCORO_WITH_QML=$(usex qml) + -DQCORO_WITH_QTQUICK=$(usex qml) + -DQCORO_WITH_QTTEST=$(usex test) + -DBUILD_TESTING=$(usex test) + -DQCORO_WITH_QTWEBSOCKETS=$(usex websockets) + ) + cmake_src_configure +} + +src_install() { + if use examples; then + docinto examples + dodoc -r examples/* + fi + cmake_src_install +}