commit:     507a17700aef8d1741479d5650cfde3d0f48482b
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Thu Aug 20 09:34:42 2020 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Thu Aug 20 09:36:33 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=507a1770

media-video/mpv: Do not build pdf when doc enabled

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 media-video/mpv/mpv-0.32.0-r1.ebuild | 3 +--
 media-video/mpv/mpv-9999.ebuild      | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/media-video/mpv/mpv-0.32.0-r1.ebuild 
b/media-video/mpv/mpv-0.32.0-r1.ebuild
index eb6ccc9c653..e5fb6596364 100644
--- a/media-video/mpv/mpv-0.32.0-r1.ebuild
+++ b/media-video/mpv/mpv-0.32.0-r1.ebuild
@@ -127,7 +127,6 @@ DEPEND="${COMMON_DEPEND}
        virtual/pkgconfig
        dev-python/docutils
        cuda? ( >=media-libs/nv-codec-headers-8.2.15.7 )
-       doc? ( dev-python/rst2pdf )
        dvb? ( virtual/linuxtv-dvb-headers )
        test? ( >=dev-util/cmocka-1.0.0 )
 "
@@ -165,7 +164,7 @@ src_configure() {
                $(usex debug '' '--disable-debug-build')
 
                $(use_enable doc html-build)
-               $(use_enable doc pdf-build)
+               --disable-pdf-build
                --enable-manpage-build
                $(use_enable cplugins)
                $(use_enable test)

diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
index c714f2d8b0c..56f7b9d4cfc 100644
--- a/media-video/mpv/mpv-9999.ebuild
+++ b/media-video/mpv/mpv-9999.ebuild
@@ -124,7 +124,6 @@ DEPEND="${COMMON_DEPEND}
        virtual/pkgconfig
        dev-python/docutils
        cuda? ( >=media-libs/nv-codec-headers-8.2.15.7 )
-       doc? ( dev-python/rst2pdf )
        dvb? ( virtual/linuxtv-dvb-headers )
        test? ( >=dev-util/cmocka-1.0.0 )
 "
@@ -162,7 +161,7 @@ src_configure() {
                $(usex debug '' '--disable-debug-build')
 
                $(use_enable doc html-build)
-               $(use_enable doc pdf-build)
+               --disable-pdf-build
                --enable-manpage-build
                $(use_enable cplugins)
                $(use_enable test)

Reply via email to