You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-shells/mpv-bash-completion/mpv-bash-completion-0.16.eb...

36 lines
677 B

# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Id$
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=""
DEPEND="
media-video/mpv[cli]
!<app-shells/bash-4
"
RDEPEND="${DEPEND}
>=app-shells/bash-completion-2.3-r1
"
PATCHES=( "${FILESDIR}/${P}-fix-no-flag-options-completion.patch" )
src_compile() {
"${S}"/gen.sh > ${PN} || die
}
src_install() {
einstalldocs
newbashcomp ${PN} mpv
}