Gentoo Archives: gentoo-commits

From: Matt Turner <mattst88@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: x11-libs/gtksourceview/
Date: Fri, 10 Sep 2021 01:25:18
Message-Id: 1631237099.0a1b1bc4a6cd1a435ac0a897809ad054c9da643e.mattst88@gentoo
1 commit: 0a1b1bc4a6cd1a435ac0a897809ad054c9da643e
2 Author: Matt Turner <mattst88 <AT> gentoo <DOT> org>
3 AuthorDate: Fri Sep 10 01:23:51 2021 +0000
4 Commit: Matt Turner <mattst88 <AT> gentoo <DOT> org>
5 CommitDate: Fri Sep 10 01:24:59 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0a1b1bc4
7
8 x11-libs/gtksourceview: Version bump to 4.8.2
9
10 Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>
11
12 x11-libs/gtksourceview/Manifest | 1 +
13 x11-libs/gtksourceview/gtksourceview-4.8.2.ebuild | 70 +++++++++++++++++++++++
14 2 files changed, 71 insertions(+)
15
16 diff --git a/x11-libs/gtksourceview/Manifest b/x11-libs/gtksourceview/Manifest
17 index d21ca1b3c8c..e0c490536db 100644
18 --- a/x11-libs/gtksourceview/Manifest
19 +++ b/x11-libs/gtksourceview/Manifest
20 @@ -1,3 +1,4 @@
21 DIST gtksourceview-2.10.5.tar.bz2 1253321 BLAKE2B 810a3eeca69bab4356b21c64129bb852e00d02c7937ad4a2ce3af9e48700da943d8d6834efcce9810dd49a54f39d4a074dc086a557128da51a593b2f23e58d48 SHA512 6f64acef6196bfc5953e0b148d7e460d366073b5e21367c01b01fc4d1c86ffe8aca71ecd77cf0814e47d8fc3085495f25bbbdc69e746987b02fd02fcda64886d
22 DIST gtksourceview-3.24.11.tar.xz 1438232 BLAKE2B a25762255a12887c8151465689e3acbd5864a6638044500acd087832888a092b8aad5d885d31c9dbe057ce183510afa2342bccb2a2675719dbba7e82be72368a SHA512 3490b34c6432a2e2ef292ad5bf982fdd22d33b1472434549b4ea8ddae0fc8808e128ef947e4d0dcb41e8de5e601b202f52532bbbbfa11d35050acfc42f9936b2
23 DIST gtksourceview-4.8.1.tar.xz 1160032 BLAKE2B 3ed93f056ca8c6ae1982e28a675ccec448c301999f058abc5b9ec46f609c2649ac807fc20379480a8eb00408496912e1554e08d55ce5da70a97cee34be10fc20 SHA512 fe3bc05e81f881b97a53e6dfb807ded314f1953ebe74424b515d6c1333e72011e3b756b958cca40becad0f66434cf16c56d42fff950b8d643e65c9a03e9cb88b
24 +DIST gtksourceview-4.8.2.tar.xz 1164876 BLAKE2B 3e6269b4e6a7147d5f4e0ed2096514a0e0bc29a928b73c0cd12eb207f2627c9eadde55ee81183b2a67fe5380fcd96c2335283a1f3da3f06303b7d2b65b49a09a SHA512 6951b9477b1e47b1b25756aef246630c948e8dd212b1b0e13f87ef4f56f39b59b02db3fd18315869e98acfc6454de13cfffa6eeb8fe1cd030dfd537b5f710a04
25
26 diff --git a/x11-libs/gtksourceview/gtksourceview-4.8.2.ebuild b/x11-libs/gtksourceview/gtksourceview-4.8.2.ebuild
27 new file mode 100644
28 index 00000000000..bf81d9a8aeb
29 --- /dev/null
30 +++ b/x11-libs/gtksourceview/gtksourceview-4.8.2.ebuild
31 @@ -0,0 +1,70 @@
32 +# Copyright 1999-2021 Gentoo Authors
33 +# Distributed under the terms of the GNU General Public License v2
34 +
35 +EAPI=7
36 +
37 +inherit gnome.org meson vala virtualx xdg
38 +
39 +DESCRIPTION="A text widget implementing syntax highlighting and other features"
40 +HOMEPAGE="https://wiki.gnome.org/Projects/GtkSourceView"
41 +
42 +LICENSE="LGPL-2.1+"
43 +SLOT="4"
44 +
45 +IUSE="glade gtk-doc +introspection +vala"
46 +REQUIRED_USE="vala? ( introspection )"
47 +
48 +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
49 +
50 +RDEPEND="
51 + >=dev-libs/glib-2.48:2
52 + >=x11-libs/gtk+-3.24:3[introspection?]
53 + >=dev-libs/libxml2-2.6:2
54 + glade? ( >=dev-util/glade-3.9:3.10 )
55 + introspection? ( >=dev-libs/gobject-introspection-1.42.0:= )
56 + >=dev-libs/fribidi-0.19.7
57 +"
58 +DEPEND="${RDEPEND}"
59 +BDEPEND="
60 + dev-util/glib-utils
61 + gtk-doc? (
62 + >=dev-util/gtk-doc-1.25
63 + app-text/docbook-xml-dtd:4.3
64 + )
65 + >=sys-devel/gettext-0.19.8
66 + virtual/pkgconfig
67 + vala? ( $(vala_depend) )
68 +"
69 +
70 +src_prepare() {
71 + use vala && vala_src_prepare
72 + xdg_src_prepare
73 +}
74 +
75 +src_configure() {
76 + local emesonargs=(
77 + $(meson_use glade glade_catalog)
78 + -Dinstall_tests=false
79 + $(meson_use introspection gir)
80 + $(meson_use vala vapi)
81 + $(meson_use gtk-doc gtk_doc)
82 + )
83 + meson_src_configure
84 +}
85 +
86 +src_test() {
87 + virtx meson_src_test
88 +}
89 +
90 +src_install() {
91 + meson_src_install
92 +
93 + insinto /usr/share/${PN}-4/language-specs
94 + newins "${FILESDIR}"/4.6-gentoo.lang gentoo.lang
95 +
96 + # Avoid conflict with gtksourceview:3.0 glade-catalog
97 + # TODO: glade doesn't actually show multiple GtkSourceView widget collections, so with both installed, can't really be sure which ones are used
98 + if use glade; then
99 + mv "${ED}"/usr/share/glade/catalogs/gtksourceview.xml "${ED}"/usr/share/glade/catalogs/gtksourceview-${SLOT}.xml || die
100 + fi
101 +}