Gentoo Archives: gentoo-commits

From: Mart Raudsepp <leio@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: gui-libs/tepl/
Date: Sun, 16 Aug 2020 21:02:21
Message-Id: 1597611683.97c9527f83bb04ef0b785c26687e13b0630e8af6.leio@gentoo
1 commit: 97c9527f83bb04ef0b785c26687e13b0630e8af6
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Sun Aug 16 20:38:54 2020 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Sun Aug 16 21:01:23 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97c9527f
7
8 gui-libs/tepl: bump to 4.4.0
9
10 Package-Manager: Portage-2.3.103, Repoman-2.3.20
11 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
12
13 gui-libs/tepl/Manifest | 1 +
14 gui-libs/tepl/tepl-4.4.0.ebuild | 54 +++++++++++++++++++++++++++++++++++++++++
15 2 files changed, 55 insertions(+)
16
17 diff --git a/gui-libs/tepl/Manifest b/gui-libs/tepl/Manifest
18 index de22d78aa97..0c618661299 100644
19 --- a/gui-libs/tepl/Manifest
20 +++ b/gui-libs/tepl/Manifest
21 @@ -1 +1,2 @@
22 DIST tepl-4.2.1.tar.xz 464120 BLAKE2B 74146cdf837923ab1a8e843e189bd83b2c7d7ae9cbf03ce4f3dbbbbfee1f47dffcda537ad8133cdf1b4efd747f0ee60092ddab029a67282b71fdc52d51564dc4 SHA512 c1b848cf1d336efdc2971e16060baf721e9019e6e6827bd755235c9dd37ae47803343e51888d9dd5817b6127bb1ba05a19d4a1be0caab9d2de125bc0cd8175a7
23 +DIST tepl-4.4.0.tar.xz 466576 BLAKE2B fe9d9c625a3febe6fc71e5972b864b0d732b7f75bcc114a391d7f94b2fc242fe7c5199e61d5a69a8ceccb845fffcf830d6071adb1ecda5e223d453d029ed3398 SHA512 2050c28f9564034bea7c44d3fa27784ab87503c2db6cf35e6389c40ca78722b092fbc52df5fdfc85cc1e39a9dc3c0e30fa7993fb63411b0240f3a6ac9607c282
24
25 diff --git a/gui-libs/tepl/tepl-4.4.0.ebuild b/gui-libs/tepl/tepl-4.4.0.ebuild
26 new file mode 100644
27 index 00000000000..43b7ec06cd1
28 --- /dev/null
29 +++ b/gui-libs/tepl/tepl-4.4.0.ebuild
30 @@ -0,0 +1,54 @@
31 +# Copyright 1999-2020 Gentoo Authors
32 +# Distributed under the terms of the GNU General Public License v2
33 +
34 +EAPI=6
35 +
36 +inherit gnome2 virtualx
37 +
38 +DESCRIPTION="GtkSourceView-based text editors and IDE helper library"
39 +HOMEPAGE="https://wiki.gnome.org/Projects/Gtef"
40 +
41 +LICENSE="LGPL-2.1+"
42 +SLOT="4"
43 +KEYWORDS="~amd64 ~x86"
44 +IUSE="+introspection"
45 +
46 +RDEPEND="
47 + >=dev-libs/glib-2.52:2
48 + >=x11-libs/gtk+-3.22:3[introspection?]
49 + >=x11-libs/gtksourceview-4.0:4[introspection?]
50 + >=gui-libs/amtk-5.0:5[introspection?]
51 + >=dev-libs/libxml2-2.5:2
52 + app-i18n/uchardet
53 + introspection? ( >=dev-libs/gobject-introspection-1.42:= )
54 +"
55 +DEPEND="${DEPEND}
56 + >=sys-devel/gettext-0.19.6
57 + dev-util/glib-utils
58 + >=dev-util/gtk-doc-am-1.25
59 + virtual/pkgconfig
60 +"
61 +
62 +RESTRICT="!test? ( test )"
63 +
64 +src_prepare() {
65 + # requires running gvfs-metadata
66 + sed -e 's:\(g_test_add_func.*/file/load_save_metadata_sync.*\):/*\1*/:' \
67 + -e 's:\(g_test_add_func.*/file/load_save_metadata_async.*\):/*\1*/:' \
68 + -e 's:\(g_test_add_func.*/file/set_without_load.*\):/*\1*/:' \
69 + -i testsuite/test-file-metadata.c || die
70 +
71 + gnome2_src_prepare
72 +}
73 +
74 +src_configure() {
75 + # valgrind checks not ran by default and require suppression files not in locations where they'd be installed by other packages
76 + gnome2_src_configure \
77 + --enable-gvfs-metadata \
78 + --disable-valgrind \
79 + $(use_enable introspection)
80 +}
81 +
82 +src_test() {
83 + virtx emake check
84 +}