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