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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BCE3C1581F3 for ; Tue, 3 Dec 2024 21:06:02 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id ED9F3E0819; Tue, 3 Dec 2024 21:06:01 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 D2BEBE0819 for ; Tue, 3 Dec 2024 21:06:00 +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 8655A335D77 for ; Tue, 3 Dec 2024 21:05:58 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E3FD813F5 for ; Tue, 3 Dec 2024 21:05:56 +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: <1733259949.0ad3f73b3201c38d56e070f078fbf7cab7552033.asturm@gentoo> Subject: [gentoo-commits] proj/kde:master commit in: kde-frameworks/extra-cmake-modules/ X-VCS-Repository: proj/kde X-VCS-Files: kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild X-VCS-Directories: kde-frameworks/extra-cmake-modules/ X-VCS-Committer: asturm X-VCS-Committer-Name: Andreas Sturmlechner X-VCS-Revision: 0ad3f73b3201c38d56e070f078fbf7cab7552033 X-VCS-Branch: master Date: Tue, 3 Dec 2024 21:05:56 +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: 9b5bf0ba-d7d6-4043-b833-29b4674a6f3f X-Archives-Hash: 805a11a90b876bc64f4aae981f5c5a80 commit: 0ad3f73b3201c38d56e070f078fbf7cab7552033 Author: Andreas Sturmlechner gentoo org> AuthorDate: Tue Dec 3 21:04:09 2024 +0000 Commit: Andreas Sturmlechner gentoo org> CommitDate: Tue Dec 3 21:05:49 2024 +0000 URL: https://gitweb.gentoo.org/proj/kde.git/commit/?id=0ad3f73b kde-frameworks/extra-cmake-modules: Fix test dependencies Also set QT_MAJOR_VERSION=6 if testing, not going to add any complexity for optional Qt5 testing. Bug: https://bugs.gentoo.org/938316 Signed-off-by: Andreas Sturmlechner gentoo.org> .../extra-cmake-modules/extra-cmake-modules-9999.ebuild | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild index a0f838b06e..2f7a639451 100644 --- a/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild +++ b/kde-frameworks/extra-cmake-modules/extra-cmake-modules-9999.ebuild @@ -17,6 +17,12 @@ IUSE="doc test" RESTRICT="!test? ( test )" RDEPEND="app-arch/libarchive[bzip2]" +DEPEND=" + test? ( + >=dev-qt/qtbase-${QTMIN}:6[dbus,gui] + >=dev-qt/qtdeclarative-${QTMIN}:6 + ) +" BDEPEND=" doc? ( ${PYTHON_DEPS} @@ -24,8 +30,8 @@ BDEPEND=" >=dev-qt/qttools-${QTMIN}:6[assistant] ) test? ( - >=dev-qt/qttools-${QTMIN}:6[linguist] >=dev-qt/qtbase-${QTMIN}:6 + >=dev-qt/qttools-${QTMIN}:6[linguist] ) " @@ -53,6 +59,9 @@ src_configure() { -DBUILD_MAN_DOCS=$(usex doc) -DBUILD_TESTING=$(usex test) ) + if use test; then + mycmakeargs+=( -DQT_MAJOR_VERSION=6 ) # bug 938316 + fi cmake_src_configure }