Gentoo Archives: gentoo-commits

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