media-video/mpv: rename doc-pdf USE to doc
authorIlya Tumaykin <itumaykin@gmail.com>
Tue, 22 Dec 2015 15:54:18 +0000 (18:54 +0300)
committerIlya Tumaykin <itumaykin@gmail.com>
Mon, 28 Dec 2015 12:47:04 +0000 (15:47 +0300)
We have the standard way to enable documentation build in Gentoo and
this way is global doc USE.

Package-Manager: portage-2.2.24

media-video/mpv/mpv-9999.ebuild

index 8535c6e87becc0696a1e228f58e45704183e21f6..c6a5f1f340eee25314e14cad726ba00f38cda24c 100644 (file)
@@ -28,7 +28,7 @@ DOCS+=( README.md etc/example.conf etc/input.conf )
 # See Copyright in source tarball and bug #506946. Waf is BSD, libmpv is ISC.
 LICENSE="GPL-2+ BSD ISC"
 SLOT="0"
-IUSE="+alsa bluray cdda +cli doc-pdf drm dvb +dvd egl +enca encode +iconv
+IUSE="+alsa bluray cdda +cli doc drm dvb +dvd egl +enca encode +iconv
 jack jpeg lcms +libass libav libcaca libguess libmpv lua luajit openal
 +opengl oss pulseaudio pvr raspberry-pi rubberband samba sdl selinux v4l vaapi
 vdpau vf-dlopen wayland +X xinerama +xscreensaver xv"
@@ -109,7 +109,7 @@ DEPEND="${RDEPEND}
        >=dev-lang/perl-5.8
        dev-python/docutils
        virtual/pkgconfig
-       doc-pdf? ( dev-python/rst2pdf )
+       doc? ( dev-python/rst2pdf )
 "
 RDEPEND+="
        selinux? ( sec-policy/selinux-mplayer )
@@ -164,7 +164,7 @@ src_configure() {
                --disable-debug-build   # do not add '-g' to CFLAGS
                --disable-test          # avoid dev-util/cmocka automagic
 
-               $(use_enable doc-pdf pdf-build)
+               $(use_enable doc pdf-build)
                $(use_enable vf-dlopen vf-dlopen-filters)
                $(use_enable cli zsh-comp)