From: "Andreas Sturmlechner" <asturm@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/qcoro5/
Date: Sun, 10 Jul 2022 12:44:50 +0000 (UTC) [thread overview]
Message-ID: <1657457081.72ca15f0a9dd345ae20423e2356bc757b8e81f3d.asturm@gentoo> (raw)
commit: 72ca15f0a9dd345ae20423e2356bc757b8e81f3d
Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 10 12:40:16 2022 +0000
Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Jul 10 12:44:41 2022 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72ca15f0
dev-libs/qcoro5: New package at 0.6.0, required by net-im/neochat
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
dev-libs/qcoro5/Manifest | 1 +
dev-libs/qcoro5/metadata.xml | 15 ++++++++++
dev-libs/qcoro5/qcoro5-0.6.0.ebuild | 55 +++++++++++++++++++++++++++++++++++++
3 files changed, 71 insertions(+)
diff --git a/dev-libs/qcoro5/Manifest b/dev-libs/qcoro5/Manifest
new file mode 100644
index 000000000000..e3ad636e4766
--- /dev/null
+++ b/dev-libs/qcoro5/Manifest
@@ -0,0 +1 @@
+DIST qcoro5-0.6.0.tar.gz 122618 BLAKE2B 1fbd97d8b9897e9dc7408b2bf667064a3ec6326778c44472689e180af9eedc524236c5104b11a117fa8650f042a4ee3bd2b165e44385a829e8638c5e98d293a8 SHA512 e2e0219156a5ba693c935323c45c7414ce0f8d1773986ca63682812678e2b35146c76fa033ef791facfb57fa67fb96727df75ce6ecdae1e232be42f376973a8d
diff --git a/dev-libs/qcoro5/metadata.xml b/dev-libs/qcoro5/metadata.xml
new file mode 100644
index 000000000000..4c518fdf8940
--- /dev/null
+++ b/dev-libs/qcoro5/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>kde@gentoo.org</email>
+ <name>Gentoo KDE Project</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://bugs.kde.org/</bugs-to>
+ </upstream>
+ <use>
+ <flag name="network">Build <pkg>dev-qt/qtnetwork</pkg> support</flag>
+ <flag name="websockets">Build <pkg>dev-qt/qtwebsockets</pkg> support</flag>
+ </use>
+</pkgmetadata>
diff --git a/dev-libs/qcoro5/qcoro5-0.6.0.ebuild b/dev-libs/qcoro5/qcoro5-0.6.0.ebuild
new file mode 100644
index 000000000000..be9f3ee25f62
--- /dev/null
+++ b/dev-libs/qcoro5/qcoro5-0.6.0.ebuild
@@ -0,0 +1,55 @@
+# 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"
+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 test websockets"
+
+RDEPEND="
+ dev-qt/qtcore:5
+ dbus? ( dev-qt/qtdbus:5 )
+ network? ( dev-qt/qtnetwork:5 )
+"
+DEPEND="${RDEPEND}
+ examples? (
+ dev-qt/qtconcurrent:5
+ dev-qt/qtwidgets:5
+ )
+ test? ( dev-qt/qtconcurrent:5 )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DUSE_QT_VERSION=5
+ -DQCORO_BUILD_EXAMPLES=$(usex examples)
+ -DQCORO_WITH_QTDBUS=$(usex dbus)
+ -DQCORO_WITH_QTNETWORK=$(usex network)
+ -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
+}
next reply other threads:[~2022-07-10 12:44 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-07-10 12:44 Andreas Sturmlechner [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-07-10 12:49 [gentoo-commits] repo/gentoo:master commit in: dev-libs/qcoro5/ Andreas Sturmlechner
2022-07-10 12:51 Andreas Sturmlechner
2022-07-27 10:27 Andreas Sturmlechner
2022-09-01 2:22 Sam James
2022-09-02 1:13 Matt Turner
2022-12-10 14:56 Andreas Sturmlechner
2022-12-10 14:56 Andreas Sturmlechner
2022-12-14 9:20 Sam James
2023-02-05 14:20 Andreas Sturmlechner
2023-03-26 11:03 Andreas Sturmlechner
2023-04-20 21:27 Sam James
2023-04-21 6:03 Jakov Smolić
2023-04-21 7:56 Sam James
2023-04-22 15:04 Andreas Sturmlechner
2023-04-22 18:13 WANG Xuerui
2023-04-23 18:00 Andreas Sturmlechner
2023-05-03 11:31 Andreas Sturmlechner
2023-05-03 17:20 Andreas Sturmlechner
2023-05-04 13:13 Andreas Sturmlechner
2023-05-18 15:41 Andreas Sturmlechner
2023-09-19 16:57 Andreas Sturmlechner
2023-12-25 17:04 Andreas Sturmlechner
2024-01-18 15:20 Andreas Sturmlechner
2024-03-06 20:32 Andreas Sturmlechner
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1657457081.72ca15f0a9dd345ae20423e2356bc757b8e81f3d.asturm@gentoo \
--to=asturm@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox