diff options
author | Ilya Tumaykin <itumaykin@gmail.com> | 2017-01-28 18:45:41 +0300 |
---|---|---|
committer | David Seifert <soap@gentoo.org> | 2017-01-29 23:53:15 +0100 |
commit | ddccc15937e405717069c393f66aaea53fabb955 (patch) | |
tree | b491fff038d472d540de261b0b094c7c1a7d6e7b /media-video/mpv | |
parent | media-video/mpv: update egl USE description (diff) | |
download | gentoo-ddccc15937e405717069c393f66aaea53fabb955.tar.gz gentoo-ddccc15937e405717069c393f66aaea53fabb955.tar.bz2 gentoo-ddccc15937e405717069c393f66aaea53fabb955.zip |
media-video/mpv: notify users about new OSC layout since 0.21.0 in 9999
Nobody complained about new OSC layout since 0.21.0 (October 2016).
Thus don't bother ~arch users with it, but be nice to stable users.
Update softvol message to point to Gentoo wiki instead of bugzilla.
Gentoo mpv wiki page suffered a complete rewrite and became useful.
Version constraint at this point can be relaxed to just 0.18.1.
Package-Manager: Portage-2.3.3, Repoman-2.3.1
Closes: https://github.com/gentoo/gentoo/pull/3718
Diffstat (limited to 'media-video/mpv')
-rw-r--r-- | media-video/mpv/mpv-9999.ebuild | 25 |
1 files changed, 16 insertions, 9 deletions
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index 3158f6fd507d..145cb5b9153b 100644 --- a/media-video/mpv/mpv-9999.ebuild +++ b/media-video/mpv/mpv-9999.ebuild @@ -298,23 +298,30 @@ pkg_preinst() { } pkg_postinst() { - local rv softvol_0_18_1=0 + local rv softvol_0_18_1=0 osc_0_21_0=0 + for rv in ${REPLACING_VERSIONS}; do - version_compare ${rv} 0.18.1-r1 + version_compare ${rv} 0.18.1 [[ $? -eq 1 ]] && softvol_0_18_1=1 + version_compare ${rv} 0.21.0 + [[ $? -eq 1 ]] && osc_0_21_0=1 done if [[ ${softvol_0_18_1} -eq 1 ]]; then - 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" - elog "https://github.com/mpv-player/mpv/issues/3322" - elog + elog "Since version 0.18.1 the software volume control is always enabled." 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 "If you want to restore the previous behaviour, please refer to" + elog + elog "https://wiki.gentoo.org/wiki/Mpv#Volume_in_0.18.1" + elog + fi + + if [[ ${osc_0_21_0} -eq 1 ]]; then + elog "In version 0.21.0 the default OSC layout was changed." + elog "If you want to restore the previous layout, please refer to" elog - elog "https://bugs.gentoo.org/show_bug.cgi?id=588492#c7" + elog "https://wiki.gentoo.org/wiki/Mpv#OSC_in_0.21.0" elog fi |