summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatoro Mahri <matoro_gentoo@matoro.tk>2024-01-27 13:12:15 -0500
committerSam James <sam@gentoo.org>2024-01-28 22:13:32 +0000
commit2abc95994851ae9a63c8636ff3694f8616e9fb08 (patch)
tree7184b5bb641a4a6aa07376bdc9565e6578898b79 /app-admin
parentapp-text/highlight: wire up tests (diff)
downloadgentoo-2abc95994851ae9a63c8636ff3694f8616e9fb08.tar.gz
gentoo-2abc95994851ae9a63c8636ff3694f8616e9fb08.tar.bz2
gentoo-2abc95994851ae9a63c8636ff3694f8616e9fb08.zip
app-admin/conky: wire up tests
Bug: https://bugs.gentoo.org/920286 Signed-off-by: Matoro Mahri <matoro_gentoo@matoro.tk> Closes: https://github.com/gentoo/gentoo/pull/35046 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-admin')
-rw-r--r--app-admin/conky/conky-1.19.6-r2.ebuild7
1 files changed, 6 insertions, 1 deletions
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)