diff options
author | Ben de Groot <yngwin@gentoo.org> | 2013-02-01 19:43:29 +0000 |
---|---|---|
committer | Ben de Groot <yngwin@gentoo.org> | 2013-02-01 19:43:29 +0000 |
commit | 069ee889cbae656f98401aef0792e889c07c8c94 (patch) | |
tree | f9caa166eba98a30d62f41749122e50a62166102 /app-editors/vim-qt | |
parent | Stable for ppc, wrt bug #454906 (diff) | |
download | gentoo-2-069ee889cbae656f98401aef0792e889c07c8c94.tar.gz gentoo-2-069ee889cbae656f98401aef0792e889c07c8c94.tar.bz2 gentoo-2-069ee889cbae656f98401aef0792e889c07c8c94.zip |
Initial commit from qt overlay
(Portage version: 2.2.0_alpha161/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'app-editors/vim-qt')
-rw-r--r-- | app-editors/vim-qt/ChangeLog | 9 | ||||
-rw-r--r-- | app-editors/vim-qt/Manifest | 3 | ||||
-rw-r--r-- | app-editors/vim-qt/metadata.xml | 5 | ||||
-rw-r--r-- | app-editors/vim-qt/vim-qt-20130201.ebuild | 78 |
4 files changed, 95 insertions, 0 deletions
diff --git a/app-editors/vim-qt/ChangeLog b/app-editors/vim-qt/ChangeLog new file mode 100644 index 000000000000..786d780c617e --- /dev/null +++ b/app-editors/vim-qt/ChangeLog @@ -0,0 +1,9 @@ +# 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 $ + +*vim-qt-20130201 (01 Feb 2013) + + 01 Feb 2013; Ben de Groot <yngwin@gentoo.org> +metadata.xml, + +vim-qt-20130201.ebuild: + Initial commit from qt overlay diff --git a/app-editors/vim-qt/Manifest b/app-editors/vim-qt/Manifest new file mode 100644 index 000000000000..fc99e2907263 --- /dev/null +++ b/app-editors/vim-qt/Manifest @@ -0,0 +1,3 @@ +DIST vim-qt-20130201.tar.gz 11620051 SHA256 676bc4a98d25fd80a3e4a3fdf60db26b1417e8a87eacbd8f03c464c4e68a2639 SHA512 9e9c3b16968b800598f47e9e9c81e8c7e13acf720c933883e704aa390980aa47bda2727714caf1aad27228e5a0e3b4eb0ecd19fc56961b49cc07936a272f6463 WHIRLPOOL 6acd6e6e8d889124cad94dfb8be01a2a64402cdaaee6fcfbd3e822e5a2692d4c326b42916a10937c4bfda3cb1c1cba629d1610f24fb9766b5fd2b0c6013a2895 +EBUILD vim-qt-20130201.ebuild 2041 SHA256 10179f833e3dc8b586a5cbe2267f7fc3c71501809e906ef24734149827032de5 SHA512 a8d6832dbf1c0060461cf075725eef78400481d9309526c45a9af68234ec321821b400accf8ef2edef28d8a0df7104182dfd4b45ea7dcf8e4500ff054a712378 WHIRLPOOL 8b313aaf549974a20146046b4ffdeae384118fba1e28e875e6710730e7ba01d54973a96850ff0fefb551f2b0aee27747c3738a186c8f4a95ddeac9791dd22de8 +MISC metadata.xml 157 SHA256 a2ffc792d4df94c3f8088e329c4bf74804540c2797f3e24ab0030acbdfd4b535 SHA512 9f259ee8df00db96dd396c6c886624c53728c3e26f28071cc1f9a286798271cdfac3485a081d308c93ff3067cb6568f9ea55ca164334abeee776491307244213 WHIRLPOOL bcb16b3d9ab21125e5581aed1225d2b399015d76bc7c6f9deae53e2e38fffdc47e0b5aae9bd632e85db242a37b4de5aa05d6f97c087cad085df9390530a0a597 diff --git a/app-editors/vim-qt/metadata.xml b/app-editors/vim-qt/metadata.xml new file mode 100644 index 000000000000..3cbebd85b7e2 --- /dev/null +++ b/app-editors/vim-qt/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>qt</herd> +</pkgmetadata> diff --git a/app-editors/vim-qt/vim-qt-20130201.ebuild b/app-editors/vim-qt/vim-qt-20130201.ebuild new file mode 100644 index 000000000000..e47756f2adf9 --- /dev/null +++ b/app-editors/vim-qt/vim-qt-20130201.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-20130201.ebuild,v 1.1 2013/02/01 19:43:29 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 +} |