From 38e14beda0e6522c6907259a60633447d26bf6c5 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Tue, 31 Mar 2020 13:32:05 -0700 Subject: [PATCH] media-libs/waffle: Use IUSE=doc to control only dev docs So wflinfo(1) is always installed. Also move dependencies to BDEPEND. Signed-off-by: Matt Turner --- media-libs/waffle/waffle-9999.ebuild | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/media-libs/waffle/waffle-9999.ebuild b/media-libs/waffle/waffle-9999.ebuild index 4ae9a9bbcf9d..6080dd579e23 100644 --- a/media-libs/waffle/waffle-9999.ebuild +++ b/media-libs/waffle/waffle-9999.ebuild @@ -30,10 +30,10 @@ RDEPEND=" " DEPEND="${RDEPEND} >=x11-base/xcb-proto-1.8-r3[${MULTILIB_USEDEP}] - doc? ( - dev-libs/libxslt - app-text/docbook-xml-dtd:4.2 - ) +" +BDEPEND=" + dev-libs/libxslt + app-text/docbook-xml-dtd:4.2 " MULTILIB_CHOST_TOOLS=( @@ -52,7 +52,7 @@ multilib_src_configure() { $(meson_feature X x11_egl) $(meson_feature gbm) $(meson_feature egl surfaceless_egl) - $(meson_use doc build-manpages) + -Dbuild-manpages=true -Dbuild-tests=false ) meson_src_configure @@ -69,5 +69,5 @@ multilib_src_test() { multilib_src_install() { meson_src_install - rm -rf "${D}"/usr/share/doc/waffle1 + ! use doc && rm -rf "${D}"/usr/share/doc/waffle1 } -- 2.26.2