From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0F8D91581EE for ; Fri, 04 Apr 2025 21:15:31 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id ECCFF3430D9 for ; Fri, 04 Apr 2025 21:15:30 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 191371104B6; Fri, 04 Apr 2025 21:15:27 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 0E1E01104B6 for ; Fri, 04 Apr 2025 21:15:27 +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 BA3D83430C0 for ; Fri, 04 Apr 2025 21:15:26 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BDFB81936 for ; Fri, 04 Apr 2025 21:15:24 +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: <1743801306.6458a563aaca1efe9d8b1ecfbe663528f7e4cc87.asturm@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/qcoro/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-libs/qcoro/Manifest dev-libs/qcoro/qcoro-0.12.0.ebuild X-VCS-Directories: dev-libs/qcoro/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 6458a563aaca1efe9d8b1ecfbe663528f7e4cc87 X-VCS-Branch: master Date: Fri, 04 Apr 2025 21:15:24 +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: c5fe79cd-d264-49c7-a2c6-aa99b2aca925 X-Archives-Hash: 52b02b74f86c50f2f20eb2184436ddb4 commit: 6458a563aaca1efe9d8b1ecfbe663528f7e4cc87 Author: Andreas Sturmlechner gentoo org> AuthorDate: Fri Apr 4 21:01:16 2025 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Fri Apr 4 21:15:06 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6458a563 dev-libs/qcoro: add 0.12.0 See also: https://qcoro.dev/news/2025/2025-04-03-qcoro-0.12.0-announcement/ Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/qcoro/Manifest | 1 + dev-libs/qcoro/qcoro-0.12.0.ebuild | 60 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/dev-libs/qcoro/Manifest b/dev-libs/qcoro/Manifest index 0627a8c96025..ce33f5c508c2 100644 --- a/dev-libs/qcoro/Manifest +++ b/dev-libs/qcoro/Manifest @@ -1 +1,2 @@ DIST qcoro-0.11.0.tar.gz 157896 BLAKE2B f857c90eceea0e21938c1605e53fde21098226087804d39abfab10eb2bd26984332ae1fa896290ecbc644e34e6417f46b7c4919c91383964610adde3adc435a8 SHA512 bde5c5cd9f3c038e6b5ec5a6adae5ae2218edd9df350e75fc5d8db31d9339484e92cc88fdc37fa0539e0cdf1f53731418ebfa73b94564e993d7b02168988771b +DIST qcoro-0.12.0.tar.gz 161468 BLAKE2B a7b5f203e227dc2e5dd9f74ccc72b3ab2972803e613a1fede5c597e97e281e3817eff8f088b3abba82d96815e296e1106a324f33078b45607a13de31797bd154 SHA512 f1da90c4a9bec5f52ec9f40caa30c8465658c6ff005c6c7e89aeb97acc4aefd5e34030493b7e51313a6d2b3fc59114f6ed6751f31f1c132ece173f0e22154c37 diff --git a/dev-libs/qcoro/qcoro-0.12.0.ebuild b/dev-libs/qcoro/qcoro-0.12.0.ebuild new file mode 100644 index 000000000000..25d7fc2cb0f7 --- /dev/null +++ b/dev-libs/qcoro/qcoro-0.12.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2025 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}" +else + SRC_URI="https://github.com/danvratil/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~arm64 ~loong ~ppc64 ~riscv ~x86" +fi + +DESCRIPTION="C++ Coroutine Library for Qt" +HOMEPAGE="https://qcoro.dvratil.cz/ https://github.com/danvratil/qcoro" + +LICENSE="MIT" +SLOT="0" +IUSE="dbus examples +network qml test websockets" + +REQUIRED_USE="examples? ( network )" +RESTRICT="!test? ( test )" + +RDEPEND=" + dev-qt/qtbase:6[dbus?,network?] + qml? ( + dev-qt/qtbase:6[gui] + dev-qt/qtdeclarative:6= + ) + websockets? ( dev-qt/qtwebsockets:6 ) +" +DEPEND="${RDEPEND} + examples? ( dev-qt/qtbase:6[concurrent,network,widgets] ) + test? ( dev-qt/qtbase:6[concurrent] ) +" + +src_configure() { + local mycmakeargs=( + -DUSE_QT_VERSION=6 + -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=ON + -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 +}