From: Matt Turner Date: Tue, 31 Mar 2020 20:32:05 +0000 (-0700) Subject: media-libs/waffle: Use IUSE=doc to control only dev docs X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=38e14beda0e6522c6907259a60633447d26bf6c5;p=gentoo.git 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 --- 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 }