1 |
commit: 471ebe4be566d220cd63994b7eff89fe333868c1 |
2 |
Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com> |
3 |
AuthorDate: Sun Aug 20 15:51:48 2017 +0000 |
4 |
Commit: Patrice Clement <monsieurp <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 29 20:15:39 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=471ebe4b |
7 |
|
8 |
app-shells/mpv-bash-completion: verbump to 3.3.15. |
9 |
|
10 |
Package-Manager: Portage-2.3.8, Repoman-2.3.3 |
11 |
Closes: https://github.com/gentoo/gentoo/pull/5488 |
12 |
|
13 |
app-shells/mpv-bash-completion/Manifest | 1 + |
14 |
.../mpv-bash-completion-3.3.15.ebuild | 47 ++++++++++++++++++++++ |
15 |
2 files changed, 48 insertions(+) |
16 |
|
17 |
diff --git a/app-shells/mpv-bash-completion/Manifest b/app-shells/mpv-bash-completion/Manifest |
18 |
index 65b955225a4..8f15adfae75 100644 |
19 |
--- a/app-shells/mpv-bash-completion/Manifest |
20 |
+++ b/app-shells/mpv-bash-completion/Manifest |
21 |
@@ -1,2 +1,3 @@ |
22 |
DIST mpv-bash-completion-3.3.12.tar.gz 19310 SHA256 9291ef730af6f69cc0efc82e88d170d43d79266a1500461b08719130507870ef SHA512 f019e9a66072333b40213437f07097cacb9f01a1f322fded763e695ef5ef4656016ca07fcb402d406fd99785026dba1fc7292a2c04a14ac18a24557bb8ab2cd1 WHIRLPOOL 96db10c112767d8c8e648a989f416cb02123018e8406842ee27bfc603f5f6ca9ee6360f6aa46a19e14a194f44d510eb971219b10bb598785720c3a6f23047f6c |
23 |
DIST mpv-bash-completion-3.3.13.tar.gz 19726 SHA256 65172975bfca59f9921afd9788c1e1532c734c068a6af21517eeec63b9a1ea34 SHA512 0f9301447c4f1d9443106e01c602a17f8d3ea62eacf63be807157c7b39a08d54c3cacb3a103fc8f77bc88dd71df433fe7bcb6c09bd3b9aeaa685c407c64cc3c7 WHIRLPOOL 3a1696dcf3cce68186e3fbee5f90982daaadf7fd238d022722b3e7d363a17551e066b953e08e40aac762d587d4cb839f3c704ac379572b62ad29ff5acba89779 |
24 |
+DIST mpv-bash-completion-3.3.15.tar.gz 19830 SHA256 1c3f4a6b95de7b573db3480dc79f7359207f7c95d31ac7368f6f5c84e9176ed8 SHA512 d4e263bb7c21f80b962bac9f1b01c594d5038d7a7095af0e7702dc5688fd69a9de1b5d8976f24d7a652a8fba4ceaf3ea2a81c771e7ea704807aeac0c526a09f6 WHIRLPOOL 740dc9f3e43031cba115b8c23bd7ac8d000f10f0a6e7a89144437c39b085d20dc09b47d540772afe7b2743cd444d71cda6231c795602fe9d262e8a699a4cdb77 |
25 |
|
26 |
diff --git a/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.15.ebuild b/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.15.ebuild |
27 |
new file mode 100644 |
28 |
index 00000000000..cc0b326cb44 |
29 |
--- /dev/null |
30 |
+++ b/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.15.ebuild |
31 |
@@ -0,0 +1,47 @@ |
32 |
+# Copyright 1999-2017 Gentoo Foundation |
33 |
+# Distributed under the terms of the GNU General Public License v2 |
34 |
+ |
35 |
+EAPI=6 |
36 |
+ |
37 |
+inherit bash-completion-r1 |
38 |
+ |
39 |
+DESCRIPTION="Bash completion for the mpv video player" |
40 |
+HOMEPAGE="https://2ion.github.io/mpv-bash-completion/" |
41 |
+SRC_URI="https://github.com/2ion/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" |
42 |
+ |
43 |
+LICENSE="GPL-3+" |
44 |
+SLOT="0" |
45 |
+KEYWORDS="~amd64" |
46 |
+IUSE="luajit" |
47 |
+ |
48 |
+COMMON_DEPEND=">=media-video/mpv-0.25.0[cli]" |
49 |
+RDEPEND="${COMMON_DEPEND} |
50 |
+ >=app-shells/bash-completion-2.3-r1 |
51 |
+" |
52 |
+DEPEND="${COMMON_DEPEND} |
53 |
+ !luajit? ( dev-lang/lua:* ) |
54 |
+ luajit? ( dev-lang/luajit:2 ) |
55 |
+" |
56 |
+ |
57 |
+src_prepare() { |
58 |
+ default_src_prepare |
59 |
+ # Avoid 'mpv' make target that supports lua only. |
60 |
+ sed -i -e 's|check: mpv|check:|' Makefile || die |
61 |
+} |
62 |
+ |
63 |
+src_compile() { |
64 |
+ $(usex luajit 'luajit' 'lua') gen.lua > mpv || die |
65 |
+} |
66 |
+ |
67 |
+src_install() { |
68 |
+ dobashcomp mpv |
69 |
+ einstalldocs |
70 |
+} |
71 |
+ |
72 |
+pkg_postinst() { |
73 |
+ if ! has_version 'x11-apps/xrandr'; then |
74 |
+ elog |
75 |
+ elog "If you want completion of window sizes, please install 'x11-apps/xrandr'." |
76 |
+ elog |
77 |
+ fi |
78 |
+} |