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: Thu, 04 Apr 2019 11:03:29
Message-Id: 1554375564.286215dc75bb5722a582017018657c685d8761af.leio@gentoo
1 commit: 286215dc75bb5722a582017018657c685d8761af
2 Author: Mart Raudsepp <leio <AT> gentoo <DOT> org>
3 AuthorDate: Thu Apr 4 09:13:54 2019 +0000
4 Commit: Mart Raudsepp <leio <AT> gentoo <DOT> org>
5 CommitDate: Thu Apr 4 10:59:24 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=286215dc
7
8 gui-libs/tepl: New package needed by gnome-latex/latexila
9
10 This is essentially a new slot of x11-libs/gtef, but without
11 pkgmove, because that old gtef:2 will simply be last rited
12 instead soon, as the only gnome-latex version using gtef
13 (instead of internal code in older or tepl dep in newer)
14 will be removed as soon as x86 re-keywording is done.
15
16 Package-Manager: Portage-2.3.52, Repoman-2.3.12
17 Signed-off-by: Mart Raudsepp <leio <AT> gentoo.org>
18
19 gui-libs/tepl/Manifest | 1 +
20 gui-libs/tepl/metadata.xml | 8 ++++++
21 gui-libs/tepl/tepl-4.2.0.ebuild | 54 +++++++++++++++++++++++++++++++++++++++++
22 3 files changed, 63 insertions(+)
23
24 diff --git a/gui-libs/tepl/Manifest b/gui-libs/tepl/Manifest
25 new file mode 100644
26 index 00000000000..c1eef7a0038
27 --- /dev/null
28 +++ b/gui-libs/tepl/Manifest
29 @@ -0,0 +1 @@
30 +DIST tepl-4.2.0.tar.xz 456540 BLAKE2B 8861d2cdcddcb5b9e5aa58798835c0969dd12ce6c5ada69b5b97224f215bfdbf8ee0a7173d5c7cb2cc11894988351ce4df7a81e91e7b7036a48cc89e2cb9dd62 SHA512 32f69c6f0942a82e6b7f94eba776d55dce2af1c8e4c7abadf6af38a0a5abb0a94f0c426d5ec727b8eb478406ba113728b771597c2c84e508b8ccb113a74eab3d
31
32 diff --git a/gui-libs/tepl/metadata.xml b/gui-libs/tepl/metadata.xml
33 new file mode 100644
34 index 00000000000..996e7cacd21
35 --- /dev/null
36 +++ b/gui-libs/tepl/metadata.xml
37 @@ -0,0 +1,8 @@
38 +<?xml version="1.0" encoding="UTF-8"?>
39 +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
40 +<pkgmetadata>
41 + <maintainer type="project">
42 + <email>gnome@g.o</email>
43 + <name>Gentoo GNOME Desktop</name>
44 + </maintainer>
45 +</pkgmetadata>
46
47 diff --git a/gui-libs/tepl/tepl-4.2.0.ebuild b/gui-libs/tepl/tepl-4.2.0.ebuild
48 new file mode 100644
49 index 00000000000..0837cfd954b
50 --- /dev/null
51 +++ b/gui-libs/tepl/tepl-4.2.0.ebuild
52 @@ -0,0 +1,54 @@
53 +# Copyright 1999-2019 Gentoo Authors
54 +# Distributed under the terms of the GNU General Public License v2
55 +
56 +EAPI=6
57 +
58 +inherit gnome2 virtualx
59 +
60 +DESCRIPTION="GtkSourceView-based text editors and IDE helper library"
61 +HOMEPAGE="https://wiki.gnome.org/Projects/Gtef"
62 +
63 +LICENSE="LGPL-2.1+"
64 +SLOT="4"
65 +KEYWORDS="~amd64"
66 +IUSE="+introspection"
67 +
68 +RDEPEND="
69 + >=dev-libs/glib-2.52:2
70 + >=x11-libs/gtk+-3.22:3[introspection?]
71 + >=x11-libs/gtksourceview-4.0:4[introspection?]
72 + >=gui-libs/amtk-5.0:5[introspection?]
73 + >=dev-libs/libxml2-2.5:2
74 + app-i18n/uchardet
75 + introspection? ( >=dev-libs/gobject-introspection-1.42:= )
76 +"
77 +DEPEND="${DEPEND}
78 + >=sys-devel/gettext-0.19.4
79 + dev-util/glib-utils
80 + >=dev-util/gtk-doc-am-1.25
81 + virtual/pkgconfig
82 +"
83 +
84 +RESTRICT="!test? ( test )"
85 +
86 +src_prepare() {
87 + # requires running gvfs-metadata
88 + sed -e 's:\(g_test_add_func.*/file/load_save_metadata_sync.*\):/*\1*/:' \
89 + -e 's:\(g_test_add_func.*/file/load_save_metadata_async.*\):/*\1*/:' \
90 + -e 's:\(g_test_add_func.*/file/set_without_load.*\):/*\1*/:' \
91 + -i testsuite/test-file-metadata.c || die
92 +
93 + gnome2_src_prepare
94 +}
95 +
96 +src_configure() {
97 + # valgrind checks not ran by default and require suppression files not in locations where they'd be installed by other packages
98 + gnome2_src_configure \
99 + --enable-gvfs-metadata \
100 + --disable-valgrind \
101 + $(use_enable introspection)
102 +}
103 +
104 +src_test() {
105 + virtx emake check
106 +}