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