From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id CCA1613832E for ; Fri, 22 Jul 2016 13:05:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id AD8B1E0AB3; Fri, 22 Jul 2016 13:05:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EEEA4E0AB3 for ; Fri, 22 Jul 2016 13:05:43 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 52E9B340E79 for ; Fri, 22 Jul 2016 13:05:41 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 174E17D8 for ; Fri, 22 Jul 2016 13:05:39 +0000 (UTC) From: "Patrice Clement" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Patrice Clement" Message-ID: <1469192651.ee6a058d54196588ca077584fd03b36eaac8bd1d.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-shells/mpv-bash-completion/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-shells/mpv-bash-completion/Manifest app-shells/mpv-bash-completion/mpv-bash-completion-3.3.3.ebuild X-VCS-Directories: app-shells/mpv-bash-completion/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: ee6a058d54196588ca077584fd03b36eaac8bd1d X-VCS-Branch: master Date: Fri, 22 Jul 2016 13:05:39 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: fa0e5556-a2ff-4483-81fd-6284533d9eb4 X-Archives-Hash: 253e263d5740d4fb5f7ef0c4ccc02fac commit: ee6a058d54196588ca077584fd03b36eaac8bd1d Author: Ilya Tumaykin gmail com> AuthorDate: Wed Jul 20 17:01:30 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Fri Jul 22 13:04:11 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ee6a058d app-shells/mpv-bash-completion: verbump to 3.3.3 Package-Manager: portage-2.3.0 Signed-off-by: Patrice Clement gentoo.org> app-shells/mpv-bash-completion/Manifest | 1 + .../mpv-bash-completion-3.3.3.ebuild | 48 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/app-shells/mpv-bash-completion/Manifest b/app-shells/mpv-bash-completion/Manifest index d592350..0527b57 100644 --- a/app-shells/mpv-bash-completion/Manifest +++ b/app-shells/mpv-bash-completion/Manifest @@ -1,2 +1,3 @@ DIST mpv-bash-completion-0.17.tar.gz 15033 SHA256 a4c3be027ec52fef684a545a43c05f32cf512da93ae4a569d273e6e182b90ab1 SHA512 851a9f2b5e54f176fc7519a5fceace2b3281bef4062a48e108f17b83ccbd53e7b7545969be9cbccd3f093ba9ee65bd6736650f1b4d88997808a8b1df40d769eb WHIRLPOOL ba077f686d2e9ba4e819cf30f17cdca5b98b321e6c39b72a3bd7c1f5269da3d20abe7f610838a51b941fdba8c6636fc3eaae81f07fcd08f8f61f6262d2d0fab5 DIST mpv-bash-completion-3.0.tar.gz 16276 SHA256 15d1aebcd095c674fb4d9ad408280e4b30bfd6ab307af119f6774f8f9894176a SHA512 dde685909911e43f5d3d9a28ff8030e7377deabe372f0b2940d9200eae10a09eaf34c6ce0d31e896bd18e2a8d71eeb03405e9063c82fc7d608289ae979c54655 WHIRLPOOL bee90f487678caf61541ac7a80bd6ca473330921d9dea6857674edcd555a964c71d6d575d63d4015e707e6a66ddfe9982b4cb110fe8eaec5f0635aeae5923cc1 +DIST mpv-bash-completion-3.3.3.tar.gz 18314 SHA256 8f4d538b618bd89f3b55e7831863679f7583fd1175afc3cabd2b614a9e3b7f88 SHA512 97bb8926685abc62f8147da55c816aa47304819c87c4be0b47701bb5b5dede1eb4a008efa75a0894cbb14b5b92aace300169809d2fc37c1f1708dc3a99e6e278 WHIRLPOOL fe8ea9732e3a638e92790a9d705f0ad003ca9ab8e8a23dae302aaa1147c55c90178e8a99be8ab6e56e3f07b64fa118d3e2392cdc0878bafd63c637cd0df6efff diff --git a/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.3.ebuild b/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.3.ebuild new file mode 100644 index 0000000..fc46881 --- /dev/null +++ b/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.3.ebuild @@ -0,0 +1,48 @@ +# 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="luajit" + +COMMON_DEPEND="media-video/mpv[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 + echo + elog "If you want completion of window sizes, please install 'x11-apps/xrandr'." + echo + fi +}