diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-10-22 11:09:47 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-10-22 11:09:47 +0100 |
commit | 64e107b9b6058580ff0432107eb37cefb0b2a7d8 (patch) | |
tree | 9a44e603e2ae365e2b1fe35ac37f73e830cdee1d /app-editors/gedit-plugins | |
parent | 957235cf19a691360c720f7913672adda4258ed0 (diff) |
gentoo resync : 22.10.2018
Diffstat (limited to 'app-editors/gedit-plugins')
-rw-r--r-- | app-editors/gedit-plugins/Manifest | 2 | ||||
-rw-r--r-- | app-editors/gedit-plugins/gedit-plugins-3.28.1.ebuild | 94 |
2 files changed, 96 insertions, 0 deletions
diff --git a/app-editors/gedit-plugins/Manifest b/app-editors/gedit-plugins/Manifest index 3c6925e0c47b..e7b79a6c9c5c 100644 --- a/app-editors/gedit-plugins/Manifest +++ b/app-editors/gedit-plugins/Manifest @@ -1,3 +1,5 @@ DIST gedit-plugins-3.22.0.tar.xz 1314512 BLAKE2B 2910a101da94112b4190d96111013675234c109bfc37e05ff98d53e87e0a4db8e5a4a6823017153d65a9d554cfb95fed000d56d9e721faebfeeb033fc7be2901 SHA512 5560b48c0b21b535de7247c39653c111439f9cb138025d7e3a600b94babbe060777c2095160b7e5ea39b8ba8be520ea3966b0ffc2ec15d17ea0bf814bf58748d +DIST gedit-plugins-3.28.1.tar.xz 1350468 BLAKE2B 4fd50ad7358581f5e27f0c3a7e127d4e2c0e7189c039daee1d8d7ddf7062846e1aebb634b3edd998c9a7c11840c71f56fe4eeca78ea2e91ae18db814e4fd79e5 SHA512 6258c627cd3fa2948375c30e87061375c0d09ce2c70301c2d10a403e6075d1df09e928a2d95b72f6d7950a31a720af645fff2f7f59a281d2999948beb56c1dc9 EBUILD gedit-plugins-3.22.0.ebuild 2297 BLAKE2B 74878dee069c2eeed548f80084f2bf1b63cedeab159ab84b54bd2bde7ae5446b5b6facb77e0cc08184a6bfd7502508bd0e5e6130c412247b822233fdae060ada SHA512 dce1562f0c1882d55feec31b82f3261d5e026f1e7fc1eb295941769c2da57d4feba03637f266f2a370fa5efb9f33b90253900eb40ad1d065b2762a6f08ea9ad2 +EBUILD gedit-plugins-3.28.1.ebuild 2296 BLAKE2B 2be407a0435544e95cb64a26d9f6a566c3f4e4de49dce24739322646e8e67a586cd377ed33b6de7e1d17469af163abfeb9547655e9dd732a7405ecaf3bf36d1f SHA512 719d99894d7f9d9c51acb12e8f2b7f9c070fcc019c67f02cda00418b042cfb3220607afd4141c72e42d96588d69401ab5e1ebb95a5376111874f3491207c6825 MISC metadata.xml 542 BLAKE2B 1336fdd161ef76bb2e1445dd074aed82e04be00c9c47885eb5005122c850193dd2bec1aed69dd1da74527c8ee82d7c75d57b73d020cc692e41f6762ba43d8f08 SHA512 1eba6ba724a313d8dd04e838c448cb8de2f3411b891daaacdea615f0d8187d3bbe1f650c9b2ab5457d519ed98dee600d8830e7eea848c872ccb9c52ba58f231a diff --git a/app-editors/gedit-plugins/gedit-plugins-3.28.1.ebuild b/app-editors/gedit-plugins/gedit-plugins-3.28.1.ebuild new file mode 100644 index 000000000000..fc8347b9387f --- /dev/null +++ b/app-editors/gedit-plugins/gedit-plugins-3.28.1.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" +GNOME2_LA_PUNT="yes" # plugins are dlopened +PYTHON_COMPAT=( python3_{4,5,6} ) +PYTHON_REQ_USE="xml" +VALA_MIN_API_VERSION="0.28" + +inherit eutils gnome2 multilib python-single-r1 vala + +DESCRIPTION="Official plugins for gedit" +HOMEPAGE="https://wiki.gnome.org/Apps/Gedit/ShippedPlugins" + +LICENSE="GPL-2+" +KEYWORDS="~amd64 ~x86" +SLOT="0" + +IUSE_plugins="charmap git terminal vala" +IUSE="+python ${IUSE_plugins}" +# python-single-r1 would request disabling PYTHON_TARGETS on libpeas +REQUIRED_USE=" + charmap? ( python ) + git? ( python ) + python? ( ${PYTHON_REQUIRED_USE} ) + terminal? ( python ) +" + +RDEPEND=" + >=app-editors/gedit-3.16 + >=dev-libs/glib-2.32:2 + >=dev-libs/libpeas-1.7.0[gtk] + >=x11-libs/gtk+-3.9:3 + >=x11-libs/gtksourceview-3.21.3:3.0 + python? ( + ${PYTHON_DEPS} + >=app-editors/gedit-3.16[introspection,python,${PYTHON_USEDEP}] + dev-libs/libpeas[python,${PYTHON_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/gtksourceview-3.14:3.0[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 ) + terminal? ( x11-libs/vte:2.91[introspection] ) + vala? ( $(vala_depend) ) +" +DEPEND="${RDEPEND} + app-text/yelp-tools + >=dev-util/intltool-0.40.0 + >=sys-devel/gettext-0.17 + virtual/pkgconfig +" + +pkg_setup() { + use python && [[ ${MERGE_TYPE} != binary ]] && python-single-r1_pkg_setup +} + +src_prepare() { + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + $(use_enable python) \ + $(use_enable vala) +} + +src_install() { + gnome2_src_install + + # FIXME: crazy !!! + if use python; then + find "${ED}"/usr/share/gedit -name "*.py*" -delete || die + find "${ED}"/usr/share/gedit -type d -empty -delete || die + fi + + # FIXME: upstream made this automagic... + clean_plugin charmap + clean_plugin git + clean_plugin terminal +} + +clean_plugin() { + if use !${1} ; then + rm -rf "${ED}"/usr/share/gedit/plugins/${1}* + rm -rf "${ED}"/usr/$(get_libdir)/gedit/plugins/${1}* + fi +} |