Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: app-editors/gedit-plugins/
Date: Sun, 01 Dec 2013 18:42:25
Message-Id: 1385923204.9d1b6622493c74cd73f8740f721eebc725480261.eva@gentoo
1 commit: 9d1b6622493c74cd73f8740f721eebc725480261
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Sun Dec 1 17:40:25 2013 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Sun Dec 1 18:40:04 2013 +0000
6 URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=9d1b6622
7
8 app-editors/gedit-plugins: 3.8.3-r1 → 3.10.0
9
10 ---
11 .../gedit-plugins/gedit-plugins-3.10.0.ebuild | 72 ++++++++++++++++++++++
12 1 file changed, 72 insertions(+)
13
14 diff --git a/app-editors/gedit-plugins/gedit-plugins-3.10.0.ebuild b/app-editors/gedit-plugins/gedit-plugins-3.10.0.ebuild
15 new file mode 100644
16 index 0000000..eefab59
17 --- /dev/null
18 +++ b/app-editors/gedit-plugins/gedit-plugins-3.10.0.ebuild
19 @@ -0,0 +1,72 @@
20 +# Copyright 1999-2013 Gentoo Foundation
21 +# Distributed under the terms of the GNU General Public License v2
22 +# $Header: $
23 +
24 +EAPI="5"
25 +GCONF_DEBUG="no"
26 +GNOME2_LA_PUNT="yes" # plugins are dlopened
27 +PYTHON_COMPAT=( python3_{2,3} )
28 +PYTHON_REQ_USE="xml"
29 +
30 +inherit eutils gnome2 multilib python-r1
31 +
32 +DESCRIPTION="Official plugins for gedit"
33 +HOMEPAGE="http://live.gnome.org/GeditPlugins"
34 +
35 +LICENSE="GPL-2+"
36 +KEYWORDS="~amd64 ~x86"
37 +SLOT="0"
38 +
39 +IUSE_plugins="charmap git terminal"
40 +IUSE="+python ${IUSE_plugins}"
41 +REQUIRED_USE="
42 + charmap? ( python )
43 + git? ( python )
44 + terminal? ( python )
45 + python? ( ${REQUIRED_PYTHON_USE} )
46 +"
47 +
48 +RDEPEND="
49 + >=app-editors/gedit-3.9[python?]
50 + >=dev-libs/glib-2.32:2
51 + >=dev-libs/libpeas-1.7.0[gtk,python?]
52 + >=x11-libs/gtk+-3.9:3
53 + >=x11-libs/gtksourceview-3.9.2:3.0
54 + python? (
55 + ${PYTHON_DEPS}
56 + >=app-editors/gedit-3[introspection,${PYTHON_USEDEP}]
57 + dev-libs/libpeas[${PYTHON_USEDEP}]
58 + dev-python/dbus-python[${PYTHON_USEDEP}]
59 + dev-python/pycairo
60 + dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
61 + >=x11-libs/gtk+-3.9:3[introspection]
62 + >=x11-libs/gtksourceview-3.9.2:3.0[introspection]
63 + x11-libs/pango[introspection]
64 + x11-libs/gdk-pixbuf:2[introspection]
65 + )
66 + charmap? ( >=gnome-extra/gucharmap-3:2.90[introspection] )
67 + git? ( >=dev-libs/libgit2-glib-0.0.6 )
68 + terminal? ( x11-libs/vte:2.90[introspection] )
69 +"
70 +DEPEND="${RDEPEND}
71 + >=dev-util/intltool-0.40.0
72 + sys-devel/gettext
73 + virtual/pkgconfig
74 +"
75 +
76 +src_configure() {
77 + # DEFAULT_PLUGINS from configure.ac
78 + local myplugins="bookmarks,drawspaces,wordcompletion"
79 +
80 + # python plugins with no extra dependencies beyond what USE=python brings
81 + use python && myplugins="${myplugins},bracketcompletion,codecomment,colorpicker,colorschemer,commander,dashboard,joinlines,multiedit,textsize,smartspaces,synctex"
82 +
83 + # python plugins with extra dependencies
84 + for plugin in ${IUSE_plugins/+}; do
85 + use ${plugin} && myplugins="${myplugins},${plugin}"
86 + done
87 +
88 + gnome2_src_configure \
89 + --with-plugins=${myplugins} \
90 + $(use_enable python)
91 +}