1 |
commit: b17c4b3c64b504941b7ddeaf29201b4f7f7cc72e |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Jan 28 09:16:09 2020 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Jan 28 09:34:19 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b17c4b3c |
7 |
|
8 |
app-editors/gedit-plugins: remove old |
9 |
|
10 |
Package-Manager: Portage-2.3.84, Repoman-2.3.20 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
.../gedit-plugins/gedit-plugins-3.32.2.ebuild | 93 ---------------------- |
14 |
1 file changed, 93 deletions(-) |
15 |
|
16 |
diff --git a/app-editors/gedit-plugins/gedit-plugins-3.32.2.ebuild b/app-editors/gedit-plugins/gedit-plugins-3.32.2.ebuild |
17 |
deleted file mode 100644 |
18 |
index 2c8ba88d1e5..00000000000 |
19 |
--- a/app-editors/gedit-plugins/gedit-plugins-3.32.2.ebuild |
20 |
+++ /dev/null |
21 |
@@ -1,93 +0,0 @@ |
22 |
-# Copyright 1999-2020 Gentoo Authors |
23 |
-# Distributed under the terms of the GNU General Public License v2 |
24 |
- |
25 |
-EAPI="6" |
26 |
-GNOME2_LA_PUNT="yes" # plugins are dlopened |
27 |
-PYTHON_COMPAT=( python3_{6,7,8} ) |
28 |
-PYTHON_REQ_USE="xml" |
29 |
-VALA_MIN_API_VERSION="0.28" |
30 |
- |
31 |
-inherit eutils gnome2 multilib python-single-r1 vala |
32 |
- |
33 |
-DESCRIPTION="Official plugins for gedit" |
34 |
-HOMEPAGE="https://wiki.gnome.org/Apps/Gedit/ShippedPlugins" |
35 |
- |
36 |
-LICENSE="GPL-2+" |
37 |
-KEYWORDS="amd64 x86" |
38 |
-SLOT="0" |
39 |
- |
40 |
-IUSE_plugins="charmap git terminal vala" |
41 |
-IUSE="+python ${IUSE_plugins}" |
42 |
-# python-single-r1 would request disabling PYTHON_TARGETS on libpeas |
43 |
-REQUIRED_USE=" |
44 |
- charmap? ( python ) |
45 |
- git? ( python ) |
46 |
- python? ( ${PYTHON_REQUIRED_USE} ) |
47 |
- terminal? ( python ) |
48 |
-" |
49 |
- |
50 |
-RDEPEND=" |
51 |
- >=app-editors/gedit-3.16 |
52 |
- >=dev-libs/glib-2.32:2 |
53 |
- >=dev-libs/libpeas-1.7.0[gtk] |
54 |
- >=x11-libs/gtk+-3.9:3 |
55 |
- >=x11-libs/gtksourceview-4.0.2:4 |
56 |
- python? ( |
57 |
- ${PYTHON_DEPS} |
58 |
- >=app-editors/gedit-3.16[introspection,python,${PYTHON_USEDEP}] |
59 |
- dev-libs/libpeas[python,${PYTHON_USEDEP}] |
60 |
- >=dev-python/dbus-python-0.82[${PYTHON_USEDEP}] |
61 |
- dev-python/pycairo[${PYTHON_USEDEP}] |
62 |
- dev-python/pygobject:3[cairo,${PYTHON_USEDEP}] |
63 |
- >=x11-libs/gtk+-3.9:3[introspection] |
64 |
- >=x11-libs/gtksourceview-3.14:3.0[introspection] |
65 |
- x11-libs/pango[introspection] |
66 |
- x11-libs/gdk-pixbuf:2[introspection] |
67 |
- ) |
68 |
- charmap? ( >=gnome-extra/gucharmap-3:2.90[introspection] ) |
69 |
- git? ( >=dev-libs/libgit2-glib-0.0.6 ) |
70 |
- terminal? ( >=x11-libs/vte-0.52:2.91[introspection] ) |
71 |
- vala? ( $(vala_depend) ) |
72 |
-" # vte-0.52+ for feed_child API compatibility |
73 |
-DEPEND="${RDEPEND} |
74 |
- dev-util/itstool |
75 |
- >=sys-devel/gettext-0.19.8 |
76 |
- virtual/pkgconfig |
77 |
-" |
78 |
- |
79 |
-pkg_setup() { |
80 |
- use python && [[ ${MERGE_TYPE} != binary ]] && python-single-r1_pkg_setup |
81 |
-} |
82 |
- |
83 |
-src_prepare() { |
84 |
- use vala && vala_src_prepare |
85 |
- gnome2_src_prepare |
86 |
-} |
87 |
- |
88 |
-src_configure() { |
89 |
- gnome2_src_configure \ |
90 |
- $(use_enable python) \ |
91 |
- $(use_enable vala) |
92 |
-} |
93 |
- |
94 |
-src_install() { |
95 |
- gnome2_src_install |
96 |
- |
97 |
- # FIXME: crazy !!! |
98 |
- if use python; then |
99 |
- find "${ED}"/usr/share/gedit -name "*.py*" -delete || die |
100 |
- find "${ED}"/usr/share/gedit -type d -empty -delete || die |
101 |
- fi |
102 |
- |
103 |
- # FIXME: upstream made this automagic... |
104 |
- clean_plugin charmap |
105 |
- clean_plugin git |
106 |
- clean_plugin terminal |
107 |
-} |
108 |
- |
109 |
-clean_plugin() { |
110 |
- if use !${1} ; then |
111 |
- rm -rf "${ED}"/usr/share/gedit/plugins/${1}* |
112 |
- rm -rf "${ED}"/usr/$(get_libdir)/gedit/plugins/${1}* |
113 |
- fi |
114 |
-} |