From: | "Ben de Groot (yngwin)" <yngwin@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in app-editors/vim-qt: vim-qt-20130220.ebuild ChangeLog |
Date: | Fri, 01 Mar 2013 11:27:53 |
Message-Id: | 20130301112749.005252171D@flycatcher.gentoo.org |
1 | yngwin 13/03/01 11:27:48 |
2 | |
3 | Modified: ChangeLog |
4 | Added: vim-qt-20130220.ebuild |
5 | Log: |
6 | version bump |
7 | |
8 | (Portage version: 2.2.0_alpha163/cvs/Linux x86_64, unsigned Manifest commit) |
9 | |
10 | Revision Changes Path |
11 | 1.2 app-editors/vim-qt/ChangeLog |
12 | |
13 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/vim-qt/ChangeLog?rev=1.2&view=markup |
14 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/vim-qt/ChangeLog?rev=1.2&content-type=text/plain |
15 | diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/vim-qt/ChangeLog?r1=1.1&r2=1.2 |
16 | |
17 | Index: ChangeLog |
18 | =================================================================== |
19 | RCS file: /var/cvsroot/gentoo-x86/app-editors/vim-qt/ChangeLog,v |
20 | retrieving revision 1.1 |
21 | retrieving revision 1.2 |
22 | diff -u -r1.1 -r1.2 |
23 | --- ChangeLog 1 Feb 2013 19:43:29 -0000 1.1 |
24 | +++ ChangeLog 1 Mar 2013 11:27:48 -0000 1.2 |
25 | @@ -1,6 +1,11 @@ |
26 | # ChangeLog for app-editors/vim-qt |
27 | # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 |
28 | -# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-qt/ChangeLog,v 1.1 2013/02/01 19:43:29 yngwin Exp $ |
29 | +# $Header: /var/cvsroot/gentoo-x86/app-editors/vim-qt/ChangeLog,v 1.2 2013/03/01 11:27:48 yngwin Exp $ |
30 | + |
31 | +*vim-qt-20130220 (01 Mar 2013) |
32 | + |
33 | + 01 Mar 2013; Ben de Groot <yngwin@g.o> +vim-qt-20130220.ebuild: |
34 | + version bump |
35 | |
36 | *vim-qt-20130201 (01 Feb 2013) |
37 | |
38 | |
39 | |
40 | |
41 | 1.1 app-editors/vim-qt/vim-qt-20130220.ebuild |
42 | |
43 | file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/vim-qt/vim-qt-20130220.ebuild?rev=1.1&view=markup |
44 | plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-editors/vim-qt/vim-qt-20130220.ebuild?rev=1.1&content-type=text/plain |
45 | |
46 | Index: vim-qt-20130220.ebuild |
47 | =================================================================== |
48 | # Copyright 1999-2013 Gentoo Foundation |
49 | # Distributed under the terms of the GNU General Public License v2 |
50 | # $Header: /var/cvsroot/gentoo-x86/app-editors/vim-qt/vim-qt-20130220.ebuild,v 1.1 2013/03/01 11:27:48 yngwin Exp $ |
51 | |
52 | EAPI=5 |
53 | PYTHON_COMPAT=( python{2_5,2_6,2_7} ) |
54 | PYTHON_REQ_USE="threads" |
55 | inherit eutils fdo-mime flag-o-matic python-any-r1 |
56 | |
57 | DESCRIPTION="Qt GUI version of the Vim text editor" |
58 | HOMEPAGE="https://bitbucket.org/equalsraf/vim-qt/wiki/Home" |
59 | |
60 | if [[ ${PV} == *9999* ]]; then |
61 | inherit git-2 |
62 | EGIT_REPO_URI="https://bitbucket.org/equalsraf/${PN}.git |
63 | git://github.com/equalsraf/${PN}.git |
64 | git://gitorious.org/${PN}/${PN}.git" |
65 | KEYWORDS="" |
66 | else |
67 | SRC_URI="https://github.com/equalsraf/${PN}/archive/package-${PV}.tar.gz -> ${P}.tar.gz" |
68 | KEYWORDS="~amd64 ~x86" |
69 | S="${WORKDIR}/${PN}-package-${PV}" |
70 | fi |
71 | |
72 | LICENSE="vim" |
73 | SLOT="0" |
74 | IUSE="acl cscope debug gpm nls perl python ruby" |
75 | |
76 | RDEPEND="app-admin/eselect-vi |
77 | >=app-editors/vim-core-7.3.762[acl?] |
78 | sys-libs/ncurses |
79 | >=x11-libs/qt-core-4.7.0:4 |
80 | >=x11-libs/qt-gui-4.7.0:4 |
81 | acl? ( kernel_linux? ( sys-apps/acl ) ) |
82 | cscope? ( dev-util/cscope ) |
83 | gpm? ( sys-libs/gpm ) |
84 | nls? ( virtual/libintl ) |
85 | perl? ( dev-lang/perl ) |
86 | python? ( ${PYTHON_DEPS} ) |
87 | ruby? ( || ( dev-lang/ruby:1.9 dev-lang/ruby:1.8 ) )" |
88 | DEPEND="${RDEPEND}" |
89 | |
90 | pkg_setup() { |
91 | export LC_COLLATE="C" # prevent locale brokenness bug #82186 |
92 | use python && python-any-r1_pkg_setup |
93 | } |
94 | |
95 | src_configure() { |
96 | use debug && append-flags "-DDEBUG" |
97 | |
98 | local myconf="--with-features=huge --enable-multibyte" |
99 | myconf+=" $(use_enable acl)" |
100 | myconf+=" $(use_enable gpm)" |
101 | myconf+=" $(use_enable nls)" |
102 | myconf+=" $(use_enable perl perlinterp)" |
103 | myconf+=" $(use_enable python pythoninterp)" |
104 | myconf+=" $(use_enable ruby rubyinterp)" |
105 | myconf+=" --enable-gui=qt --with-vim-name=qvim --with-x" |
106 | |
107 | if ! use cscope ; then |
108 | sed -i -e '/# define FEAT_CSCOPE/d' src/feature.h || die 'sed failed' |
109 | fi |
110 | econf ${myconf} |
111 | } |
112 | |
113 | src_install() { |
114 | dobin src/qvim |
115 | doicon -s 64 src/qt/icons/vim-qt.png |
116 | make_desktop_entry qvim Vim-qt vim-qt "Qt;TextEditor;Development;" |
117 | } |
118 | |
119 | pkg_postinst() { |
120 | fdo-mime_mime_database_update |
121 | } |
122 | |
123 | pkg_postrm() { |
124 | fdo-mime_mime_database_update |
125 | } |