Gentoo Archives: gentoo-commits

From: Alexandre Rostovtsev <tetromino@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/gedit-plugins/
Date: Tue, 28 Jun 2016 03:47:23
Message-Id: 1467085610.3d0c339f4bb4f152f645503c2d12facbc2274f0c.tetromino@gentoo
1 commit: 3d0c339f4bb4f152f645503c2d12facbc2274f0c
2 Author: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jun 28 03:45:13 2016 +0000
4 Commit: Alexandre Rostovtsev <tetromino <AT> gentoo <DOT> org>
5 CommitDate: Tue Jun 28 03:46:50 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d0c339f
7
8 app-editors/gedit-plugins: bump to 3.20.0 for gnome-3.20
9
10 Package-Manager: portage-2.3.0
11
12 app-editors/gedit-plugins/Manifest | 1 +
13 .../gedit-plugins/gedit-plugins-3.20.0.ebuild | 98 ++++++++++++++++++++++
14 2 files changed, 99 insertions(+)
15
16 diff --git a/app-editors/gedit-plugins/Manifest b/app-editors/gedit-plugins/Manifest
17 index 89092db..3abf1c6 100644
18 --- a/app-editors/gedit-plugins/Manifest
19 +++ b/app-editors/gedit-plugins/Manifest
20 @@ -1,2 +1,3 @@
21 DIST gedit-plugins-3.16.0.tar.xz 1280064 SHA256 b685b84ada8ca04f6aa201e402a0208591be4a37b874595a0a85d0a14b52f191 SHA512 336d57bf9a25bb70cf63bb4ea6e81215381e91a04126429fd4f930596ed1731ceb8ed36b091757fb6729ba032bd8af083a3ec056a2e91f7abddc505282e511e2 WHIRLPOOL a5ef32695c8b7bbe0fd19a53496d7390d306e9587a0228cfb0151ff59eb0d127ba85e7c481403fb6fb3aaf14fb95428c6b60d5b65cafcecab230edc2733bc918
22 DIST gedit-plugins-3.18.0.tar.xz 1366868 SHA256 e25249c0c2a057827bb4d4755a2359e1f9b4de288e0c4e201c6ef4f0e0e8c580 SHA512 8ce705c3263492c699f2504c178f81760e0d3d153dff0bdadbf39c240d77951e887534f586a3b340904dc11c9bf55424861dd43395a3ae8eadfa5752a4d168ca WHIRLPOOL de69a801e7b68ca42a2b2dd588452ba8a3e62bf39199e4662a10c4d557173f4ec8b7f145f1530de7a607740bf3c06ddd942af85e0d27a3fc7e4b013433a1e9e0
23 +DIST gedit-plugins-3.20.0.tar.xz 1344188 SHA256 d4902af5f9f728e0d692ca8c2f7a9f88f6c2ab8c9be037238ffb7d3aebe757bf SHA512 de0466c8031ed9cfa95487e9ff67dc45f1110c47d5b7655a1aef8a84d896184e062dfd9177325b2221d9e2d6ad04c1fa4368a74c07a2257aa548ea2a5b958f17 WHIRLPOOL 3c949864a7b3fb8d30adc0e0cda56d0ccbae46b0711f02b7c45050247b597963cbd2d3b38db187204d85f51eb33c95eacc1bf35eb502b1e572b80cb03f7ee50f
24
25 diff --git a/app-editors/gedit-plugins/gedit-plugins-3.20.0.ebuild b/app-editors/gedit-plugins/gedit-plugins-3.20.0.ebuild
26 new file mode 100644
27 index 0000000..91fdfc7
28 --- /dev/null
29 +++ b/app-editors/gedit-plugins/gedit-plugins-3.20.0.ebuild
30 @@ -0,0 +1,98 @@
31 +# Copyright 1999-2016 Gentoo Foundation
32 +# Distributed under the terms of the GNU General Public License v2
33 +# $Id$
34 +
35 +EAPI="6"
36 +GNOME2_LA_PUNT="yes" # plugins are dlopened
37 +PYTHON_COMPAT=( python3_{3,4,5} )
38 +PYTHON_REQ_USE="xml"
39 +VALA_MIN_API_VERSION="0.28"
40 +
41 +inherit eutils gnome2 multilib python-r1 vala
42 +
43 +DESCRIPTION="Official plugins for gedit"
44 +HOMEPAGE="https://wiki.gnome.org/Apps/Gedit/ShippedPlugins"
45 +
46 +LICENSE="GPL-2+"
47 +KEYWORDS="~amd64 ~x86"
48 +SLOT="0"
49 +
50 +IUSE_plugins="charmap git terminal vala zeitgeist"
51 +IUSE="+python ${IUSE_plugins}"
52 +# python-single-r1 would request disabling PYTHON_TARGETS on libpeas
53 +REQUIRED_USE="
54 + charmap? ( python )
55 + git? ( python )
56 + python? ( ^^ ( $(python_gen_useflags '*') ) )
57 + terminal? ( python )
58 + zeitgeist? ( python )
59 +"
60 +
61 +RDEPEND="
62 + >=app-editors/gedit-3.16[python?]
63 + >=dev-libs/glib-2.32:2
64 + >=dev-libs/libpeas-1.7.0[gtk,python?]
65 + >=x11-libs/gtk+-3.9:3
66 + >=x11-libs/gtksourceview-3.17.3:3.0
67 + python? (
68 + ${PYTHON_DEPS}
69 + >=app-editors/gedit-3.16[introspection,${PYTHON_USEDEP}]
70 + dev-libs/libpeas[${PYTHON_USEDEP}]
71 + >=dev-python/dbus-python-0.82[${PYTHON_USEDEP}]
72 + dev-python/pycairo[${PYTHON_USEDEP}]
73 + dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
74 + >=x11-libs/gtk+-3.9:3[introspection]
75 + >=x11-libs/gtksourceview-3.14:3.0[introspection]
76 + x11-libs/pango[introspection]
77 + x11-libs/gdk-pixbuf:2[introspection]
78 + )
79 + charmap? ( >=gnome-extra/gucharmap-3:2.90[introspection] )
80 + git? ( >=dev-libs/libgit2-glib-0.0.6 )
81 + terminal? ( x11-libs/vte:2.91[introspection] )
82 + vala? ( $(vala_depend) )
83 + zeitgeist? ( >=gnome-extra/zeitgeist-0.9.12[introspection] )
84 +"
85 +DEPEND="${RDEPEND}
86 + >=dev-util/intltool-0.40.0
87 + dev-util/itstool
88 + sys-devel/gettext
89 + virtual/pkgconfig
90 +"
91 +
92 +pkg_setup() {
93 + use python && [[ ${MERGE_TYPE} != binary ]] && python_setup
94 +}
95 +
96 +src_prepare() {
97 + use vala && vala_src_prepare
98 + gnome2_src_prepare
99 +}
100 +
101 +src_configure() {
102 + gnome2_src_configure \
103 + $(use_enable python) \
104 + $(use_enable vala) \
105 + $(use_enable zeitgeist)
106 +}
107 +
108 +src_install() {
109 + gnome2_src_install
110 +
111 + # FIXME: crazy !!!
112 + if use python; then
113 + find "${ED}"/usr/share/gedit -name "*.py*" -delete || die
114 + find "${ED}"/usr/share/gedit -type d -empty -delete || die
115 + fi
116 +
117 + # FIXME: upstream made this automagic...
118 + clean_plugin charmap
119 + clean_plugin git
120 + clean_plugin terminal
121 +}
122 +
123 +clean_plugin() {
124 + if use !${1} ; then
125 + rm -rf "${ED}"/usr/share/gedit/plugins/${1}*
126 + rm -rf "${ED}"/usr/$(get_libdir)/gedit/plugins/${1}*
127 + fi
128 +}