1 |
commit: 5aeb293b8561ce9cdb9db10d28584b32d02ef23f |
2 |
Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
3 |
AuthorDate: Fri Nov 23 22:12:49 2012 +0000 |
4 |
Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org> |
5 |
CommitDate: Fri Nov 23 22:13:16 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/gnome.git;a=commit;h=5aeb293b |
7 |
|
8 |
app-editors/gedit-plugins: 3.4.0 → 3.6.1 |
9 |
|
10 |
--- |
11 |
.../gedit-plugins/gedit-plugins-3.6.1.ebuild | 90 ++++++++++++++++++++ |
12 |
app-editors/gedit-plugins/metadata.xml | 11 +++ |
13 |
2 files changed, 101 insertions(+), 0 deletions(-) |
14 |
|
15 |
diff --git a/app-editors/gedit-plugins/gedit-plugins-3.6.1.ebuild b/app-editors/gedit-plugins/gedit-plugins-3.6.1.ebuild |
16 |
new file mode 100644 |
17 |
index 0000000..edb76b6 |
18 |
--- /dev/null |
19 |
+++ b/app-editors/gedit-plugins/gedit-plugins-3.6.1.ebuild |
20 |
@@ -0,0 +1,90 @@ |
21 |
+# Copyright 1999-2012 Gentoo Foundation |
22 |
+# Distributed under the terms of the GNU General Public License v2 |
23 |
+# $Header: /var/cvsroot/gentoo-x86/app-editors/gedit-plugins/gedit-plugins-3.4.0.ebuild,v 1.3 2012/05/03 18:33:02 jdhore Exp $ |
24 |
+ |
25 |
+EAPI="4" |
26 |
+GCONF_DEBUG="no" |
27 |
+GNOME2_LA_PUNT="yes" # plugins are dlopened |
28 |
+PYTHON_DEPEND="python? 2:2.6" |
29 |
+PYTHON_USE_WITH="xml" |
30 |
+PYTHON_USE_WITH_OPT="python" |
31 |
+ |
32 |
+inherit eutils gnome2 multilib python |
33 |
+ |
34 |
+DESCRIPTION="Offical plugins for gedit" |
35 |
+HOMEPAGE="http://live.gnome.org/GeditPlugins" |
36 |
+ |
37 |
+LICENSE="GPL-2" |
38 |
+KEYWORDS="~amd64 ~x86" |
39 |
+SLOT="0" |
40 |
+ |
41 |
+IUSE_plugins="charmap terminal" |
42 |
+IUSE="+python ${IUSE_plugins}" |
43 |
+REQUIRED_USE="charmap? ( python ) terminal? ( python )" |
44 |
+ |
45 |
+RDEPEND=">=app-editors/gedit-3.2.1[python?] |
46 |
+ >=dev-libs/glib-2.32:2 |
47 |
+ >=dev-libs/libpeas-0.7.3[gtk,python?] |
48 |
+ >=x11-libs/gtk+-3.4:3 |
49 |
+ >=x11-libs/gtksourceview-3:3.0 |
50 |
+ python? ( |
51 |
+ >=app-editors/gedit-3[introspection] |
52 |
+ dev-python/dbus-python |
53 |
+ dev-python/pycairo |
54 |
+ || ( |
55 |
+ dev-python/pygobject:2[cairo,introspection] |
56 |
+ dev-python/pygobject:3[cairo] ) |
57 |
+ >=x11-libs/gtk+-3.4:3[introspection] |
58 |
+ >=x11-libs/gtksourceview-3:3.0[introspection] |
59 |
+ x11-libs/pango[introspection] |
60 |
+ x11-libs/gdk-pixbuf:2[introspection] |
61 |
+ ) |
62 |
+ charmap? ( >=gnome-extra/gucharmap-3:2.90[introspection] ) |
63 |
+ terminal? ( x11-libs/vte:2.90[introspection] ) |
64 |
+" |
65 |
+DEPEND="${RDEPEND} |
66 |
+ >=dev-util/intltool-0.40.0 |
67 |
+ sys-devel/gettext |
68 |
+ virtual/pkgconfig |
69 |
+" |
70 |
+ |
71 |
+pkg_setup() { |
72 |
+ # DEFAULT_PLUGINS from configure.ac |
73 |
+ local myplugins="bookmarks,drawspaces,wordcompletion,taglist" |
74 |
+ |
75 |
+ # python plugins with no extra dependencies beyond what USE=python brings |
76 |
+ use python && myplugins="${myplugins},bracketcompletion,codecomment,colorpicker,commander,dashboard,joinlines,multiedit,textsize,sessionsaver,smartspaces,synctex" |
77 |
+ |
78 |
+ # python plugins with extra dependencies |
79 |
+ for plugin in ${IUSE_plugins/+}; do |
80 |
+ use ${plugin} && myplugins="${myplugins},${plugin}" |
81 |
+ done |
82 |
+ |
83 |
+ python_set_active_version 2 |
84 |
+ python_pkg_setup |
85 |
+} |
86 |
+ |
87 |
+src_prepare() { |
88 |
+ DOCS="AUTHORS ChangeLog* NEWS README" |
89 |
+ G2CONF="${G2CONF} |
90 |
+ --with-plugins=${myplugins} |
91 |
+ $(use_enable python)" |
92 |
+ |
93 |
+ gnome2_src_prepare |
94 |
+ |
95 |
+ # disable pyc compiling |
96 |
+ use python && python_clean_py-compile_files |
97 |
+} |
98 |
+ |
99 |
+pkg_postinst() { |
100 |
+ gnome2_pkg_postinst |
101 |
+ if use python; then |
102 |
+ python_need_rebuild |
103 |
+ python_mod_optimize /usr/{$(get_libdir),share}/gedit/plugins |
104 |
+ fi |
105 |
+} |
106 |
+ |
107 |
+pkg_postrm() { |
108 |
+ gnome2_pkg_postrm |
109 |
+ use python && python_mod_cleanup /usr/{$(get_libdir),share}/gedit/plugins |
110 |
+} |
111 |
|
112 |
diff --git a/app-editors/gedit-plugins/metadata.xml b/app-editors/gedit-plugins/metadata.xml |
113 |
new file mode 100644 |
114 |
index 0000000..387fb8a |
115 |
--- /dev/null |
116 |
+++ b/app-editors/gedit-plugins/metadata.xml |
117 |
@@ -0,0 +1,11 @@ |
118 |
+<?xml version="1.0" encoding="UTF-8"?> |
119 |
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
120 |
+<pkgmetadata> |
121 |
+ <herd>gnome</herd> |
122 |
+ <longdescription>Official plugins for gedit</longdescription> |
123 |
+ <use> |
124 |
+ <flag name="charmap">Insert special characters just by clicking on |
125 |
+ them</flag> |
126 |
+ <flag name="terminal">Embed a terminal in the bottom pane</flag> |
127 |
+ </use> |
128 |
+</pkgmetadata> |