media-video/mpv: rename cdio USE to cdda
authorIlya Tumaykin <itumaykin@gmail.com>
Tue, 22 Dec 2015 15:23:52 +0000 (18:23 +0300)
committerIlya Tumaykin <itumaykin@gmail.com>
Mon, 28 Dec 2015 12:47:00 +0000 (15:47 +0300)
This was originally submitted by Vindex17 in PR #318.

Local cdio USE has the same meaning for mpv as global cdda USE. It looks
like it was copied from mplayer ebuild where it made sense, because
mplayer could support both cdparanoia and cdio-paranoia at the time. On
the other hand, current mpv only supports cdio-paranoia.

Package-Manager: portage-2.2.24

media-video/mpv/mpv-9999.ebuild

index 28080fcb400d8c8268eb07b179ac4743a7d332da..f493551ba37f73caadf783df74ec907bdeca706a 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 cdio +cli doc-pdf drm dvb +dvd egl +enca encode +iconv
+IUSE="+alsa bluray cdda +cli doc-pdf 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"
@@ -56,7 +56,7 @@ RDEPEND="
        sys-libs/zlib
        alsa? ( >=media-libs/alsa-lib-1.0.18 )
        bluray? ( >=media-libs/libbluray-0.3.0 )
-       cdio? (
+       cdda? (
                dev-libs/libcdio
                dev-libs/libcdio-paranoia
        )
@@ -187,7 +187,7 @@ src_configure() {
                $(use_enable bluray libbluray)
                $(use_enable dvd dvdread)
                $(use_enable dvd dvdnav)
-               $(use_enable cdio cdda)
+               $(use_enable cdda)
                $(use_enable enca)
                $(use_enable rubberband)
                $(use_enable lcms lcms2)