commit: 2abc95994851ae9a63c8636ff3694f8616e9fb08 Author: Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk> AuthorDate: Sat Jan 27 18:12:15 2024 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sun Jan 28 22:13:32 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2abc9599
app-admin/conky: wire up tests Bug: https://bugs.gentoo.org/920286 Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk> Closes: https://github.com/gentoo/gentoo/pull/35046 Signed-off-by: Sam James <sam <AT> gentoo.org> app-admin/conky/conky-1.19.6-r2.ebuild | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/app-admin/conky/conky-1.19.6-r2.ebuild b/app-admin/conky/conky-1.19.6-r2.ebuild index bf923928932c..63b68644ef56 100644 --- a/app-admin/conky/conky-1.19.6-r2.ebuild +++ b/app-admin/conky/conky-1.19.6-r2.ebuild @@ -17,8 +17,9 @@ SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ppc ppc64 ~riscv sparc x86" IUSE="apcupsd bundled-toluapp cmus curl doc extras hddtemp ical iconv imlib intel-backlight iostats irc lua-cairo lua-imlib lua-rsvg math moc mpd - mysql ncurses nvidia +portmon pulseaudio rss systemd thinkpad truetype + mysql ncurses nvidia +portmon pulseaudio rss systemd test thinkpad truetype wayland webserver wifi X xinerama xmms2" +RESTRICT="!test? ( test )" COMMON_DEPEND=" curl? ( net-misc/curl ) @@ -68,6 +69,9 @@ RDEPEND=" " DEPEND=" ${COMMON_DEPEND} + test? ( + dev-cpp/catch + ) wayland? ( dev-libs/wayland-protocols ) @@ -188,6 +192,7 @@ src_configure() { -DBUILD_PORT_MONITORS=$(usex portmon) -DBUILD_PULSEAUDIO=$(usex pulseaudio) -DBUILD_RSS=$(usex rss) + -DBUILD_TESTS=$(usex test) -DBUILD_WAYLAND=$(usex wayland) -DBUILD_WLAN=$(usex wifi) -DBUILD_XFT=$(usex truetype)