public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/qcoro/
@ 2023-12-21 16:00 Sam James
  0 siblings, 0 replies; 4+ messages in thread
From: Sam James @ 2023-12-21 16:00 UTC (permalink / raw
  To: gentoo-commits

commit:     297e8d8cc000bcf046fe5945f7c3f8c318d28a97
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 21 15:56:40 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Dec 21 15:59:52 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=297e8d8c

dev-libs/qcoro: drop USE=testlib

qtbase always installs qttest so we can drop USE=testlib here and always build
it instead.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/qcoro/metadata.xml        | 1 -
 dev-libs/qcoro/qcoro-0.10.0.ebuild | 9 ++++-----
 2 files changed, 4 insertions(+), 6 deletions(-)

diff --git a/dev-libs/qcoro/metadata.xml b/dev-libs/qcoro/metadata.xml
index 726702f081d1..60c7061a3a86 100644
--- a/dev-libs/qcoro/metadata.xml
+++ b/dev-libs/qcoro/metadata.xml
@@ -12,7 +12,6 @@
 	<use>
 		<flag name="network">Build <pkg>dev-qt/qtbase</pkg> network support</flag>
 		<flag name="qml">Enable QML/QtQuick support via <pkg>dev-qt/qtdeclarative</pkg></flag>
-		<flag name="testlib">Install coroutine-friendly versions of <pkg>dev-qt/qtbase</pkg> test macros</flag>
 		<flag name="websockets">Build <pkg>dev-qt/qtwebsockets</pkg> support</flag>
 	</use>
 </pkgmetadata>

diff --git a/dev-libs/qcoro/qcoro-0.10.0.ebuild b/dev-libs/qcoro/qcoro-0.10.0.ebuild
index 3d15e281be59..c9f8f4e20583 100644
--- a/dev-libs/qcoro/qcoro-0.10.0.ebuild
+++ b/dev-libs/qcoro/qcoro-0.10.0.ebuild
@@ -18,20 +18,19 @@ HOMEPAGE="https://qcoro.dvratil.cz/ https://github.com/danvratil/qcoro"
 
 LICENSE="MIT"
 SLOT="0"
-IUSE="dbus examples +network qml test testlib websockets"
+IUSE="dbus examples +network qml test websockets"
 
-REQUIRED_USE="examples? ( network ) test? ( testlib )"
+REQUIRED_USE="examples? ( network )"
 RESTRICT="!test? ( test )"
 
 RDEPEND="
 	dev-qt/qtbase:6[dbus?,network?]
 	qml? ( dev-qt/qtdeclarative:6= )
-	testlib? ( dev-qt/qtbase:6[test] )
 	websockets? ( dev-qt/qtwebsockets:6 )
 "
 DEPEND="${RDEPEND}
 	examples? ( dev-qt/qtbase:6[concurrent,network,widgets] )
-	test? ( dev-qt/qtbase:6[concurrent,test] )
+	test? ( dev-qt/qtbase:6[concurrent] )
 "
 
 src_configure() {
@@ -42,7 +41,7 @@ src_configure() {
 		-DQCORO_WITH_QTNETWORK=$(usex network)
 		-DQCORO_WITH_QML=$(usex qml)
 		-DQCORO_WITH_QTQUICK=$(usex qml)
-		-DQCORO_WITH_QTTEST=$(usex testlib)
+		-DQCORO_WITH_QTTEST=ON
 		-DBUILD_TESTING=$(usex test)
 		-DQCORO_WITH_QTWEBSOCKETS=$(usex websockets)
 	)


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/qcoro/
@ 2024-10-17 17:59 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2024-10-17 17:59 UTC (permalink / raw
  To: gentoo-commits

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
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/qcoro/
@ 2024-01-18 15:20 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2024-01-18 15:20 UTC (permalink / raw
  To: gentoo-commits

commit:     eae5b755295392064326d48d41db240fa3723ca2
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Thu Jan 18 15:10:22 2024 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Thu Jan 18 15:20:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eae5b755

dev-libs/qcoro: Add missing dependency on dev-qt/qtbase:6[gui]

Closes: https://bugs.gentoo.org/922283
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-libs/qcoro/{qcoro-0.10.0.ebuild => qcoro-0.10.0-r1.ebuild} | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/dev-libs/qcoro/qcoro-0.10.0.ebuild b/dev-libs/qcoro/qcoro-0.10.0-r1.ebuild
similarity index 95%
rename from dev-libs/qcoro/qcoro-0.10.0.ebuild
rename to dev-libs/qcoro/qcoro-0.10.0-r1.ebuild
index c9f8f4e20583..6b49855d6997 100644
--- a/dev-libs/qcoro/qcoro-0.10.0.ebuild
+++ b/dev-libs/qcoro/qcoro-0.10.0-r1.ebuild
@@ -25,7 +25,10 @@ RESTRICT="!test? ( test )"
 
 RDEPEND="
 	dev-qt/qtbase:6[dbus?,network?]
-	qml? ( dev-qt/qtdeclarative:6= )
+	qml? (
+		dev-qt/qtbase:6[gui]
+		dev-qt/qtdeclarative:6=
+	)
 	websockets? ( dev-qt/qtwebsockets:6 )
 "
 DEPEND="${RDEPEND}


^ permalink raw reply related	[flat|nested] 4+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/qcoro/
@ 2023-12-17 23:02 Andreas Sturmlechner
  0 siblings, 0 replies; 4+ messages in thread
From: Andreas Sturmlechner @ 2023-12-17 23:02 UTC (permalink / raw
  To: gentoo-commits

commit:     34fb7dcfa78ab175b4737386a68b4bb6d5e2195d
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 17 20:12:05 2023 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Dec 17 23:00:49 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34fb7dcf

dev-libs/qcoro: new package, add 0.10.0

Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-libs/qcoro/Manifest            |  1 +
 dev-libs/qcoro/metadata.xml        | 18 ++++++++++++
 dev-libs/qcoro/qcoro-0.10.0.ebuild | 58 ++++++++++++++++++++++++++++++++++++++
 3 files changed, 77 insertions(+)

diff --git a/dev-libs/qcoro/Manifest b/dev-libs/qcoro/Manifest
new file mode 100644
index 000000000000..8c665b3100eb
--- /dev/null
+++ b/dev-libs/qcoro/Manifest
@@ -0,0 +1 @@
+DIST qcoro-0.10.0.tar.gz 150114 BLAKE2B 8a552dc3a0e4a5963c7c9fd0638f336e6ad99491a54df3bb8ddaa6b0ee1fe8e4c6b7ffc26c25cef543e796c54bc4c625a0915755f4b538f489bc61fcd8310a6a SHA512 de2e55256d3c9d35fec3ef6dc78128801b70a5e5b8ff0f3a6f235dac17f349ea44207a7c9f35375215dbeea04cb67c3412d505d0a8a95f2b926775f804a02649

diff --git a/dev-libs/qcoro/metadata.xml b/dev-libs/qcoro/metadata.xml
new file mode 100644
index 000000000000..726702f081d1
--- /dev/null
+++ b/dev-libs/qcoro/metadata.xml
@@ -0,0 +1,18 @@
+<?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://github.com/danvratil/qcoro/issues</bugs-to>
+		<remote-id type="github">danvratil/qcoro</remote-id>
+	</upstream>
+	<use>
+		<flag name="network">Build <pkg>dev-qt/qtbase</pkg> network support</flag>
+		<flag name="qml">Enable QML/QtQuick support via <pkg>dev-qt/qtdeclarative</pkg></flag>
+		<flag name="testlib">Install coroutine-friendly versions of <pkg>dev-qt/qtbase</pkg> test macros</flag>
+		<flag name="websockets">Build <pkg>dev-qt/qtwebsockets</pkg> support</flag>
+	</use>
+</pkgmetadata>

diff --git a/dev-libs/qcoro/qcoro-0.10.0.ebuild b/dev-libs/qcoro/qcoro-0.10.0.ebuild
new file mode 100644
index 000000000000..3d15e281be59
--- /dev/null
+++ b/dev-libs/qcoro/qcoro-0.10.0.ebuild
@@ -0,0 +1,58 @@
+# 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}"
+else
+	SRC_URI="https://github.com/danvratil/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+	KEYWORDS="~amd64"
+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 testlib websockets"
+
+REQUIRED_USE="examples? ( network ) test? ( testlib )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+	dev-qt/qtbase:6[dbus?,network?]
+	qml? ( dev-qt/qtdeclarative:6= )
+	testlib? ( dev-qt/qtbase:6[test] )
+	websockets? ( dev-qt/qtwebsockets:6 )
+"
+DEPEND="${RDEPEND}
+	examples? ( dev-qt/qtbase:6[concurrent,network,widgets] )
+	test? ( dev-qt/qtbase:6[concurrent,test] )
+"
+
+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=$(usex testlib)
+		-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
+}


^ permalink raw reply related	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-10-17 17:59 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-12-21 16:00 [gentoo-commits] repo/gentoo:master commit in: dev-libs/qcoro/ Sam James
  -- strict thread matches above, loose matches on Subject: below --
2024-10-17 17:59 Andreas Sturmlechner
2024-01-18 15:20 Andreas Sturmlechner
2023-12-17 23:02 Andreas Sturmlechner

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox