Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/gedit-plugins/
Date: Sun, 16 Aug 2020 21:02:21
Message-Id: 1597611684.2085cddcfdcb07f55b8aa5d3a732ada3c02b6135.leio@gentoo
1 commit: 2085cddcfdcb07f55b8aa5d3a732ada3c02b6135
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 16 20:58:32 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 16 21:01:24 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2085cddc
7
8 app-editors/gedit-plugins: bump to 3.36.2
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.20
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 app-editors/gedit-plugins/Manifest | 1 +
14 .../gedit-plugins/gedit-plugins-3.36.2.ebuild | 108 +++++++++++++++++++++
15 2 files changed, 109 insertions(+)
16
17 diff --git a/app-editors/gedit-plugins/Manifest b/app-editors/gedit-plugins/Manifest
18 index 22e79ba9b58..fd9be02efb8 100644
19 --- a/app-editors/gedit-plugins/Manifest
20 +++ b/app-editors/gedit-plugins/Manifest
21 @@ -1 +1,2 @@
22 DIST gedit-plugins-3.34.1.tar.xz 978800 BLAKE2B 03225ddc414e172f08179c64fbf12d0282c131b71855ca9dc20ceaa5750a5555c7bdde8c4ff1d95c721177b3d379edbcfc9af19ec22b96942df1913d13560303 SHA512 7fe31c2b0a1381a44362bd6066422d182b2246e3f903f8cd83cde0467b9853620a445bea7878d93e95a0a71ac5d5dd081a1930d602007cf2a6ef00b1a45bebfc
23 +DIST gedit-plugins-3.36.2.tar.xz 980648 BLAKE2B 37f55b742258b233d161ce808483ba10f158b951f06eaee53d966edc275dad67a2d11eae342fed7bc9b185d1309c5795f645eabf24db99a6e6551a3dae19ddb6 SHA512 d46a5ec69f69838144333ca3e66abc7c64cdb3248877b38298f869027dd3bab16102957e723ad1b0d3c6af55745c2b7ce321949acb2575734c649a388bb0100b
24
25 diff --git a/app-editors/gedit-plugins/gedit-plugins-3.36.2.ebuild b/app-editors/gedit-plugins/gedit-plugins-3.36.2.ebuild
26 new file mode 100644
27 index 00000000000..44c04dbe395
28 --- /dev/null
29 +++ b/app-editors/gedit-plugins/gedit-plugins-3.36.2.ebuild
30 @@ -0,0 +1,108 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI="7"
35 +PYTHON_COMPAT=( python3_{6,7,8} )
36 +PYTHON_REQ_USE="xml"
37 +VALA_MIN_API_VERSION="0.28"
38 +
39 +inherit gnome.org gnome2-utils meson python-single-r1 vala xdg
40 +
41 +DESCRIPTION="Collection of extra plugins for the gedit Text Editor"
42 +HOMEPAGE="https://wiki.gnome.org/Apps/Gedit/ShippedPlugins"
43 +
44 +LICENSE="GPL-2+"
45 +KEYWORDS="~amd64 ~x86"
46 +SLOT="0"
47 +
48 +IUSE="charmap git +python terminal vala"
49 +REQUIRED_USE="
50 + charmap? ( python )
51 + git? ( python )
52 + python? ( ${PYTHON_REQUIRED_USE} )
53 + terminal? ( python )
54 +"
55 +
56 +RDEPEND="
57 + >=dev-libs/libpeas-1.14.1[gtk]
58 + >=app-editors/gedit-3.36
59 +
60 + >=dev-libs/glib-2.32:2
61 + >=x11-libs/gtk+-3.9:3
62 + >=x11-libs/gtksourceview-4.0.2:4
63 +
64 + python? (
65 + ${PYTHON_DEPS}
66 + $(python_gen_cond_dep '
67 + >=app-editors/gedit-3.36[introspection,python,${PYTHON_SINGLE_USEDEP}]
68 + dev-libs/libpeas[python,${PYTHON_SINGLE_USEDEP}]
69 + >=dev-python/dbus-python-0.82[${PYTHON_MULTI_USEDEP}]
70 + dev-python/pycairo[${PYTHON_MULTI_USEDEP}]
71 + dev-python/pygobject:3[cairo,${PYTHON_MULTI_USEDEP}]
72 + ')
73 + >=x11-libs/gtk+-3.9:3[introspection]
74 + >=x11-libs/gtksourceview-4.0.2:4[introspection]
75 + x11-libs/pango[introspection]
76 + x11-libs/gdk-pixbuf:2[introspection]
77 + )
78 + charmap? ( >=gnome-extra/gucharmap-3:2.90[introspection] )
79 + git? ( >=dev-libs/libgit2-glib-0.0.6[python] )
80 + terminal? ( >=x11-libs/vte-0.52:2.91[introspection] )
81 +" # vte-0.52+ for feed_child API compatibility
82 +DEPEND="${RDEPEND}"
83 +BDEPEND="
84 + dev-libs/libxml2
85 + dev-util/itstool
86 + >=sys-devel/gettext-0.19.8
87 + virtual/pkgconfig
88 + vala? ( $(vala_depend) )
89 +"
90 +
91 +pkg_setup() {
92 + use python && python-single-r1_pkg_setup
93 +}
94 +
95 +src_prepare() {
96 + use vala && vala_src_prepare
97 + xdg_src_prepare
98 +}
99 +
100 +src_configure() {
101 + local emesonargs=(
102 + -Dplugin_bookmarks=true
103 + $(meson_use python plugin_bracketcompletion)
104 + $(meson_use charmap plugin_charmap)
105 + $(meson_use python plugin_codecomment)
106 + $(meson_use python plugin_colorpicker)
107 + $(meson_use python plugin_colorschemer)
108 + $(meson_use python plugin_commander)
109 + -Dplugin_drawspaces=true
110 + $(meson_use vala plugin_findinfiles)
111 + $(meson_use git plugin_git)
112 + $(meson_use python plugin_joinlines)
113 + $(meson_use python plugin_multiedit)
114 + $(meson_use python plugin_sessionsaver)
115 + $(meson_use python plugin_smartspaces)
116 + $(meson_use python plugin_synctex)
117 + $(meson_use terminal plugin_terminal)
118 + $(meson_use python plugin_textsize)
119 + $(meson_use python plugin_translate)
120 + -Dplugin_wordcompletion=true
121 + )
122 + meson_src_configure
123 +}
124 +
125 +src_install() {
126 + meson_src_install
127 + python_optimize "${ED}/usr/$(get_libdir)/gedit/plugins/"
128 +}
129 +
130 +pkg_postinst() {
131 + xdg_pkg_postinst
132 + gnome2_schemas_update
133 +}
134 +
135 +pkg_postrm() {
136 + xdg_pkg_postrm
137 + gnome2_schemas_update
138 +}