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