So wflinfo(1) is always installed. Also move dependencies to BDEPEND.
Signed-off-by: Matt Turner <mattst88@gentoo.org>
"
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=(
$(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
multilib_src_install() {
meson_src_install
- rm -rf "${D}"/usr/share/doc/waffle1
+ ! use doc && rm -rf "${D}"/usr/share/doc/waffle1
}