aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-12-21 15:56:40 +0000
committerSam James <sam@gentoo.org>2023-12-21 16:01:01 +0000
commitf3bd35f7f062e5373895eb00f17bc325027ebaef (patch)
tree49f10485a924db2b0f3087ba568295cd000b3f39 /dev-libs
parentkde-apps/kdeutils-meta: Fix IUSE=cups dep (diff)
downloadkde-f3bd35f7f062e5373895eb00f17bc325027ebaef.tar.gz
kde-f3bd35f7f062e5373895eb00f17bc325027ebaef.tar.bz2
kde-f3bd35f7f062e5373895eb00f17bc325027ebaef.zip
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@gentoo.org>
Diffstat (limited to 'dev-libs')
-rw-r--r--dev-libs/qcoro/metadata.xml1
-rw-r--r--dev-libs/qcoro/qcoro-9999.ebuild9
2 files changed, 4 insertions, 6 deletions
diff --git a/dev-libs/qcoro/metadata.xml b/dev-libs/qcoro/metadata.xml
index 726702f081..60c7061a3a 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-9999.ebuild b/dev-libs/qcoro/qcoro-9999.ebuild
index 1089332563..f399329e11 100644
--- a/dev-libs/qcoro/qcoro-9999.ebuild
+++ b/dev-libs/qcoro/qcoro-9999.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)
)