diff options
author | Ilya Tumaykin <itumaykin@gmail.com> | 2017-05-30 20:59:44 +0300 |
---|---|---|
committer | Michael Palimaka <kensington@gentoo.org> | 2017-06-12 02:55:46 +1000 |
commit | 3d2fe2d094750126975bf3ce3881a0d830cd00b2 (patch) | |
tree | 902482696ef8bb42864e2d358fb0b8408d594a5b /media-video | |
parent | media-video/mpv: install changelogs in 9999 (diff) | |
download | gentoo-3d2fe2d094750126975bf3ce3881a0d830cd00b2.tar.gz gentoo-3d2fe2d094750126975bf3ce3881a0d830cd00b2.tar.bz2 gentoo-3d2fe2d094750126975bf3ce3881a0d830cd00b2.zip |
media-video/mpv: warn users re txt subs change in 0.24.0
Intended for stable users only.
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/mpv/mpv-9999.ebuild | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild index adc9c06740df..51104143d760 100644 --- a/media-video/mpv/mpv-9999.ebuild +++ b/media-video/mpv/mpv-9999.ebuild @@ -295,13 +295,15 @@ pkg_preinst() { } pkg_postinst() { - local rv softvol_0_18_1=0 osc_0_21_0=0 opengl_0_25_0=0 + local rv softvol_0_18_1=0 osc_0_21_0=0 txtsubs_0_24_0=0 opengl_0_25_0=0 for rv in ${REPLACING_VERSIONS}; do 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 + version_compare ${rv} 0.24.0 + [[ $? -eq 1 ]] && txtsubs_0_24_0=1 version_compare ${rv} 0.25.0 [[ $? -eq 1 ]] && ! use opengl && opengl_0_25_0=1 done @@ -324,6 +326,14 @@ pkg_postinst() { elog fi + if [[ ${txtsubs_0_24_0} -eq 1 ]]; then + elog "Since version 0.24.0 subtitles with .txt extension aren't autoloaded." + elog "If you want to restore the previous behaviour, please refer to" + elog + elog "https://wiki.gentoo.org/wiki/Mpv#Subtitles_with_.txt_extension_in_0.24.0" + elog + fi + if [[ ${opengl_0_25_0} -eq 1 ]]; then elog "Since version 0.25.0 the 'opengl' USE flag is mapped to" elog "the 'opengl' video output and no longer explicitly requires" |