summaryrefslogtreecommitdiff
path: root/app-shells/mpv-bash-completion
diff options
context:
space:
mode:
Diffstat (limited to 'app-shells/mpv-bash-completion')
-rw-r--r--app-shells/mpv-bash-completion/Manifest6
-rw-r--r--app-shells/mpv-bash-completion/metadata.xml19
-rw-r--r--app-shells/mpv-bash-completion/mpv-bash-completion-3.3.12.ebuild47
-rw-r--r--app-shells/mpv-bash-completion/mpv-bash-completion-3.3.15.ebuild47
4 files changed, 119 insertions, 0 deletions
diff --git a/app-shells/mpv-bash-completion/Manifest b/app-shells/mpv-bash-completion/Manifest
new file mode 100644
index 000000000000..8d2b42262616
--- /dev/null
+++ b/app-shells/mpv-bash-completion/Manifest
@@ -0,0 +1,6 @@
+DIST mpv-bash-completion-3.3.12.tar.gz 19310 SHA256 9291ef730af6f69cc0efc82e88d170d43d79266a1500461b08719130507870ef SHA512 f019e9a66072333b40213437f07097cacb9f01a1f322fded763e695ef5ef4656016ca07fcb402d406fd99785026dba1fc7292a2c04a14ac18a24557bb8ab2cd1 WHIRLPOOL 96db10c112767d8c8e648a989f416cb02123018e8406842ee27bfc603f5f6ca9ee6360f6aa46a19e14a194f44d510eb971219b10bb598785720c3a6f23047f6c
+DIST mpv-bash-completion-3.3.15.tar.gz 19830 SHA256 1c3f4a6b95de7b573db3480dc79f7359207f7c95d31ac7368f6f5c84e9176ed8 SHA512 d4e263bb7c21f80b962bac9f1b01c594d5038d7a7095af0e7702dc5688fd69a9de1b5d8976f24d7a652a8fba4ceaf3ea2a81c771e7ea704807aeac0c526a09f6 WHIRLPOOL 740dc9f3e43031cba115b8c23bd7ac8d000f10f0a6e7a89144437c39b085d20dc09b47d540772afe7b2743cd444d71cda6231c795602fe9d262e8a699a4cdb77
+EBUILD mpv-bash-completion-3.3.12.ebuild 1011 SHA256 3efcbf73c517f6d5147d660191d36531c9b084bef4b3a793d66681dbd7aa0e82 SHA512 4a32d4d8cc9fe52735bacba4b351522b702a7daf01eb74662f2c935952d1d005f1c3c7be1229bc183d477fa12071ef6688b80061d03ea2e7b98a495ea78479f6 WHIRLPOOL 7c418c1b5af7b3c6185f9800abdc0348a551c414b103472b6feacc125259b2ce5c2624b1bc831c51408df18053dcb543b53000b28a6117d9f8cc6cc8bfa738f4
+EBUILD mpv-bash-completion-3.3.15.ebuild 1012 SHA256 743d40de9db8e50ffc968be4419877ddfcee5754f82a79825e5f445cad8d3e8b SHA512 612b2af3a767013de5cd392be076fe6cf70e3863928b5048ef60faba7edd7ccbacc3e40ef568206a6e9065d9309f6af723d18c84d3ef4ef3cd424fe62c7ebbaa WHIRLPOOL f3ab8cbf2b7997440c1c0e4691b865a878cc95328abee762678b783e619583d20c855c7bdacef913419b5e401bbf2f500f5a4fe9ba04200b24f298cb2a08dbf1
+MISC ChangeLog 4743 SHA256 6e2e8288ed0576a1c4153e1430596ddb3febcce70c13216ad6292bd1982bcf70 SHA512 d409b1699c949fbf68ffaa7811247b96e2baba1283dea8535c7c0453d1cc95e640af2a7c3328de45c33fbf763be3bba68d9903b95f29a499b6733e3426904769 WHIRLPOOL c77628457d2fcefa74d8c38f690ebd47d7876142339db9cfbc583087b6779a292d2fd35be66f67ec87bd77ac6e21402ed2d94e657941c3929c6da7e84362999f
+MISC metadata.xml 643 SHA256 efaea7fcbd73ae56724c730600ec7cb55baea6a8a34b28d8a30750f5f9fc039b SHA512 8f27bb84763dbeb1b45290b6a0ff6ede7d5a3e15513d1ccbdbb544bf20a324c8cd687a517b50823320f5f0ddc7b8a71efe7cadb29ed3ca1fa4a1c43500f6ca76 WHIRLPOOL 6c2b2179cc89e5fce95bb973a34b9442519b45757b6278eaf7826453a1c36c2ad19a78e380f1c31d76eafe5c04fa302b95badfdc77fc234a7aa176fac6237f37
diff --git a/app-shells/mpv-bash-completion/metadata.xml b/app-shells/mpv-bash-completion/metadata.xml
new file mode 100644
index 000000000000..9c81b8770e4c
--- /dev/null
+++ b/app-shells/mpv-bash-completion/metadata.xml
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>itumaykin+gentoo@gmail.com</email>
+ <name>Coacher</name>
+ </maintainer>
+ <maintainer type="project">
+ <email>proxy-maint@gentoo.org</email>
+ <name>Proxy Maintainers</name>
+ </maintainer>
+ <use>
+ <flag name="luajit">Use <pkg>dev-lang/luajit</pkg> instead of <pkg>dev-lang/lua</pkg></flag>
+ </use>
+ <upstream>
+ <changelog>https://github.com/2ion/mpv-bash-completion/releases</changelog>
+ <remote-id type="github">2ion/mpv-bash-completion</remote-id>
+ </upstream>
+</pkgmetadata>
diff --git a/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.12.ebuild b/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.12.ebuild
new file mode 100644
index 000000000000..73163ee89721
--- /dev/null
+++ b/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.12.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1
+
+DESCRIPTION="Bash completion for the mpv video player"
+HOMEPAGE="https://2ion.github.io/mpv-bash-completion/"
+SRC_URI="https://github.com/2ion/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="amd64"
+IUSE="luajit"
+
+COMMON_DEPEND=">=media-video/mpv-0.14.0[cli]"
+RDEPEND="${COMMON_DEPEND}
+ >=app-shells/bash-completion-2.3-r1
+"
+DEPEND="${COMMON_DEPEND}
+ !luajit? ( dev-lang/lua:* )
+ luajit? ( dev-lang/luajit:2 )
+"
+
+src_prepare() {
+ default_src_prepare
+ # Avoid 'mpv' make target that supports lua only.
+ sed -i -e 's|check: mpv|check:|' Makefile || die
+}
+
+src_compile() {
+ $(usex luajit 'luajit' 'lua') gen.lua > mpv || die
+}
+
+src_install() {
+ dobashcomp mpv
+ einstalldocs
+}
+
+pkg_postinst() {
+ if ! has_version 'x11-apps/xrandr'; then
+ elog
+ elog "If you want completion of window sizes, please install 'x11-apps/xrandr'."
+ elog
+ fi
+}
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
new file mode 100644
index 000000000000..cc0b326cb44d
--- /dev/null
+++ b/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.15.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit bash-completion-r1
+
+DESCRIPTION="Bash completion for the mpv video player"
+HOMEPAGE="https://2ion.github.io/mpv-bash-completion/"
+SRC_URI="https://github.com/2ion/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-3+"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="luajit"
+
+COMMON_DEPEND=">=media-video/mpv-0.25.0[cli]"
+RDEPEND="${COMMON_DEPEND}
+ >=app-shells/bash-completion-2.3-r1
+"
+DEPEND="${COMMON_DEPEND}
+ !luajit? ( dev-lang/lua:* )
+ luajit? ( dev-lang/luajit:2 )
+"
+
+src_prepare() {
+ default_src_prepare
+ # Avoid 'mpv' make target that supports lua only.
+ sed -i -e 's|check: mpv|check:|' Makefile || die
+}
+
+src_compile() {
+ $(usex luajit 'luajit' 'lua') gen.lua > mpv || die
+}
+
+src_install() {
+ dobashcomp mpv
+ einstalldocs
+}
+
+pkg_postinst() {
+ if ! has_version 'x11-apps/xrandr'; then
+ elog
+ elog "If you want completion of window sizes, please install 'x11-apps/xrandr'."
+ elog
+ fi
+}