Gentoo Archives: gentoo-commits

From: Ole Reifschneider <tranquility@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/gnome:master commit in: app-editors/gedit/
Date: Sat, 26 Mar 2016 22:54:27
Message-Id: 1459031359.e011f72c67b1a103f81b1a120eab1b045e02e520.tranquility@gentoo
1 commit: e011f72c67b1a103f81b1a120eab1b045e02e520
2 Author: Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 26 22:29:19 2016 +0000
4 Commit: Ole Reifschneider <tranquility <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 26 22:29:19 2016 +0000
6 URL: https://gitweb.gentoo.org/proj/gnome.git/commit/?id=e011f72c
7
8 app-editors/gedit: Bump version to 3.20.0
9
10 Package-Manager: portage-2.2.28
11 RepoMan-Options: --include-arches="amd64"
12 Manifest-Sign-Key: 0xE9E568677E8B4D42
13
14 app-editors/gedit/gedit-3.20.0.ebuild | 102 ++++++++++++++++++++++++++++++++++
15 1 file changed, 102 insertions(+)
16
17 diff --git a/app-editors/gedit/gedit-3.20.0.ebuild b/app-editors/gedit/gedit-3.20.0.ebuild
18 new file mode 100644
19 index 0000000..0c80fff
20 --- /dev/null
21 +++ b/app-editors/gedit/gedit-3.20.0.ebuild
22 @@ -0,0 +1,102 @@
23 +# Copyright 1999-2016 Gentoo Foundation
24 +# Distributed under the terms of the GNU General Public License v2
25 +# $Id$
26 +
27 +EAPI="5"
28 +GCONF_DEBUG="no"
29 +GNOME2_LA_PUNT="yes" # plugins are dlopened
30 +PYTHON_COMPAT=( python3_{3,4,5} )
31 +VALA_MIN_API_VERSION="0.26"
32 +VALA_USE_DEPEND="vapigen"
33 +
34 +inherit eutils gnome2 multilib python-r1 vala virtualx
35 +
36 +DESCRIPTION="A text editor for the GNOME desktop"
37 +HOMEPAGE="https://wiki.gnome.org/Apps/Gedit"
38 +
39 +LICENSE="GPL-2+ CC-BY-SA-3.0"
40 +SLOT="0"
41 +
42 +IUSE="+introspection +python spell vala"
43 +# python-single-r1 would request disabling PYTHON_TARGETS on libpeas
44 +# we need to fix that
45 +REQUIRED_USE="
46 + python? ( introspection )
47 + python? ( ^^ ( $(python_gen_useflags '*') ) )
48 +"
49 +
50 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-freebsd ~x86-interix ~amd64-linux ~ia64-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.19.0:3[introspection?]
57 + >=x11-libs/gtksourceview-3.19.4: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 + net-libs/libsoup:2.4
66 +
67 + introspection? ( >=dev-libs/gobject-introspection-0.9.3:= )
68 + python? (
69 + ${PYTHON_DEPS}
70 + dev-python/pycairo[${PYTHON_USEDEP}]
71 + >=dev-python/pygobject-3:3[cairo,${PYTHON_USEDEP}]
72 + dev-libs/libpeas[${PYTHON_USEDEP}] )
73 + spell? ( >=app-text/gspell-0.2.5 )
74 +"
75 +RDEPEND="${COMMON_DEPEND}
76 + x11-themes/adwaita-icon-theme
77 +"
78 +DEPEND="${COMMON_DEPEND}
79 + ${vala_depend}
80 + app-text/docbook-xml-dtd:4.1.2
81 + app-text/yelp-tools
82 + dev-libs/libxml2:2
83 + >=dev-util/gtk-doc-am-1
84 + >=dev-util/intltool-0.50.1
85 + dev-util/itstool
86 + >=sys-devel/gettext-0.18
87 + virtual/pkgconfig
88 +"
89 +# yelp-tools, gnome-common needed to eautoreconf
90 +
91 +pkg_setup() {
92 + use python && [[ ${MERGE_TYPE} != binary ]] && python_setup
93 +}
94 +
95 +src_prepare() {
96 + vala_src_prepare
97 + gnome2_src_prepare
98 +}
99 +
100 +src_configure() {
101 + DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
102 +
103 + gnome2_src_configure \
104 + --disable-deprecations \
105 + --enable-updater \
106 + --enable-gvfs-metadata \
107 + $(use_enable introspection) \
108 + $(use_enable spell) \
109 + $(use_enable python) \
110 + $(use_enable vala)
111 +}
112 +
113 +src_test() {
114 + "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
115 + GSETTINGS_SCHEMA_DIR="${S}/data" Xemake check
116 +}
117 +
118 +src_install() {
119 + local args=()
120 + # manually set pyoverridesdir due to bug #524018 and AM_PATH_PYTHON limitations
121 + use python && args+=( pyoverridesdir="$(python_get_sitedir)/gi/overrides" )
122 +
123 + gnome2_src_install "${args[@]}"
124 +}