Gentoo Archives: gentoo-commits

From: Gilles Dartiguelongue <eva@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-editors/gedit/
Date: Tue, 01 Nov 2016 17:32:33
Message-Id: 1478020054.f30bfbc5ae046b43fe6b12ad0761705b177bdf4a.eva@gentoo
1 commit: f30bfbc5ae046b43fe6b12ad0761705b177bdf4a
2 Author: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
3 AuthorDate: Tue Nov 1 16:11:28 2016 +0000
4 Commit: Gilles Dartiguelongue <eva <AT> gentoo <DOT> org>
5 CommitDate: Tue Nov 1 17:07:34 2016 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f30bfbc5
7
8 app-editors/gedit: version bump 3.20.2 → 3.22.0
9
10 Disable update checker plugin as it only makes sense for upstream released binaries.
11
12 Package-Manager: portage-2.3.2
13
14 app-editors/gedit/Manifest | 1 +
15 app-editors/gedit/gedit-3.22.0.ebuild | 97 +++++++++++++++++++++++++++++++++++
16 2 files changed, 98 insertions(+)
17
18 diff --git a/app-editors/gedit/Manifest b/app-editors/gedit/Manifest
19 index 7b89943..38d83cc 100644
20 --- a/app-editors/gedit/Manifest
21 +++ b/app-editors/gedit/Manifest
22 @@ -2,3 +2,4 @@ DIST gedit-3.16.4.tar.xz 2925984 SHA256 210937ea9143d8a6c9580a7ab11acf60d478f516
23 DIST gedit-3.18.2.tar.xz 2915772 SHA256 856e451aec29ee45980011de57cadfe89c3cbc53968f6cc865f8efe0bd0d49b1 SHA512 e81382b74749c4592565bab25d47784a3206e033e6b0e5d5a557403590dafd130e41b31bcecc820a3d9823a48f8e94907bc9bb0335121e369abaca1360a95b30 WHIRLPOOL 87b40323caa707a4ce68d5efc299075883a1fc01e1def15f9052802bccae9075c3aa8c50d36062bb96060421008c510d3c0600fd359950a06ae651e3b56553e5
24 DIST gedit-3.18.3.tar.xz 2933132 SHA256 6762ac0d793b0f754a2da5f88739d04fa39daa7491c5c46401d24bcef76c32e7 SHA512 8866bc0958dfcf59e5eac0f3c39f2b5f252ffac78a25551968f539f73ebc25cc792ded93899c066339e9b6927f86d6e5ac583df9b9c4d7f0b07d1cc7683e7eb2 WHIRLPOOL fc60b4d251519057eab978a454a2eb0f6741fd097b58f1ac9614413bdab93e15a5f83132ed14f53ae6a6a49a94e9b78a8acce855d229a8f964fefae044a796e8
25 DIST gedit-3.20.2.tar.xz 3135004 SHA256 32a1276a71a0d4a5af4e20a87bc273170ba8e075fc1ca7f51c8d3a6c150463f8 SHA512 3a224a5e0789760f0840b902fd7fa3c1d56b8100e3c502cf9a1c26336cc922192ba7bb37c1c7fd2069c71ccd0483fb692439d73fcb464117f520ec0d140aaf6d WHIRLPOOL 2128fda00474c197b4a85478cd676ae99d929871635b44d2641ffc5c58b47aceb943906c6a8ee3fcd1bbd309e217090a44ea4d83530adf6daab055f410c0796c
26 +DIST gedit-3.22.0.tar.xz 2957520 SHA256 063b5a0b5dcc8f540f6e8c3ea1c22cf8a3a19edffc25315a1b6bc51d462b3f45 SHA512 7137fe96cca072c294dea545cb7fafee7ca2da84d8b7756e03a5f5dde6cdca8a3eec6f58136cec0aeeb49c294acd000f01bf3a44447411924aff107dbab26efb WHIRLPOOL 621a9ef89bdaafc490e6b05ac00d91978f175953c37c3d6c141b0513a99bc77b05907dab665d48022f56d0c6a8b9ad8e935c2279d58356d691490b16e533135e
27
28 diff --git a/app-editors/gedit/gedit-3.22.0.ebuild b/app-editors/gedit/gedit-3.22.0.ebuild
29 new file mode 100644
30 index 00000000..755b101
31 --- /dev/null
32 +++ b/app-editors/gedit/gedit-3.22.0.ebuild
33 @@ -0,0 +1,97 @@
34 +# Copyright 1999-2016 Gentoo Foundation
35 +# Distributed under the terms of the GNU General Public License v2
36 +# $Id$
37 +
38 +EAPI="6"
39 +GNOME2_LA_PUNT="yes" # plugins are dlopened
40 +PYTHON_COMPAT=( python3_{3,4,5} )
41 +VALA_MIN_API_VERSION="0.26"
42 +VALA_USE_DEPEND="vapigen"
43 +
44 +inherit eutils gnome2 multilib python-r1 vala virtualx
45 +
46 +DESCRIPTION="A text editor for the GNOME desktop"
47 +HOMEPAGE="https://wiki.gnome.org/Apps/Gedit"
48 +
49 +LICENSE="GPL-2+ CC-BY-SA-3.0"
50 +SLOT="0"
51 +
52 +IUSE="+introspection +python spell vala"
53 +# python-single-r1 would request disabling PYTHON_TARGETS on libpeas
54 +# we need to fix that
55 +REQUIRED_USE="
56 + python? ( introspection )
57 + python? ( ^^ ( $(python_gen_useflags '*') ) )
58 +"
59 +
60 +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"
61 +
62 +# X libs are not needed for OSX (aqua)
63 +COMMON_DEPEND="
64 + >=dev-libs/libxml2-2.5.0:2
65 + >=dev-libs/glib-2.44:2[dbus]
66 + >=x11-libs/gtk+-3.21.3:3[introspection?]
67 + >=x11-libs/gtksourceview-3.21.2:3.0[introspection?]
68 + >=dev-libs/libpeas-1.14.1[gtk]
69 +
70 + gnome-base/gsettings-desktop-schemas
71 + gnome-base/gvfs
72 +
73 + x11-libs/libX11
74 +
75 + introspection? ( >=dev-libs/gobject-introspection-0.9.3:= )
76 + python? (
77 + ${PYTHON_DEPS}
78 + dev-python/pycairo[${PYTHON_USEDEP}]
79 + >=dev-python/pygobject-3:3[cairo,${PYTHON_USEDEP}]
80 + dev-libs/libpeas[${PYTHON_USEDEP}] )
81 + spell? ( >=app-text/gspell-0.2.5:0= )
82 +"
83 +RDEPEND="${COMMON_DEPEND}
84 + x11-themes/adwaita-icon-theme
85 +"
86 +DEPEND="${COMMON_DEPEND}
87 + ${vala_depend}
88 + app-text/docbook-xml-dtd:4.1.2
89 + app-text/yelp-tools
90 + >=dev-util/gtk-doc-am-1
91 + >=dev-util/intltool-0.50.1
92 + >=sys-devel/gettext-0.18
93 + virtual/pkgconfig
94 +"
95 +# yelp-tools, gnome-common needed to eautoreconf
96 +
97 +pkg_setup() {
98 + use python && [[ ${MERGE_TYPE} != binary ]] && python_setup
99 +}
100 +
101 +src_prepare() {
102 + vala_src_prepare
103 + gnome2_src_prepare
104 +}
105 +
106 +src_configure() {
107 + DOCS="AUTHORS ChangeLog MAINTAINERS NEWS README"
108 +
109 + gnome2_src_configure \
110 + --disable-deprecations \
111 + --disable-updater \
112 + --enable-gvfs-metadata \
113 + $(use_enable introspection) \
114 + $(use_enable spell) \
115 + $(use_enable python) \
116 + $(use_enable vala)
117 +}
118 +
119 +src_test() {
120 + "${EROOT}${GLIB_COMPILE_SCHEMAS}" --allow-any-name "${S}/data" || die
121 + GSETTINGS_SCHEMA_DIR="${S}/data" virtx emake check
122 +}
123 +
124 +src_install() {
125 + local args=()
126 + # manually set pyoverridesdir due to bug #524018 and AM_PATH_PYTHON limitations
127 + use python && args+=( pyoverridesdir="$(python_get_sitedir)/gi/overrides" )
128 +
129 + gnome2_src_install "${args[@]}"
130 +}