diff options
Diffstat (limited to 'x11-terms/qterminal/qterminal-9999.ebuild')
-rw-r--r-- | x11-terms/qterminal/qterminal-9999.ebuild | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-terms/qterminal/qterminal-9999.ebuild b/x11-terms/qterminal/qterminal-9999.ebuild index f38c21ae5800..981896ae4138 100644 --- a/x11-terms/qterminal/qterminal-9999.ebuild +++ b/x11-terms/qterminal/qterminal-9999.ebuild @@ -18,6 +18,8 @@ fi LICENSE="GPL-2 GPL-2+" SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" BDEPEND=">=dev-util/lxqt-build-tools-0.12.0" DEPEND=" @@ -28,9 +30,18 @@ DEPEND=" >=dev-qt/qtx11extras-5.15:5 x11-libs/libX11 ~x11-libs/qtermwidget-${PV}:= + test? ( dev-qt/qttest:5 ) " RDEPEND="${DEPEND}" +src_configure() { + local mycmakeargs=( + -DBUILD_TESTS=$(usex test) + ) + + cmake_src_configure +} + pkg_postinst() { xdg_icon_cache_update } |