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 25795138334 for ; Tue, 1 Oct 2019 21:38:36 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 57458E09A7; Tue, 1 Oct 2019 21:38:35 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 2CCEBE09A7 for ; Tue, 1 Oct 2019 21:38:35 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 7A96234B77B for ; Tue, 1 Oct 2019 21:38:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4B75A828 for ; Tue, 1 Oct 2019 21:38:31 +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: <1569965699.d35717db8f1a8b10b2f4d57a7fa979a41b2f4de1.monsieurp@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/vifm/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/vifm/Manifest app-misc/vifm/vifm-0.10.1.ebuild X-VCS-Directories: app-misc/vifm/ X-VCS-Committer: monsieurp X-VCS-Committer-Name: Patrice Clement X-VCS-Revision: d35717db8f1a8b10b2f4d57a7fa979a41b2f4de1 X-VCS-Branch: master Date: Tue, 1 Oct 2019 21:38:31 +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-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 40746d19-a687-4425-a222-e7763e0f6fd7 X-Archives-Hash: ef86ce8a7ca01598611df5feb3ba81f8 commit: d35717db8f1a8b10b2f4d57a7fa979a41b2f4de1 Author: Patrice Clement gentoo org> AuthorDate: Tue Oct 1 21:34:59 2019 +0000 Commit: Patrice Clement gentoo org> CommitDate: Tue Oct 1 21:34:59 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d35717db app-misc/vifm: version bump. Signed-off-by: Patrice Clement gentoo.org> Package-Manager: Portage-2.3.62, Repoman-2.3.11 app-misc/vifm/Manifest | 1 + app-misc/vifm/vifm-0.10.1.ebuild | 102 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 103 insertions(+) diff --git a/app-misc/vifm/Manifest b/app-misc/vifm/Manifest index 590905335c1..3dabcccfb47 100644 --- a/app-misc/vifm/Manifest +++ b/app-misc/vifm/Manifest @@ -1,2 +1,3 @@ +DIST vifm-0.10.1.tar.bz2 1097998 BLAKE2B b9712d61a00761986aa54d9bc561a5125ae96f751e8ba2844adae91577ba093b1a4860071b57ab81dbed3eb52c2c91ce3316831fa44a06436ef5fa81d2739f3a SHA512 8116c4c31b01a9453684a90b26b87a33e5ec2cd2930162869507f673319d231f44e464d1056239f647531c3be5bc9bcf92045c79e5d545f9c75be11c7fe03ea2 DIST vifm-0.10.tar.bz2 1054361 BLAKE2B 81ec964b3bf236764976bcedb84c922eca0da650922b71fc1d6ef107ce51af9a4b1155fb699f800cca452e644345568af4cf17170dc15509393df529336b3959 SHA512 53f45824ffdbd987fecd3a7f7b6d6c5da036aeb3ddbb219d7665a63cae55d68db608239055b18b88a721b39002fcf57cbfd88aa366cffb02ca5f2eb94a206eb2 DIST vifm-0.9.1.tar.bz2 1002758 BLAKE2B 8eb9cc4c299877485bb4a44d95fe2412e196686399a6246bc1b5036dbc34ecbcf1cd43d1d55bdacdcc099a65e03f589f360d39ee38da4e12bff0a4bfcbdd180b SHA512 a30457329bf9501efd7e9e0853107b5ecd653ab70e7081764677d035bd0f61876bc96b35bea5258153d68b7be075091168331be79d7398f94353f73bbf78933d diff --git a/app-misc/vifm/vifm-0.10.1.ebuild b/app-misc/vifm/vifm-0.10.1.ebuild new file mode 100644 index 00000000000..721045586d7 --- /dev/null +++ b/app-misc/vifm/vifm-0.10.1.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit autotools vim-doc versionator xdg-utils + +MY_P=$(replace_version_separator 4 '-' ${PF}) + +DESCRIPTION="Console file manager with vi(m)-like keybindings" +HOMEPAGE="https://vifm.info/" +SRC_URI="mirror://sourceforge/vifm/${MY_P}.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="X developer +extended-keys gtk +magic vim vim-syntax" + +DEPEND=" + >=sys-libs/ncurses-5.9-r3:0 + magic? ( sys-apps/file ) + gtk? ( x11-libs/gtk+:2 ) + X? ( x11-libs/libX11 ) +" +RDEPEND=" + ${DEPEND} + vim? ( || ( app-editors/vim app-editors/gvim ) ) + vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) +" + +DOCS="AUTHORS FAQ NEWS README TODO" + +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + sed -i -e '/stat.h/a#include ' "${S}/src/modes/file_info.c" \ + || die + eautoreconf +} + +src_configure() { + econf \ + $(use_enable developer) \ + $(use_enable extended-keys) \ + $(use_with magic libmagic) \ + $(use_with gtk) \ + $(use_with X X11) +} + +src_compile() { + default +} + +src_install() { + emake DESTDIR="${D}" install + dodoc ${DOCS} + + if use vim; then + local t + for t in app plugin; do + insinto /usr/share/vim/vimfiles/"${t}" + doins "${S}"/data/vim/doc/"${t}"/"${PN}"* + done + fi + + if use vim-syntax; then + local t + for t in ftdetect ftplugin syntax; do + insinto /usr/share/vim/vimfiles/"${t}" + doins "${S}"/data/vim/"${t}"/"${PN}".vim + done + fi +} + +src_test() { + emake check +} + +pkg_postinst() { + xdg_desktop_database_update + if use vim; then + update_vim_helptags + + if [[ -n ${REPLACING_VERSIONS} ]]; then + elog + elog "You don't need to copy or link any files for" + elog " the vim plugin and documentation to work anymore." + elog "If you copied any vifm files to ~/.vim/ manually" + elog " in earlier vifm versions, please delete them." + fi + elog + elog "To use vim in vifm to view the documentation" + elog " edit ~/.vifm/vifmrc and set vimhelp instead of novimhelp" + elog + fi +} + +pkg_postrm() { + xdg_desktop_database_update + use vim && update_vim_helptags +}