1 |
commit: dcf922523c3c1d694d41e9a51098fb744e7592c3 |
2 |
Author: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Mar 13 21:17:25 2019 +0000 |
4 |
Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Mar 13 23:20:35 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcf92252 |
7 |
|
8 |
app-editors/gedit: bump to 3.30.2 |
9 |
|
10 |
Package-Manager: Portage-2.3.52, Repoman-2.3.12 |
11 |
Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org> |
12 |
|
13 |
app-editors/gedit/Manifest | 1 + |
14 |
app-editors/gedit/gedit-3.30.2.ebuild | 92 +++++++++++++++++++++++++++++++++++ |
15 |
2 files changed, 93 insertions(+) |
16 |
|
17 |
diff --git a/app-editors/gedit/Manifest b/app-editors/gedit/Manifest |
18 |
index fe664fb849f..58efb668cef 100644 |
19 |
--- a/app-editors/gedit/Manifest |
20 |
+++ b/app-editors/gedit/Manifest |
21 |
@@ -1 +1,2 @@ |
22 |
DIST gedit-3.28.1.tar.xz 3149684 BLAKE2B 6afedcc5de0bd249af3d0fd02339acc2d993aae083dcbfda9212745ab810b81cdb9da655273cb7ccc556644c29d69429d3587fcc9e1faf7aa1c2cee57af09a4b SHA512 f5931ac562cb5005a83eec43048b718ef431e6006b72470fea54ad0e94bd64940ebdec160ee0459ceb5adb235ab111711a2f9fbdc74104d2edd8f287d7474815 |
23 |
+DIST gedit-3.30.2.tar.xz 3155628 BLAKE2B 96736adbce987af89b37a712448f42b2a2eeed72d52aa16377d961c9e929fa4e75205eac5987bfc067cc2fecb35aec720d85483c4e2e824a6e8248cc652d2fbe SHA512 58ae7a4c27aeabad670718e39e1860df112d0be00ea622cc8adc185cb5d0e16ac4af65cb3aa45423c7b1b94c88d04d081fe05f3647b054a3e3291abc73c41f6f |
24 |
|
25 |
diff --git a/app-editors/gedit/gedit-3.30.2.ebuild b/app-editors/gedit/gedit-3.30.2.ebuild |
26 |
new file mode 100644 |
27 |
index 00000000000..1296da553df |
28 |
--- /dev/null |
29 |
+++ b/app-editors/gedit/gedit-3.30.2.ebuild |
30 |
@@ -0,0 +1,92 @@ |
31 |
+# Copyright 1999-2019 Gentoo Authors |
32 |
+# Distributed under the terms of the GNU General Public License v2 |
33 |
+ |
34 |
+EAPI="6" |
35 |
+GNOME2_LA_PUNT="yes" # plugins are dlopened |
36 |
+PYTHON_COMPAT=( python3_{4,5,6} ) |
37 |
+VALA_MIN_API_VERSION="0.26" |
38 |
+VALA_USE_DEPEND="vapigen" |
39 |
+ |
40 |
+inherit eutils gnome2 multilib python-single-r1 vala virtualx |
41 |
+ |
42 |
+DESCRIPTION="A text editor for the GNOME desktop" |
43 |
+HOMEPAGE="https://wiki.gnome.org/Apps/Gedit" |
44 |
+ |
45 |
+LICENSE="GPL-2+ CC-BY-SA-3.0" |
46 |
+SLOT="0" |
47 |
+ |
48 |
+IUSE="+introspection +python spell vala" |
49 |
+REQUIRED_USE="python? ( introspection ${PYTHON_REQUIRED_USE} )" |
50 |
+ |
51 |
+KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux" |
52 |
+ |
53 |
+# X libs are not needed for OSX (aqua) |
54 |
+COMMON_DEPEND=" |
55 |
+ >=dev-libs/libxml2-2.5.0:2 |
56 |
+ >=dev-libs/glib-2.44:2[dbus] |
57 |
+ >=x11-libs/gtk+-3.22.0:3[introspection?] |
58 |
+ >=x11-libs/gtksourceview-3.22.0:3.0[introspection?] |
59 |
+ >=dev-libs/libpeas-1.14.1[gtk] |
60 |
+ |
61 |
+ gnome-base/gsettings-desktop-schemas |
62 |
+ gnome-base/gvfs |
63 |
+ |
64 |
+ x11-libs/libX11 |
65 |
+ |
66 |
+ introspection? ( >=dev-libs/gobject-introspection-0.9.3:= ) |
67 |
+ python? ( |
68 |
+ ${PYTHON_DEPS} |
69 |
+ dev-python/pycairo[${PYTHON_USEDEP}] |
70 |
+ >=dev-python/pygobject-3:3[cairo,${PYTHON_USEDEP}] |
71 |
+ dev-libs/libpeas[python,${PYTHON_USEDEP}] ) |
72 |
+ spell? ( >=app-text/gspell-0.2.5:0= ) |
73 |
+" |
74 |
+RDEPEND="${COMMON_DEPEND} |
75 |
+ x11-themes/adwaita-icon-theme |
76 |
+" |
77 |
+DEPEND="${COMMON_DEPEND} |
78 |
+ ${vala_depend} |
79 |
+ app-text/docbook-xml-dtd:4.1.2 |
80 |
+ dev-util/glib-utils |
81 |
+ >=dev-util/gtk-doc-am-1 |
82 |
+ >=dev-util/intltool-0.50.1 |
83 |
+ dev-util/itstool |
84 |
+ >=sys-devel/gettext-0.18 |
85 |
+ virtual/pkgconfig |
86 |
+" |
87 |
+# yelp-tools, gnome-common needed to eautoreconf |
88 |
+ |
89 |
+pkg_setup() { |
90 |
+ use python && python-single-r1_pkg_setup |
91 |
+} |
92 |
+ |
93 |
+src_prepare() { |
94 |
+ vala_src_prepare |
95 |
+ gnome2_src_prepare |
96 |
+} |
97 |
+ |
98 |
+src_configure() { |
99 |
+ DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README" |
100 |
+ |
101 |
+ gnome2_src_configure \ |
102 |
+ --disable-deprecations \ |
103 |
+ --disable-updater \ |
104 |
+ --enable-gvfs-metadata \ |
105 |
+ $(use_enable introspection) \ |
106 |
+ $(use_enable spell) \ |
107 |
+ $(use_enable python) \ |
108 |
+ $(use_enable vala) |
109 |
+} |
110 |
+ |
111 |
+src_test() { |
112 |
+ "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die |
113 |
+ GSETTINGS_SCHEMA_DIR="${S}/data" virtx emake check |
114 |
+} |
115 |
+ |
116 |
+src_install() { |
117 |
+ local args=() |
118 |
+ # manually set pyoverridesdir due to bug #524018 and AM_PATH_PYTHON limitations |
119 |
+ use python && args+=( pyoverridesdir="$(python_get_sitedir)/gi/overrides" ) |
120 |
+ |
121 |
+ gnome2_src_install "${args[@]}" |
122 |
+} |