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 3FEF2138334 for ; Tue, 13 Nov 2018 08:40:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1CD10E0A85; Tue, 13 Nov 2018 08:40:50 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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 D0BE5E0A85 for ; Tue, 13 Nov 2018 08:40:49 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 4404B335C95 for ; Tue, 13 Nov 2018 08:40:47 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 27387467 for ; Tue, 13 Nov 2018 08:40:45 +0000 (UTC) From: "José María Alonso" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "José María Alonso" Message-ID: <1542098433.e608227d2fa126db58625b933c66caff13c7a08f.nimiux@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.ebuild X-VCS-Directories: app-misc/vifm/ X-VCS-Committer: nimiux X-VCS-Committer-Name: José María Alonso X-VCS-Revision: e608227d2fa126db58625b933c66caff13c7a08f X-VCS-Branch: master Date: Tue, 13 Nov 2018 08:40:45 +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: 0930bd75-a1d6-4a17-a71c-d9ad75f4649f X-Archives-Hash: d929bea14cda85a21707bdae05bd8935 commit: e608227d2fa126db58625b933c66caff13c7a08f Author: Chema Alonso Josa gentoo org> AuthorDate: Tue Nov 13 08:40:33 2018 +0000 Commit: José María Alonso gentoo org> CommitDate: Tue Nov 13 08:40:33 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e608227d app-misc/vifm: Bump version to 0.10 Signed-off-by: José María Alonso gentoo.org> Package-Manager: Portage-2.3.40, Repoman-2.3.9 app-misc/vifm/Manifest | 1 + app-misc/vifm/vifm-0.10.ebuild | 102 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 103 insertions(+) diff --git a/app-misc/vifm/Manifest b/app-misc/vifm/Manifest index 324ba2e18bc..2ad3ece90cd 100644 --- a/app-misc/vifm/Manifest +++ b/app-misc/vifm/Manifest @@ -1,2 +1,3 @@ +DIST vifm-0.10.tar.bz2 1054361 BLAKE2B 81ec964b3bf236764976bcedb84c922eca0da650922b71fc1d6ef107ce51af9a4b1155fb699f800cca452e644345568af4cf17170dc15509393df529336b3959 SHA512 53f45824ffdbd987fecd3a7f7b6d6c5da036aeb3ddbb219d7665a63cae55d68db608239055b18b88a721b39002fcf57cbfd88aa366cffb02ca5f2eb94a206eb2 DIST vifm-0.9.1.tar.bz2 1002758 BLAKE2B 8eb9cc4c299877485bb4a44d95fe2412e196686399a6246bc1b5036dbc34ecbcf1cd43d1d55bdacdcc099a65e03f589f360d39ee38da4e12bff0a4bfcbdd180b SHA512 a30457329bf9501efd7e9e0853107b5ecd653ab70e7081764677d035bd0f61876bc96b35bea5258153d68b7be075091168331be79d7398f94353f73bbf78933d DIST vifm-0.9.tar.bz2 971539 BLAKE2B 5d6dd8c399e38886ab3e2d548b93492bf31b464e5661c6f6d54504701bf1eab8338155a9ddc9b220c4cb2a67417d5622094e9ffb717ddf594984fe475214af60 SHA512 5ae2b03e672bd9a7f95a5c59141dabac8bc7946a4e307d6a3df70bdb52e1f7665b960a3d20709c811cbfbcf76f7836d23b5edb191968e5277fb705a291ab3a9a diff --git a/app-misc/vifm/vifm-0.10.ebuild b/app-misc/vifm/vifm-0.10.ebuild new file mode 100644 index 00000000000..24a2c7f576d --- /dev/null +++ b/app-misc/vifm/vifm-0.10.ebuild @@ -0,0 +1,102 @@ +# Copyright 1999-2018 Gentoo Foundation +# 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 +}