Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/gtksourceview/
Date: Fri, 07 Dec 2018 19:05:36
Message-Id: 1544209454.d81a539e51afea58227d5e686d00632b58da55a1.leio@gentoo
1 commit: d81a539e51afea58227d5e686d00632b58da55a1
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Fri Dec 7 17:51:30 2018 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Fri Dec 7 19:04:14 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d81a539e
7
8 x11-libs/gtksourceview: bump to 3.24.9
9
10 Remove unecessary itstool dep - configure checks for it, but
11 it's non-fatal and nothing uses the resulting ITSTOOL build
12 variable.
13 Default enable USE=vala, because various things are starting
14 to require it in a meson build world - already the case with
15 gnome-calculator.
16 Stop passing --disable-deprecations, as that actually adds
17 G_DISABLE_DEPRECATED and so on, which we actually do NOT want
18 to happen - but we ended up not having them anyways, as we
19 sed the configure logic to not add them. So this instructs
20 it to do the right thing, instead of relying on the eclass
21 logic to force us doing the right thing.
22
23 Bug: https://bugs.gentoo.org/665578
24 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
25 Package-Manager: Portage-2.3.52, Repoman-2.3.11
26
27 x11-libs/gtksourceview/Manifest | 1 +
28 x11-libs/gtksourceview/gtksourceview-3.24.9.ebuild | 57 ++++++++++++++++++++++
29 2 files changed, 58 insertions(+)
30
31 diff --git a/x11-libs/gtksourceview/Manifest b/x11-libs/gtksourceview/Manifest
32 index f14b7e10232..49933a55cf2 100644
33 --- a/x11-libs/gtksourceview/Manifest
34 +++ b/x11-libs/gtksourceview/Manifest
35 @@ -1,2 +1,3 @@
36 DIST gtksourceview-2.10.5.tar.bz2 1253321 BLAKE2B 810a3eeca69bab4356b21c64129bb852e00d02c7937ad4a2ce3af9e48700da943d8d6834efcce9810dd49a54f39d4a074dc086a557128da51a593b2f23e58d48 SHA512 6f64acef6196bfc5953e0b148d7e460d366073b5e21367c01b01fc4d1c86ffe8aca71ecd77cf0814e47d8fc3085495f25bbbdc69e746987b02fd02fcda64886d
37 DIST gtksourceview-3.24.8.tar.xz 1408964 BLAKE2B e406aa9f776821abfcc87333fc955b4f3ae334f73a8b1dfa0b123067df24bd4f473e326347c99df7dc6c97adbdde8739cb301e45ca70324f6e8de2ce9e1ea973 SHA512 84a02278344f9fe3c1b8f2440c6179feaea53df93061c63023d92bcaa1ec7ff8e95e1f3a463c23d8487c74492469f3dc367bcca3975ef169bf03925ecee7f7ff
38 +DIST gtksourceview-3.24.9.tar.xz 1414444 BLAKE2B 9d148fba03339c7dccca70822f498aea6423125af1a954e0c9f8ff9735141fc9e4f845c7172be5faf97e694445dc95d41d5d903ef5b5da3dd0ce7fe58b524ca7 SHA512 29b58afba1c0b473205cf7070997139d2ca07cf68d40185aa76fa59c900ad21c03ccb79dec9970e5f96743cfdb5a7d926b21a9947244bc8cf8cbd1033467cd01
39
40 diff --git a/x11-libs/gtksourceview/gtksourceview-3.24.9.ebuild b/x11-libs/gtksourceview/gtksourceview-3.24.9.ebuild
41 new file mode 100644
42 index 00000000000..f1f99c3904a
43 --- /dev/null
44 +++ b/x11-libs/gtksourceview/gtksourceview-3.24.9.ebuild
45 @@ -0,0 +1,57 @@
46 +# Copyright 1999-2018 Gentoo Authors
47 +# Distributed under the terms of the GNU General Public License v2
48 +
49 +EAPI="6"
50 +VALA_MIN_API_VERSION="0.24"
51 +VALA_USE_DEPEND="vapigen"
52 +
53 +inherit gnome2 vala virtualx
54 +
55 +DESCRIPTION="A text widget implementing syntax highlighting and other features"
56 +HOMEPAGE="https://wiki.gnome.org/Projects/GtkSourceView"
57 +
58 +LICENSE="GPL-2+ LGPL-2.1+"
59 +SLOT="3.0/3"
60 +
61 +IUSE="glade +introspection +vala"
62 +REQUIRED_USE="vala? ( introspection )"
63 +
64 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
65 +
66 +RDEPEND="
67 + >=dev-libs/glib-2.48:2
68 + >=dev-libs/libxml2-2.6:2
69 + >=x11-libs/gtk+-3.20:3[introspection?]
70 + glade? ( >=dev-util/glade-3.9:3.10 )
71 + introspection? ( >=dev-libs/gobject-introspection-1.42:= )
72 +"
73 +DEPEND="${RDEPEND}
74 + dev-util/glib-utils
75 + >=dev-util/gtk-doc-am-1.25
76 + >=sys-devel/gettext-0.19.4
77 + virtual/pkgconfig
78 + vala? ( $(vala_depend) )
79 +"
80 +
81 +src_prepare() {
82 + use vala && vala_src_prepare
83 + gnome2_src_prepare
84 +}
85 +
86 +src_configure() {
87 + gnome2_src_configure \
88 + $(use_enable glade glade-catalog) \
89 + $(use_enable introspection) \
90 + $(use_enable vala)
91 +}
92 +
93 +src_test() {
94 + virtx emake check
95 +}
96 +
97 +src_install() {
98 + gnome2_src_install
99 +
100 + insinto /usr/share/${PN}-3.0/language-specs
101 + doins "${FILESDIR}"/2.0/gentoo.lang
102 +}