diff options
author | Ben de Groot <yngwin@gentoo.org> | 2013-03-01 11:27:48 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2013-03-01 11:27:48 +0000 |
commit | 6b09df50da629a3c73f9e1ffcc91978703fb3d43 (patch) | |
tree | f2b381da6de2e581989c4161a0d539dbad0bed71 /app-editors | |
parent | Stable for x86, wrt bug #459666 (diff) | |
download | gentoo-2-6b09df50da629a3c73f9e1ffcc91978703fb3d43.tar.gz gentoo-2-6b09df50da629a3c73f9e1ffcc91978703fb3d43.tar.bz2 gentoo-2-6b09df50da629a3c73f9e1ffcc91978703fb3d43.zip |
version bump
(Portage version: 2.2.0_alpha163/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/vim-qt/ChangeLog | 7 | ||||
-rw-r--r-- | app-editors/vim-qt/vim-qt-20130220.ebuild | 78 |
2 files changed, 84 insertions, 1 deletions
diff --git a/app-editors/vim-qt/ChangeLog b/app-editors/vim-qt/ChangeLog index 786d780c617e..eb68bb188bb4 100644 --- a/app-editors/vim-qt/ChangeLog +++ b/app-editors/vim-qt/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for app-editors/vim-qt # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-qt/ChangeLog,v 1.1 2013/02/01 19:43:29 yngwin Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-qt/ChangeLog,v 1.2 2013/03/01 11:27:48 yngwin Exp $ + +*vim-qt-20130220 (01 Mar 2013) + + 01 Mar 2013; Ben de Groot <yngwin@gentoo.org> +vim-qt-20130220.ebuild: + version bump *vim-qt-20130201 (01 Feb 2013) diff --git a/app-editors/vim-qt/vim-qt-20130220.ebuild b/app-editors/vim-qt/vim-qt-20130220.ebuild new file mode 100644 index 000000000000..fd42e8aa8fe8 --- /dev/null +++ b/app-editors/vim-qt/vim-qt-20130220.ebuild @@ -0,0 +1,78 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-qt/vim-qt-20130220.ebuild,v 1.1 2013/03/01 11:27:48 yngwin Exp $ + +EAPI=5 +PYTHON_COMPAT=( python{2_5,2_6,2_7} ) +PYTHON_REQ_USE="threads" +inherit eutils fdo-mime flag-o-matic python-any-r1 + +DESCRIPTION="Qt GUI version of the Vim text editor" +HOMEPAGE="https://bitbucket.org/equalsraf/vim-qt/wiki/Home" + +if [[ ${PV} == *9999* ]]; then + inherit git-2 + EGIT_REPO_URI="https://bitbucket.org/equalsraf/${PN}.git + git://github.com/equalsraf/${PN}.git + git://gitorious.org/${PN}/${PN}.git" + KEYWORDS="" +else + SRC_URI="https://github.com/equalsraf/${PN}/archive/package-${PV}.tar.gz -> ${P}.tar.gz" + KEYWORDS="~amd64 ~x86" + S="${WORKDIR}/${PN}-package-${PV}" +fi + +LICENSE="vim" +SLOT="0" +IUSE="acl cscope debug gpm nls perl python ruby" + +RDEPEND="app-admin/eselect-vi + >=app-editors/vim-core-7.3.762[acl?] + sys-libs/ncurses + >=x11-libs/qt-core-4.7.0:4 + >=x11-libs/qt-gui-4.7.0:4 + acl? ( kernel_linux? ( sys-apps/acl ) ) + cscope? ( dev-util/cscope ) + gpm? ( sys-libs/gpm ) + nls? ( virtual/libintl ) + perl? ( dev-lang/perl ) + python? ( ${PYTHON_DEPS} ) + ruby? ( || ( dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) )" +DEPEND="${RDEPEND}" + +pkg_setup() { + export LC_COLLATE="C" # prevent locale brokenness bug #82186 + use python && python-any-r1_pkg_setup +} + +src_configure() { + use debug && append-flags "-DDEBUG" + + local myconf="--with-features=huge --enable-multibyte" + myconf+=" $(use_enable acl)" + myconf+=" $(use_enable gpm)" + myconf+=" $(use_enable nls)" + myconf+=" $(use_enable perl perlinterp)" + myconf+=" $(use_enable python pythoninterp)" + myconf+=" $(use_enable ruby rubyinterp)" + myconf+=" --enable-gui=qt --with-vim-name=qvim --with-x" + + if ! use cscope ; then + sed -i -e '/# define FEAT_CSCOPE/d' src/feature.h || die 'sed failed' + fi + econf ${myconf} +} + +src_install() { + dobin src/qvim + doicon -s 64 src/qt/icons/vim-qt.png + make_desktop_entry qvim Vim-qt vim-qt "Qt;TextEditor;Development;" +} + +pkg_postinst() { + fdo-mime_mime_database_update +} + +pkg_postrm() { + fdo-mime_mime_database_update +} |