commit: 663f378e32e4fd9c75ba6d155c146e4a121546c1
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 26 14:12:20 2025 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Sun Jan 26 15:00:42 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=663f378e
app-editors/gedit-plugins: add 48.1
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
app-editors/gedit-plugins/Manifest | 1 +
.../gedit-plugins/gedit-plugins-48.1.ebuild | 96 ++++++++++++++++++++++
2 files changed, 97 insertions(+)
diff --git a/app-editors/gedit-plugins/Manifest
b/app-editors/gedit-plugins/Manifest
index 12965b235699..0a1a71f3b135 100644
--- a/app-editors/gedit-plugins/Manifest
+++ b/app-editors/gedit-plugins/Manifest
@@ -1,2 +1,3 @@
DIST gedit-plugins-46.0.tar.xz 897216 BLAKE2B
9dac94c03147fa3a949df5d924a2a18d9cf29a7928f088a0ab6bd07538dc316c28f9f6a5f7cb91b386d25b4a15b5178265c808a7d327367902c7077980a56be8
SHA512
fe9d975273df1ec7d3729d76d3e652b04ec90595f2fcd90a64f9bc01de6bf7955aa96fb663966d8dab5952a01552a70123eecee81861c4c6d219199ca2ada579
DIST gedit-plugins-48.0.tar.xz 883240 BLAKE2B
0bd97d6d0fa6f052f4f82d546b1a44cc7212ef093b845498aaca970c5406047cb9bf297bbae91882179306c8dc104fc8c02528f9259da209617b8144cf5c21d0
SHA512
db6435770f981dea7d8983705720e2041df83c69dee8f86ced4ceb3af1aff16280d78f9ff7785fea4d9072826038c63f198dab7daef80da716cd2fffa40e54cf
+DIST gedit-plugins-48.1.tar.xz 881140 BLAKE2B
7deef6710c7d1e235877eb7c866ae4e041f6ccf28aafea1ba4220e70eb48ae5f562d870a390aa10e96789f63240b2c0cd81596a8f1c4970a69c8ae2132d320d3
SHA512
acd8646cb7713d00c0c2f61da1bfd69f25501b42935710bf59cea342b1766480c3b9414b78fea4682d69b77d3c23920eb1c36674c5918a020a50dde627a679ef
diff --git a/app-editors/gedit-plugins/gedit-plugins-48.1.ebuild
b/app-editors/gedit-plugins/gedit-plugins-48.1.ebuild
new file mode 100644
index 000000000000..f9683d1dd37d
--- /dev/null
+++ b/app-editors/gedit-plugins/gedit-plugins-48.1.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{10..13} )
+PYTHON_REQ_USE="xml(+)"
+
+inherit gnome.org gnome2-utils meson python-single-r1 vala xdg
+
+DESCRIPTION="Collection of extra plugins for the gedit Text Editor"
+HOMEPAGE="https://gitlab.gnome.org/World/gedit/gedit/-/blob/master/plugins/list-of-gedit-plugins.md"
+
+LICENSE="GPL-2+"
+SLOT="0"
+KEYWORDS="~amd64"
+
+IUSE="charmap +python terminal vala"
+REQUIRED_USE="
+ charmap? ( python )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ terminal? ( python )
+"
+
+RDEPEND="
+ >=dev-libs/libpeas-1.14.1:0[gtk]
+ >=app-editors/gedit-48.1
+ >=dev-libs/glib-2.32:2
+ >=x11-libs/gtk+-3.9:3
+ gui-libs/libgedit-gtksourceview:300
+ python? (
+ ${PYTHON_DEPS}
+ $(python_gen_cond_dep '
+ app-editors/gedit[python,${PYTHON_SINGLE_USEDEP}]
+ dev-libs/libpeas:0[python,${PYTHON_SINGLE_USEDEP}]
+ >=dev-python/dbus-python-0.82[${PYTHON_USEDEP}]
+ dev-python/pycairo[${PYTHON_USEDEP}]
+ dev-python/pygobject:3[cairo,${PYTHON_USEDEP}]
+ ')
+ >=x11-libs/gtk+-3.9:3[introspection]
+ x11-libs/pango[introspection]
+ x11-libs/gdk-pixbuf:2[introspection]
+ )
+ charmap? ( >=gnome-extra/gucharmap-3:2.90[introspection] )
+ terminal? ( >=x11-libs/vte-0.52:2.91[introspection] )
+" # vte-0.52+ for feed_child API compatibility
+DEPEND="${RDEPEND}"
+BDEPEND="
+ dev-libs/libxml2
+ dev-util/itstool
+ >=sys-devel/gettext-0.19.8
+ virtual/pkgconfig
+ vala? ( $(vala_depend) )
+"
+
+pkg_setup() {
+ use python && python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+ use vala && vala_setup
+ xdg_environment_reset
+}
+
+src_configure() {
+ local emesonargs=(
+ -Dplugin_bookmarks=true
+ $(meson_use python plugin_bracketcompletion)
+ $(meson_use charmap plugin_charmap)
+ $(meson_use python plugin_codecomment)
+ $(meson_use python plugin_colorpicker)
+ -Dplugin_drawspaces=true
+ $(meson_use python plugin_joinlines)
+ $(meson_use python plugin_multiedit)
+ $(meson_use python plugin_sessionsaver)
+ -Dplugin_smartspaces=true
+ $(meson_use terminal plugin_terminal)
+ -Dplugin_wordcompletion=true
+ )
+ meson_src_configure
+}
+
+src_install() {
+ meson_src_install
+ use python && python_optimize "${ED}/usr/$(get_libdir)/gedit/plugins/"
+}
+
+pkg_postinst() {
+ xdg_pkg_postinst
+ gnome2_schemas_update
+}
+
+pkg_postrm() {
+ xdg_pkg_postrm
+ gnome2_schemas_update
+}