1 |
commit: 7342ee42e0463b3d779265a8bb47b04b6a53c5ff |
2 |
Author: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun May 26 18:50:09 2019 +0000 |
4 |
Commit: Sobhan Mohammadpour <sobhan <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun May 26 18:50:36 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7342ee42 |
7 |
|
8 |
app-editors/gedit-plugins: 3.30.1 → 3.32.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.66, Repoman-2.3.12 |
11 |
Signed-off-by: Sobhan Mohammadpour <sobhan <AT> gentoo.org> |
12 |
|
13 |
app-editors/gedit-plugins/Manifest | 1 + |
14 |
.../gedit-plugins/gedit-plugins-3.32.2.ebuild | 93 ++++++++++++++++++++++ |
15 |
2 files changed, 94 insertions(+) |
16 |
|
17 |
diff --git a/app-editors/gedit-plugins/Manifest b/app-editors/gedit-plugins/Manifest |
18 |
index dc578628c94..cbaa2f79279 100644 |
19 |
--- a/app-editors/gedit-plugins/Manifest |
20 |
+++ b/app-editors/gedit-plugins/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST gedit-plugins-3.30.1.tar.xz 1354644 BLAKE2B ee42fb2fe47c9219442e0bbdaf21a14a834b8bc38558713ccf0ad384814812fd71f4d318624b4d2c149b26d304203a2b954ef49c3299877f4d067ae181bfe1d5 SHA512 0e777779288b51015d7ab539bf896a00d5226560f2cc2211daf777da87824eed858255318c421524933a540135e4bfdcc294ba7ed89f680a35aa48f7279cbc94 |
23 |
+DIST gedit-plugins-3.32.2.tar.xz 1474264 BLAKE2B feb116ec201b9eb9630570818cc288f0044ecfc174fc84c7d812aa6dfba5cc3748b4e2351ffa2be0d3a593a58b2318c4296b54b84476fc887195ee27f27bb597 SHA512 2767bc766daba5e1c81ef5a00bc3589a301c02e0286a6622cf11a03b5b391ecbcf9456187563dad4f2916610ee9ddca4414ff4beb639820954385ee3f8091d2a |
24 |
|
25 |
diff --git a/app-editors/gedit-plugins/gedit-plugins-3.32.2.ebuild b/app-editors/gedit-plugins/gedit-plugins-3.32.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..2d7024b86e3 |
28 |
--- /dev/null |
29 |
+++ b/app-editors/gedit-plugins/gedit-plugins-3.32.2.ebuild |
30 |
@@ -0,0 +1,93 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI="6" |
35 |
+GNOME2_LA_PUNT="yes" # plugins are dlopened |
36 |
+PYTHON_COMPAT=( python3_{5,6} ) |
37 |
+PYTHON_REQ_USE="xml" |
38 |
+VALA_MIN_API_VERSION="0.28" |
39 |
+ |
40 |
+inherit eutils gnome2 multilib python-single-r1 vala |
41 |
+ |
42 |
+DESCRIPTION="Official plugins for gedit" |
43 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Gedit/ShippedPlugins" |
44 |
+ |
45 |
+LICENSE="GPL-2+" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+SLOT="0" |
48 |
+ |
49 |
+IUSE_plugins="charmap git terminal vala" |
50 |
+IUSE="+python ${IUSE_plugins}" |
51 |
+# python-single-r1 would request disabling PYTHON_TARGETS on libpeas |
52 |
+REQUIRED_USE=" |
53 |
+ charmap? ( python ) |
54 |
+ git? ( python ) |
55 |
+ python? ( ${PYTHON_REQUIRED_USE} ) |
56 |
+ terminal? ( python ) |
57 |
+" |
58 |
+ |
59 |
+RDEPEND=" |
60 |
+ >=app-editors/gedit-3.16 |
61 |
+ >=dev-libs/glib-2.32:2 |
62 |
+ >=dev-libs/libpeas-1.7.0[gtk] |
63 |
+ >=x11-libs/gtk+-3.9:3 |
64 |
+ >=x11-libs/gtksourceview-4.0.2:4 |
65 |
+ python? ( |
66 |
+ ${PYTHON_DEPS} |
67 |
+ >=app-editors/gedit-3.16[introspection,python,${PYTHON_USEDEP}] |
68 |
+ dev-libs/libpeas[python,${PYTHON_USEDEP}] |
69 |
+ >=dev-python/dbus-python-0.82[${PYTHON_USEDEP}] |
70 |
+ dev-python/pycairo[${PYTHON_USEDEP}] |
71 |
+ dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] |
72 |
+ >=x11-libs/gtk+-3.9:3[introspection] |
73 |
+ >=x11-libs/gtksourceview-3.14:3.0[introspection] |
74 |
+ x11-libs/pango[introspection] |
75 |
+ x11-libs/gdk-pixbuf:2[introspection] |
76 |
+ ) |
77 |
+ charmap? ( >=gnome-extra/gucharmap-3:2.90[introspection] ) |
78 |
+ git? ( >=dev-libs/libgit2-glib-0.0.6 ) |
79 |
+ terminal? ( >=x11-libs/vte-0.52:2.91[introspection] ) |
80 |
+ vala? ( $(vala_depend) ) |
81 |
+" # vte-0.52+ for feed_child API compatibility |
82 |
+DEPEND="${RDEPEND} |
83 |
+ dev-util/itstool |
84 |
+ >=sys-devel/gettext-0.19.8 |
85 |
+ virtual/pkgconfig |
86 |
+" |
87 |
+ |
88 |
+pkg_setup() { |
89 |
+ use python && [[ ${MERGE_TYPE} != binary ]] && python-single-r1_pkg_setup |
90 |
+} |
91 |
+ |
92 |
+src_prepare() { |
93 |
+ use vala && vala_src_prepare |
94 |
+ gnome2_src_prepare |
95 |
+} |
96 |
+ |
97 |
+src_configure() { |
98 |
+ gnome2_src_configure \ |
99 |
+ $(use_enable python) \ |
100 |
+ $(use_enable vala) |
101 |
+} |
102 |
+ |
103 |
+src_install() { |
104 |
+ gnome2_src_install |
105 |
+ |
106 |
+ # FIXME: crazy !!! |
107 |
+ if use python; then |
108 |
+ find "${ED}"/usr/share/gedit -name "*.py*" -delete || die |
109 |
+ find "${ED}"/usr/share/gedit -type d -empty -delete || die |
110 |
+ fi |
111 |
+ |
112 |
+ # FIXME: upstream made this automagic... |
113 |
+ clean_plugin charmap |
114 |
+ clean_plugin git |
115 |
+ clean_plugin terminal |
116 |
+} |
117 |
+ |
118 |
+clean_plugin() { |
119 |
+ if use !${1} ; then |
120 |
+ rm -rf "${ED}"/usr/share/gedit/plugins/${1}* |
121 |
+ rm -rf "${ED}"/usr/$(get_libdir)/gedit/plugins/${1}* |
122 |
+ fi |
123 |
+} |