From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1681061-garchives=archives.gentoo.org@lists.gentoo.org> 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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BC249158042 for <garchives@archives.gentoo.org>; Thu, 17 Oct 2024 17:59:37 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C84FAE0980; Thu, 17 Oct 2024 17:59:36 +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 AE380E0980 for <gentoo-commits@lists.gentoo.org>; Thu, 17 Oct 2024 17:59:36 +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 B5E13343070 for <gentoo-commits@lists.gentoo.org>; Thu, 17 Oct 2024 17:59:35 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 257E61315 for <gentoo-commits@lists.gentoo.org>; Thu, 17 Oct 2024 17:59:34 +0000 (UTC) From: "Andreas Sturmlechner" <asturm@gentoo.org> 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" <asturm@gentoo.org> Message-ID: <1729187966.75a3255317504d75be1b114e8c1c8bd06212a544.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.11.0.ebuild X-VCS-Directories: dev-libs/qcoro/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 75a3255317504d75be1b114e8c1c8bd06212a544 X-VCS-Branch: master Date: Thu, 17 Oct 2024 17:59:34 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 5fdc3a71-f1e9-453e-a2f4-4f16d256deaa X-Archives-Hash: 5d2f895458d9e17dc1ce44048f0ab344 commit: 75a3255317504d75be1b114e8c1c8bd06212a544 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> AuthorDate: Thu Oct 17 17:54:49 2024 +0000 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org> CommitDate: Thu Oct 17 17:59:26 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75a32553 dev-libs/qcoro: add 0.11.0 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org> dev-libs/qcoro/Manifest | 1 + dev-libs/qcoro/qcoro-0.11.0.ebuild | 60 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 61 insertions(+) diff --git a/dev-libs/qcoro/Manifest b/dev-libs/qcoro/Manifest index 8c665b3100eb..923b4a898db8 100644 --- a/dev-libs/qcoro/Manifest +++ b/dev-libs/qcoro/Manifest @@ -1 +1,2 @@ DIST qcoro-0.10.0.tar.gz 150114 BLAKE2B 8a552dc3a0e4a5963c7c9fd0638f336e6ad99491a54df3bb8ddaa6b0ee1fe8e4c6b7ffc26c25cef543e796c54bc4c625a0915755f4b538f489bc61fcd8310a6a SHA512 de2e55256d3c9d35fec3ef6dc78128801b70a5e5b8ff0f3a6f235dac17f349ea44207a7c9f35375215dbeea04cb67c3412d505d0a8a95f2b926775f804a02649 +DIST qcoro-0.11.0.tar.gz 157896 BLAKE2B f857c90eceea0e21938c1605e53fde21098226087804d39abfab10eb2bd26984332ae1fa896290ecbc644e34e6417f46b7c4919c91383964610adde3adc435a8 SHA512 bde5c5cd9f3c038e6b5ec5a6adae5ae2218edd9df350e75fc5d8db31d9339484e92cc88fdc37fa0539e0cdf1f53731418ebfa73b94564e993d7b02168988771b diff --git a/dev-libs/qcoro/qcoro-0.11.0.ebuild b/dev-libs/qcoro/qcoro-0.11.0.ebuild new file mode 100644 index 000000000000..2d6c10b669a2 --- /dev/null +++ b/dev-libs/qcoro/qcoro-0.11.0.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2024 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 ~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 +}