summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2013-10-25 16:34:26 +0000
committerBen de Groot <yngwin@gentoo.org>2013-10-25 16:34:26 +0000
commit2896e3c7a09637f91bb725ff13f40c6665557d7b (patch)
treec644d67f9dccc26fa25ee6625059825bd2603431 /app-editors/vim-qt
parentStable for x86, wrt bug #489374 (diff)
downloadgentoo-2-2896e3c7a09637f91bb725ff13f40c6665557d7b.tar.gz
gentoo-2-2896e3c7a09637f91bb725ff13f40c6665557d7b.tar.bz2
gentoo-2-2896e3c7a09637f91bb725ff13f40c6665557d7b.zip
version bump
(Portage version: 2.2.7/cvs/Linux x86_64, signed Manifest commit with key 0x2B2474AD43CE296E!)
Diffstat (limited to 'app-editors/vim-qt')
-rw-r--r--app-editors/vim-qt/ChangeLog8
-rw-r--r--app-editors/vim-qt/metadata.xml3
-rw-r--r--app-editors/vim-qt/vim-qt-20131004.ebuild88
3 files changed, 98 insertions, 1 deletions
diff --git a/app-editors/vim-qt/ChangeLog b/app-editors/vim-qt/ChangeLog
index 56bfac12fd6e..ff8d2d5ad08c 100644
--- a/app-editors/vim-qt/ChangeLog
+++ b/app-editors/vim-qt/ChangeLog
@@ -1,6 +1,12 @@
# 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.5 2013/10/16 12:20:28 mgorny Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-qt/ChangeLog,v 1.6 2013/10/25 16:34:26 yngwin Exp $
+
+*vim-qt-20131004 (25 Oct 2013)
+
+ 25 Oct 2013; Ben de Groot <yngwin@gentoo.org> +vim-qt-20131004.ebuild,
+ metadata.xml:
+ version bump
*vim-qt-20130201-r1 (16 Oct 2013)
*vim-qt-20130220-r1 (16 Oct 2013)
diff --git a/app-editors/vim-qt/metadata.xml b/app-editors/vim-qt/metadata.xml
index 3cbebd85b7e2..1cca6173e11c 100644
--- a/app-editors/vim-qt/metadata.xml
+++ b/app-editors/vim-qt/metadata.xml
@@ -2,4 +2,7 @@
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<herd>qt</herd>
+ <use>
+ <flag name='luajit'>Use <pkg>dev-lang/luajit</pkg> instead of <pkg>dev-lang/lua</pkg></flag>
+ </use>
</pkgmetadata>
diff --git a/app-editors/vim-qt/vim-qt-20131004.ebuild b/app-editors/vim-qt/vim-qt-20131004.ebuild
new file mode 100644
index 000000000000..085fdea9b0b3
--- /dev/null
+++ b/app-editors/vim-qt/vim-qt-20131004.ebuild
@@ -0,0 +1,88 @@
+# 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-20131004.ebuild,v 1.1 2013/10/25 16:34:26 yngwin Exp $
+
+EAPI=5
+PYTHON_COMPAT=( python{2_6,2_7} )
+PYTHON_REQ_USE="threads"
+inherit eutils fdo-mime flag-o-matic python-single-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 lua luajit nls perl python ruby"
+
+RDEPEND="app-admin/eselect-vi
+ >=app-editors/vim-core-7.4.22[acl?]
+ sys-libs/ncurses
+ >=dev-qt/qtcore-4.7.0:4
+ >=dev-qt/qtgui-4.7.0:4
+ acl? ( kernel_linux? ( sys-apps/acl ) )
+ cscope? ( dev-util/cscope )
+ gpm? ( sys-libs/gpm )
+ lua? ( luajit? ( dev-lang/luajit )
+ !luajit? ( dev-lang/lua ) )
+ nls? ( virtual/libintl )
+ perl? ( dev-lang/perl )
+ python? ( ${PYTHON_DEPS} )
+ ruby? ( || ( dev-lang/ruby:2.0 dev-lang/ruby:1.9 ) )"
+DEPEND="${RDEPEND}
+ dev-util/ctags
+ sys-devel/autoconf
+ virtual/pkgconfig
+ nls? ( sys-devel/gettext )"
+
+REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
+
+pkg_setup() {
+ export LC_COLLATE="C" # prevent locale brokenness bug #82186
+ use python && python-single-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 lua luainterp)"
+ myconf+=" $(use_with luajit)"
+ 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
+}