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 81F8F158020 for ; Sat, 10 Dec 2022 14:56:30 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 88E44E0798; Sat, 10 Dec 2022 14:56:29 +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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 6E922E0798 for ; Sat, 10 Dec 2022 14:56:29 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 5E47733FEFB for ; Sat, 10 Dec 2022 14:56:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id ECB5054C for ; Sat, 10 Dec 2022 14:56:26 +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: <1670684178.33dcbc38fa8b292c24be528470663468c177493d.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.7.0.ebuild X-VCS-Directories: dev-libs/qcoro5/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 33dcbc38fa8b292c24be528470663468c177493d X-VCS-Branch: master Date: Sat, 10 Dec 2022 14:56:26 +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: 407e460b-498d-451c-8984-747d88c53ff4 X-Archives-Hash: d082070787e8060f99d1bbf7cf60a5ae commit: 33dcbc38fa8b292c24be528470663468c177493d Author: Andreas Sturmlechner gentoo org> AuthorDate: Sat Dec 10 13:49:02 2022 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Sat Dec 10 14:56:18 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33dcbc38 dev-libs/qcoro5: 0.7.0 version bump Signed-off-by: Andreas Sturmlechner gentoo.org> dev-libs/qcoro5/Manifest | 1 + dev-libs/qcoro5/metadata.xml | 1 + dev-libs/qcoro5/qcoro5-0.7.0.ebuild | 64 +++++++++++++++++++++++++++++++++++++ 3 files changed, 66 insertions(+) diff --git a/dev-libs/qcoro5/Manifest b/dev-libs/qcoro5/Manifest index e3ad636e4766..7ca511afdc12 100644 --- a/dev-libs/qcoro5/Manifest +++ b/dev-libs/qcoro5/Manifest @@ -1 +1,2 @@ DIST qcoro5-0.6.0.tar.gz 122618 BLAKE2B 1fbd97d8b9897e9dc7408b2bf667064a3ec6326778c44472689e180af9eedc524236c5104b11a117fa8650f042a4ee3bd2b165e44385a829e8638c5e98d293a8 SHA512 e2e0219156a5ba693c935323c45c7414ce0f8d1773986ca63682812678e2b35146c76fa033ef791facfb57fa67fb96727df75ce6ecdae1e232be42f376973a8d +DIST qcoro5-0.7.0.tar.gz 135419 BLAKE2B 8f593e76e960349090cea649848c6b3d422125f1bd292ec79026d0cdab7f7e7de77ec409d442c624efe2683a24dd7715ba108f400e154813b6b3da3eb0b8fc09 SHA512 cd49f957d30b63ee70080425c1ed8ffe05c09f7d5e3c6f043c2a9e66eee9a537c9bd6f12ea54fa9fa53871c5d6e5c4502e2c4a10c30eb3bf017505ba875838ba diff --git a/dev-libs/qcoro5/metadata.xml b/dev-libs/qcoro5/metadata.xml index 4c518fdf8940..dfbdc30c12fe 100644 --- a/dev-libs/qcoro5/metadata.xml +++ b/dev-libs/qcoro5/metadata.xml @@ -10,6 +10,7 @@ Build dev-qt/qtnetwork support + Enable QML/QtQuick support via dev-qt/qtdeclarative Build dev-qt/qtwebsockets support diff --git a/dev-libs/qcoro5/qcoro5-0.7.0.ebuild b/dev-libs/qcoro5/qcoro5-0.7.0.ebuild new file mode 100644 index 000000000000..907417b1c89f --- /dev/null +++ b/dev-libs/qcoro5/qcoro5-0.7.0.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2022 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 ~arm64 ~ppc64" +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= ) + websockets? ( dev-qt/qtwebsockets:5 ) +" +DEPEND="${RDEPEND} + examples? ( + dev-qt/qtconcurrent: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) + -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 +}