diff --git a/app-editors/gedit-plugins/Manifest b/app-editors/gedit-plugins/Manifest index 1e95b82bc519..eb807ba710f0 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.1.tar.xz 881140 BLAKE2B 7deef6710c7d1e235877eb7c866ae4e041f6ccf28aafea1ba4220e70eb48ae5f562d870a390aa10e96789f63240b2c0cd81596a8f1c4970a69c8ae2132d320d3 SHA512 acd8646cb7713d00c0c2f61da1bfd69f25501b42935710bf59cea342b1766480c3b9414b78fea4682d69b77d3c23920eb1c36674c5918a020a50dde627a679ef +DIST gedit-plugins-48.2.tar.bz2 1017902 BLAKE2B adde8130c91f3b8f36171743472699b6bc0935274ef40f91a1f814160c759c8870d8b9f09a233bb59c29ce207171b6a8da54ed994797a2903182652220b0bcc6 SHA512 792ab56eb908799cd3f2a6af0c73fa69075da6cc74c42994d10b5ff06a10b87fe2f0973f76944d0edc08c0ead8b2c40d36881de38bdff25ab83baa9352a630ce diff --git a/app-editors/gedit-plugins/gedit-plugins-48.2.ebuild b/app-editors/gedit-plugins/gedit-plugins-48.2.ebuild new file mode 100644 index 000000000000..be1b4346962a --- /dev/null +++ b/app-editors/gedit-plugins/gedit-plugins-48.2.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit gnome2-utils meson 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" +SRC_URI="https://gitlab.gnome.org/World/gedit/${PN}/-/archive/${PV}/${P}.tar.bz2" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~loong ~riscv ~x86" + +IUSE="vala" + +RDEPEND=" + >=app-editors/gedit-48.2 + >=dev-libs/glib-2.32:2 + >=x11-libs/gtk+-3.9:3 + gui-libs/libgedit-gtksourceview:300 +" # 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) ) +" + +src_prepare() { + default + use vala && vala_setup + xdg_environment_reset +} + +src_configure() { + local emesonargs=( + -Dplugin_bookmarks=true + -Dplugin_drawspaces=true + -Dplugin_smartspaces=true + -Dplugin_wordcompletion=true + ) + meson_src_configure +} + +pkg_postinst() { + xdg_pkg_postinst + gnome2_schemas_update +} + +pkg_postrm() { + xdg_pkg_postrm + gnome2_schemas_update +}