summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillermo Joandet <gjoandet@gmail.com>2023-07-29 10:27:58 -0300
committerMatt Turner <mattst88@gentoo.org>2023-08-08 11:03:15 -0400
commit852677efb5a07aec630ff12752ff00cc1965f682 (patch)
tree81b823341a208fb8bd625371242cb8c964695632 /app-editors/gedit-plugins
parentapp-editors/gnome-latex: Version bump to 3.46.0 (diff)
downloadgentoo-852677efb5a07aec630ff12752ff00cc1965f682.tar.gz
gentoo-852677efb5a07aec630ff12752ff00cc1965f682.tar.bz2
gentoo-852677efb5a07aec630ff12752ff00cc1965f682.zip
app-editors/gedit-plugins: Version bump to 46.0
Signed-off-by: Guillermo Joandet <gjoandet@gmail.com> Signed-off-by: Matt Turner <mattst88@gentoo.org>
Diffstat (limited to 'app-editors/gedit-plugins')
-rw-r--r--app-editors/gedit-plugins/Manifest1
-rw-r--r--app-editors/gedit-plugins/gedit-plugins-46.0.ebuild100
2 files changed, 101 insertions, 0 deletions
diff --git a/app-editors/gedit-plugins/Manifest b/app-editors/gedit-plugins/Manifest
index b3cd9d8b9a88..92ed27ec5113 100644
--- a/app-editors/gedit-plugins/Manifest
+++ b/app-editors/gedit-plugins/Manifest
@@ -1,2 +1,3 @@
DIST gedit-plugins-44.1.tar.xz 913228 BLAKE2B a153b82da23f7838da9fa24b28687eae2fd0e4381693515f45e665fc6d9bc2715b37fa6bdac7a8a6ebd947ba0a3a70e5c12708bb14a053c9ad0384549e8ef4f6 SHA512 d5d767210b362747e4ba51b61b4d1c58bf5b37aa5f942cb9654f71c534d8bce2594ebc9004bed686627403fe1c3a6af84a45f4ce72af1f27fa7b644d11cdc9e2
DIST gedit-plugins-45.0.tar.xz 902452 BLAKE2B 2569de052fee9401561e874a0387799c582fd69c177034595e9bb61c9ebd75fb6333b4bd7d1c8460d4bb13c5cb0c1ea8abeeaac1bf53f2279d4a920d71b5069e SHA512 41ada11d4cfc99d3f8edab46916490bfb6282c82bc35952331a5e920ffb8490c9ca543d459ed670390e4268bf2068b86382be4049443ce73cd4bb60b9a31b879
+DIST gedit-plugins-46.0.tar.xz 897216 BLAKE2B 9dac94c03147fa3a949df5d924a2a18d9cf29a7928f088a0ab6bd07538dc316c28f9f6a5f7cb91b386d25b4a15b5178265c808a7d327367902c7077980a56be8 SHA512 fe9d975273df1ec7d3729d76d3e652b04ec90595f2fcd90a64f9bc01de6bf7955aa96fb663966d8dab5952a01552a70123eecee81861c4c6d219199ca2ada579
diff --git a/app-editors/gedit-plugins/gedit-plugins-46.0.ebuild b/app-editors/gedit-plugins/gedit-plugins-46.0.ebuild
new file mode 100644
index 000000000000..b5c75911a5c8
--- /dev/null
+++ b/app-editors/gedit-plugins/gedit-plugins-46.0.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+PYTHON_COMPAT=( python3_{10..12} )
+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://wiki.gnome.org/Apps/Gedit/ThirdPartyPlugins"
+
+LICENSE="GPL-2+"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
+SLOT="0"
+
+IUSE="charmap git +python terminal vala"
+REQUIRED_USE="
+ charmap? ( python )
+ git? ( python )
+ python? ( ${PYTHON_REQUIRED_USE} )
+ terminal? ( python )
+"
+
+RDEPEND="
+ >=dev-libs/libpeas-1.14.1[gtk]
+ >=app-editors/gedit-46
+ >=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[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] )
+ git? ( >=dev-libs/libgit2-glib-0.0.6[python] )
+ 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 git plugin_git)
+ $(meson_use python plugin_joinlines)
+ $(meson_use python plugin_multiedit)
+ $(meson_use python plugin_sessionsaver)
+ -Dplugin_smartspaces=true
+ $(meson_use terminal plugin_terminal)
+ $(meson_use python plugin_textsize)
+ -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
+}