diff options
Diffstat (limited to 'x11-libs/libdrm/libdrm-9999.ebuild')
-rw-r--r-- | x11-libs/libdrm/libdrm-9999.ebuild | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/x11-libs/libdrm/libdrm-9999.ebuild b/x11-libs/libdrm/libdrm-9999.ebuild index 389ed76260af..25b11549579e 100644 --- a/x11-libs/libdrm/libdrm-9999.ebuild +++ b/x11-libs/libdrm/libdrm-9999.ebuild @@ -26,7 +26,7 @@ done LICENSE="MIT" SLOT="0" -IUSE="${IUSE_VIDEO_CARDS} test tools udev valgrind" +IUSE="${IUSE_VIDEO_CARDS} doc test tools udev valgrind" RESTRICT="!test? ( test )" COMMON_DEPEND=" @@ -40,9 +40,10 @@ RDEPEND="${COMMON_DEPEND} ) udev? ( virtual/udev )" BDEPEND="${PYTHON_DEPS} - $(python_gen_any_dep 'dev-python/docutils[${PYTHON_USEDEP}]')" + doc? ( $(python_gen_any_dep 'dev-python/docutils[${PYTHON_USEDEP}]') )" python_check_deps() { + use doc || return 0 python_has_version "dev-python/docutils[${PYTHON_USEDEP}]" } @@ -70,6 +71,7 @@ multilib_src_configure() { # valgrind installs its .pc file to the pkgconfig for the primary arch -Dvalgrind=$(usex valgrind auto disabled) $(meson_native_use_bool tools install-test-programs) + $(meson_native_use_feature doc man-pages) ) if use test || { multilib_is_native_abi && use tools; }; then |