media-video/mpv: update live ebuild
authorIlya Tumaykin <itumaykin@gmail.com>
Sun, 16 Oct 2016 22:04:49 +0000 (01:04 +0300)
committerGöktürk Yüksek <gokturk@gentoo.org>
Mon, 17 Oct 2016 21:49:03 +0000 (17:49 -0400)
Improve readability when multiple messages are displayed.
Disable new features until we get support for them in Gentoo.

Package-Manager: portage-2.3.2

media-video/mpv/mpv-9999.ebuild

index 51540f794bf44f4c6701fbc874b7dde4fdb410f0..e50ba86aac7f308485802a67405d616632b73d37 100644 (file)
@@ -222,11 +222,13 @@ src_configure() {
                --disable-android
                $(use_enable raspberry-pi rpi)
                $(usex libmpv "$(use_enable opengl plain-gl)" '--disable-plain-gl')
+               --disable-mali-fbdev    # Only available in overlays.
 
                # HWaccels:
                # Automagic Video Toolbox HW acceleration. See Gentoo bug 577332.
                $(use_enable vaapi vaapi-hwaccel)
                # Automagic VDPAU HW acceleration. See Gentoo bug 558870.
+               --disable-cuda                  # No support in ffmpeg. See Gentoo bug 595450.
 
                # TV features:
                $(use_enable v4l tv)
@@ -281,7 +283,6 @@ pkg_postinst() {
        done
 
        if [[ ${softvol_0_18_1} -eq 1 ]]; then
-               echo
                elog "Starting from version 0.18.1 the software volume control is"
                elog "enabled by default, see:"
                elog "https://github.com/mpv-player/mpv/blob/v0.18.1/DOCS/interface-changes.rst"
@@ -290,8 +291,9 @@ pkg_postinst() {
                elog "This means that volume controls don't change the system volume,"
                elog "e.g. per-application volume with PulseAudio."
                elog "If you want to restore the old behaviour, please refer to"
+               elog
                elog "https://bugs.gentoo.org/show_bug.cgi?id=588492#c7"
-               echo
+               elog
        fi
 
        # bash-completion < 2.3-r1 already installs (mostly broken) mpv completion.