From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 finch.gentoo.org (Postfix) with ESMTPS id 1D2C615807A for ; Thu, 05 Jun 2025 10:31:13 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (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) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 090E9342FAD for ; Thu, 05 Jun 2025 10:31:13 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 05C9E1102BE; Thu, 05 Jun 2025 10:31:12 +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 bobolink.gentoo.org (Postfix) with ESMTPS id F29D61102BE for ; Thu, 05 Jun 2025 10:31:11 +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 B0E2A342FAD for ; Thu, 05 Jun 2025 10:31:11 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 21EE21439 for ; Thu, 05 Jun 2025 10:31:10 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1749119408.8ff7e664a9705ce81ff1aa519dd8c8d78499870e.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: x11-misc/kapow/ X-VCS-Repository: repo/gentoo X-VCS-Files: x11-misc/kapow/kapow-1.6.4.ebuild X-VCS-Directories: x11-misc/kapow/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 8ff7e664a9705ce81ff1aa519dd8c8d78499870e X-VCS-Branch: master Date: Thu, 05 Jun 2025 10:31:10 +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: dbc76d50-e421-491e-a358-3a0cab6d9bc2 X-Archives-Hash: 99b2e228259bf5a7c6fa4275a9c6b462 commit: 8ff7e664a9705ce81ff1aa519dd8c8d78499870e Author: Sam James gentoo org> AuthorDate: Thu Jun 5 04:09:51 2025 +0000 Commit: Sam James gentoo org> CommitDate: Thu Jun 5 10:30:08 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ff7e664 x11-misc/kapow: wire up tests Signed-off-by: Sam James gentoo.org> x11-misc/kapow/kapow-1.6.4.ebuild | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/x11-misc/kapow/kapow-1.6.4.ebuild b/x11-misc/kapow/kapow-1.6.4.ebuild index 37fdc21df923..c9a5763c3a75 100644 --- a/x11-misc/kapow/kapow-1.6.4.ebuild +++ b/x11-misc/kapow/kapow-1.6.4.ebuild @@ -12,9 +12,19 @@ SRC_URI="https://gottcode.org/${PN}/${P}.tar.bz2" LICENSE="GPL-3" SLOT="0" KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" RDEPEND="dev-qt/qtbase:6[gui,network,widgets]" DEPEND="${RDEPEND}" BDEPEND="dev-qt/qttools:6[linguist]" DOCS=( ChangeLog README ) + +src_configure() { + local mycmakeargs=( + -DENABLE_TESTS=$(usex test) + ) + + cmake_src_configure +}