Gentoo Archives: gentoo-commits

From: Ian Delaney <idella4@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-video/mpv/
Date: Wed, 27 Apr 2016 15:26:17
Message-Id: 1461770760.1f6942f87b1a1517b1f65936e399ac3a8ba38f3b.idella4@gentoo
1 commit: 1f6942f87b1a1517b1f65936e399ac3a8ba38f3b
2 Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
3 AuthorDate: Wed Apr 27 11:57:35 2016 +0000
4 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
5 CommitDate: Wed Apr 27 15:26:00 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f6942f8
7
8 media-video/mpv: elog re bash completion
9
10 Polynomial-C made a request via #gentoo-proxy-maint IRC channel to
11 notify zsh users about mpv-bash-completion too. After some discussion
12 this change seems reasonable.
13
14 This effectively reverts 8e81330.
15
16 Package-Manager: portage-2.2.28
17
18 Signed-off-by: Ian Delaney <idella4 <AT> gentoo.org>
19
20 media-video/mpv/mpv-0.17.0-r2.ebuild | 5 ++---
21 media-video/mpv/mpv-9999.ebuild | 5 ++---
22 2 files changed, 4 insertions(+), 6 deletions(-)
23
24 diff --git a/media-video/mpv/mpv-0.17.0-r2.ebuild b/media-video/mpv/mpv-0.17.0-r2.ebuild
25 index 495b748..6d56557 100644
26 --- a/media-video/mpv/mpv-0.17.0-r2.ebuild
27 +++ b/media-video/mpv/mpv-0.17.0-r2.ebuild
28 @@ -281,9 +281,8 @@ pkg_postinst() {
29 fdo-mime_desktop_database_update
30 gnome2_icon_cache_update
31
32 - # bash-completion prior to 2.3-r1 installs (mostly broken) mpv completion.
33 - if use cli && ! use zsh-completion && \
34 - ! has_version '<app-shells/bash-completion-2.3-r1' && \
35 + # bash-completion < 2.3-r1 already installs (mostly broken) mpv completion.
36 + if use cli && ! has_version '<app-shells/bash-completion-2.3-r1' && \
37 ! has_version 'app-shells/mpv-bash-completion'; then
38 elog "If you want to have command-line completion via bash-completion,"
39 elog "please install app-shells/mpv-bash-completion."
40
41 diff --git a/media-video/mpv/mpv-9999.ebuild b/media-video/mpv/mpv-9999.ebuild
42 index 5cfce9c..ff0cecd 100644
43 --- a/media-video/mpv/mpv-9999.ebuild
44 +++ b/media-video/mpv/mpv-9999.ebuild
45 @@ -267,9 +267,8 @@ pkg_postinst() {
46 fdo-mime_desktop_database_update
47 gnome2_icon_cache_update
48
49 - # bash-completion prior to 2.3-r1 installs (mostly broken) mpv completion.
50 - if use cli && ! use zsh-completion && \
51 - ! has_version '<app-shells/bash-completion-2.3-r1' && \
52 + # bash-completion < 2.3-r1 already installs (mostly broken) mpv completion.
53 + if use cli && ! has_version '<app-shells/bash-completion-2.3-r1' && \
54 ! has_version 'app-shells/mpv-bash-completion'; then
55 elog "If you want to have command-line completion via bash-completion,"
56 elog "please install app-shells/mpv-bash-completion."