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 D9075138331 for ; Wed, 21 Sep 2016 08:19:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 63072E0A69; Wed, 21 Sep 2016 08:19:41 +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 CC646E0A72 for ; Wed, 21 Sep 2016 08:19:40 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 55CCE340B63 for ; Wed, 21 Sep 2016 08:19:39 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D70992481 for ; Wed, 21 Sep 2016 08:19:36 +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: <1474445736.fafefd3cdab26d0b5d91953e92ef0e9ebfc7be44.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.6.ebuild X-VCS-Directories: app-shells/mpv-bash-completion/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: fafefd3cdab26d0b5d91953e92ef0e9ebfc7be44 X-VCS-Branch: master Date: Wed, 21 Sep 2016 08:19:36 +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: 8ef9b618-b949-4daa-9eb8-1434e0f5ee9b X-Archives-Hash: 2a01eba6b9da453c9fb65fa2d776ecc2 commit: fafefd3cdab26d0b5d91953e92ef0e9ebfc7be44 Author: Ilya Tumaykin gmail com> AuthorDate: Sun Sep 18 22:59:42 2016 +0000 Commit: Patrice Clement gentoo org> CommitDate: Wed Sep 21 08:15:36 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fafefd3c app-shells/mpv-bash-completion: verbump to 3.3.6. 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.6.ebuild | 48 ++++++++++++++++++++++ 2 files changed, 49 insertions(+) diff --git a/app-shells/mpv-bash-completion/Manifest b/app-shells/mpv-bash-completion/Manifest index 5d18c43..e2cc6dc 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.3.5.tar.gz 18485 SHA256 45239a4ed4370236c25e611296b992da34f6e7d65f69440f0a09096472c0a2af SHA512 8d1c0726984c9ef783f964da9434dc7f984407a3c2cbfc80b379f79875a199fcc1c80465371fbce6a966e608acac1be295e5adcd51414e87ddfb82e227337d98 WHIRLPOOL 09fb0de9c3944f8ff2af83bf7653732a7b6d8d27e8ff994e6962be85c9e27330d8e72612cbf08540da2f051a869fc3c731f8d79961704c9c33b0169f0a0617a4 +DIST mpv-bash-completion-3.3.6.tar.gz 18683 SHA256 81928813f380d2841f56e94471c2c66f2c11c0d39ca5f2c20fbbfb7a7cb47ca5 SHA512 70de2955c8c9f386cf3d7ea0c5f52e4fcf1ce70325556c889a4d07295e591fd557ea60e16906f00ca03c56927853ac8eda6f5e69cbd2b43069ced4c0a06d1008 WHIRLPOOL 9f6347d8fccef5c6adbcd0fb8d87791ecbf090f7cb13219e0565c2bdfe86ea8cd43bc2dc5038257bc0d55ffa4b37a1896dc4b24edb938d22427e496403ad822c diff --git a/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.6.ebuild b/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.6.ebuild new file mode 100644 index 00000000..862931b --- /dev/null +++ b/app-shells/mpv-bash-completion/mpv-bash-completion-3.3.6.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-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 + echo + elog "If you want completion of window sizes, please install 'x11-apps/xrandr'." + echo + fi +}