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 063C61382C5 for ; Sat, 27 Jan 2018 18:56:49 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 64670E0986; Sat, 27 Jan 2018 18:56:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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 33B5BE0986 for ; Sat, 27 Jan 2018 18:56:48 +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 F28E2335C09 for ; Sat, 27 Jan 2018 18:56:46 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 892481BB for ; Sat, 27 Jan 2018 18:56: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: <1517079400.056e5b524c5a60709f4aa7a6f1c3062128d45f05.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.9.1_beta.ebuild X-VCS-Directories: app-misc/vifm/ X-VCS-Committer: nimiux X-VCS-Committer-Name: José María Alonso X-VCS-Revision: 056e5b524c5a60709f4aa7a6f1c3062128d45f05 X-VCS-Branch: master Date: Sat, 27 Jan 2018 18:56: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: 7f5b3eec-d26b-4fce-841e-929bb458f075 X-Archives-Hash: 2974c394fa08e6972c76feaf596d70a2 commit: 056e5b524c5a60709f4aa7a6f1c3062128d45f05 Author: Chema Alonso Josa gentoo org> AuthorDate: Sat Jan 27 18:56:16 2018 +0000 Commit: José María Alonso gentoo org> CommitDate: Sat Jan 27 18:56:40 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=056e5b52 app-misc/vifm: Bumps version to 0.9.1_beta Package-Manager: Portage-2.3.19, Repoman-2.3.6 app-misc/vifm/Manifest | 1 + app-misc/vifm/vifm-0.9.1_beta.ebuild | 102 +++++++++++++++++++++++++++++++++++ 2 files changed, 103 insertions(+) diff --git a/app-misc/vifm/Manifest b/app-misc/vifm/Manifest index 13340a615a2..0c267eb9172 100644 --- a/app-misc/vifm/Manifest +++ b/app-misc/vifm/Manifest @@ -1,2 +1,3 @@ DIST vifm-0.7.2.tar.bz2 468086 BLAKE2B a83b1f43eb3f6e47afd5a7c810741468857c602b80cad5c91d2033eea9e1f1efb09e19ca7b02f39e93f8f7186b4cb6fb0627f98a30c054a0d7d71d1b454698d8 SHA512 24a5ad44cecd01f489b95008f0b98ad6cd63656bc7fe4a888101f369f9b258cb87b8025efac30237fbaebc7aff14d173d02118839312017276f3f6b62ea4a3b9 +DIST vifm-0.9.1-beta.tar.bz2 1002371 BLAKE2B 435b50294a623e1e0bc1f98b2f4687bb9e85934178c540fda89a8e0d8ff32e9ea1a944cc7fb39190ca741d57e4c5abbd5a46e776d0115cf3892452bff565bb15 SHA512 c8516acf069fb88f8cfc0db663623ab37caf34277b7fd4d07759deb026c11ac70a7d438e419fc8f5d545e2e25b8e9cc40f8220c3b415c97a8e7e8b9d132bdb0c DIST vifm-0.9.tar.bz2 971539 BLAKE2B 5d6dd8c399e38886ab3e2d548b93492bf31b464e5661c6f6d54504701bf1eab8338155a9ddc9b220c4cb2a67417d5622094e9ffb717ddf594984fe475214af60 SHA512 5ae2b03e672bd9a7f95a5c59141dabac8bc7946a4e307d6a3df70bdb52e1f7665b960a3d20709c811cbfbcf76f7836d23b5edb191968e5277fb705a291ab3a9a diff --git a/app-misc/vifm/vifm-0.9.1_beta.ebuild b/app-misc/vifm/vifm-0.9.1_beta.ebuild new file mode 100644 index 00000000000..283cc2139c3 --- /dev/null +++ b/app-misc/vifm/vifm-0.9.1_beta.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="http://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() { + sed -i -e '/stat.h/a#include ' "${S}/src/modes/file_info.c" \ + || die + eapply_user + 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 +}