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: Tue, 26 Apr 2016 15:33:41
Message-Id: 1461684803.8e8133070565261b08a479a93892b0d0d9885df3.idella4@gentoo
1 commit: 8e8133070565261b08a479a93892b0d0d9885df3
2 Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
3 AuthorDate: Tue Apr 26 10:04:04 2016 +0000
4 Commit: Ian Delaney <idella4 <AT> gentoo <DOT> org>
5 CommitDate: Tue Apr 26 15:33:23 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e813307
7
8 media-video/mpv: don't bother zsh users with bash completion in 0.17.0-r2
9
10 Package-Manager: portage-2.2.28
11
12 Signed-off-by: Ian Delaney <idella4 <AT> gentoo.org>
13
14 media-video/mpv/mpv-0.17.0-r2.ebuild | 3 ++-
15 1 file changed, 2 insertions(+), 1 deletion(-)
16
17 diff --git a/media-video/mpv/mpv-0.17.0-r2.ebuild b/media-video/mpv/mpv-0.17.0-r2.ebuild
18 index 33a5f17..495b748 100644
19 --- a/media-video/mpv/mpv-0.17.0-r2.ebuild
20 +++ b/media-video/mpv/mpv-0.17.0-r2.ebuild
21 @@ -282,7 +282,8 @@ pkg_postinst() {
22 gnome2_icon_cache_update
23
24 # bash-completion prior to 2.3-r1 installs (mostly broken) mpv completion.
25 - if use cli && ! has_version '<app-shells/bash-completion-2.3-r1' && \
26 + if use cli && ! use zsh-completion && \
27 + ! has_version '<app-shells/bash-completion-2.3-r1' && \
28 ! has_version 'app-shells/mpv-bash-completion'; then
29 elog "If you want to have command-line completion via bash-completion,"
30 elog "please install app-shells/mpv-bash-completion."