Skip to content

Commit

Permalink
dev-libs/plasma-wayland-protocols: Add IUSE test
Browse files Browse the repository at this point in the history
Upstream commit 9123b73204cd82f404a538125e553de1bb52cc5b

Signed-off-by: Andreas Sturmlechner <[email protected]>
  • Loading branch information
a17r committed Dec 7, 2024
1 parent d642d85 commit 9a1f312
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,20 +15,25 @@ 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:*
|| (
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
Expand Down

0 comments on commit 9a1f312

Please sign in to comment.