From 9a1f3125c8ba442cfe11e45468ca9ccfa35d4a17 Mon Sep 17 00:00:00 2001 From: Andreas Sturmlechner Date: Sat, 7 Dec 2024 14:10:39 +0100 Subject: [PATCH] dev-libs/plasma-wayland-protocols: Add IUSE test Upstream commit 9123b73204cd82f404a538125e553de1bb52cc5b Signed-off-by: Andreas Sturmlechner --- .../plasma-wayland-protocols-9999.ebuild | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/dev-libs/plasma-wayland-protocols/plasma-wayland-protocols-9999.ebuild b/dev-libs/plasma-wayland-protocols/plasma-wayland-protocols-9999.ebuild index 05f74e583c2..d83e0fd9b80 100644 --- a/dev-libs/plasma-wayland-protocols/plasma-wayland-protocols-9999.ebuild +++ b/dev-libs/plasma-wayland-protocols/plasma-wayland-protocols-9999.ebuild @@ -15,7 +15,10 @@ fi LICENSE="LGPL-2.1" SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" +DEPEND="test? ( dev-libs/wayland )" BDEPEND=" dev-libs/libpcre2:* >=kde-frameworks/extra-cmake-modules-5.115.0:* @@ -23,12 +26,14 @@ BDEPEND=" dev-qt/qtbase:6 dev-qt/qtcore:5 ) + test? ( dev-util/wayland-scanner ) " ecm_src_configure() { local mycmakeargs=( -DKDE_INSTALL_USE_QT_SYS_PATHS=ON # ecm.eclass -DKDE_INSTALL_DOCBUNDLEDIR="${EPREFIX}/usr/share/help" # ecm.eclass + -DBUILD_TESTING=$(usex test) ) cmake_src_configure