diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-09 21:26:40 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-09 21:26:40 +0000 |
commit | 59e0aee35a7b9aeeaeca646e265c3f8ad2d1bb49 (patch) | |
tree | 06f24c41b24ca814f68a3e9a8ac7c3932e53154f /x11-terms/qterminal/qterminal-1.2.0.ebuild | |
parent | 116b320513d92b6d49648834e8d5a043cd757feb (diff) |
gentoo auto-resync : 09:11:2022 - 21:26:40
Diffstat (limited to 'x11-terms/qterminal/qterminal-1.2.0.ebuild')
-rw-r--r-- | x11-terms/qterminal/qterminal-1.2.0.ebuild | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/x11-terms/qterminal/qterminal-1.2.0.ebuild b/x11-terms/qterminal/qterminal-1.2.0.ebuild index f38c21ae5800..981896ae4138 100644 --- a/x11-terms/qterminal/qterminal-1.2.0.ebuild +++ b/x11-terms/qterminal/qterminal-1.2.0.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 } |