Gentoo Archives: gentoo-commits

From: Sam James <sam@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/gtx/
Date: Sat, 27 Feb 2021 01:00:32
Message-Id: 1614387602.b1347a65edfb1d7da023e75827b16b670eff71a7.sam@gentoo
1 commit: b1347a65edfb1d7da023e75827b16b670eff71a7
2 Author: Sam James <sam <AT> gentoo <DOT> org>
3 AuthorDate: Fri Feb 26 23:23:49 2021 +0000
4 Commit: Sam James <sam <AT> gentoo <DOT> org>
5 CommitDate: Sat Feb 27 01:00:02 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1347a65
7
8 dev-libs/gtx: port to EAPI 7
9
10 Package-Manager: Portage-3.0.15, Repoman-3.0.2
11 Signed-off-by: Sam James <sam <AT> gentoo.org>
12
13 dev-libs/gtx/gtx-0.2.2-r1.ebuild | 43 ++++++++++++++++++++++++++++++++++++++++
14 1 file changed, 43 insertions(+)
15
16 diff --git a/dev-libs/gtx/gtx-0.2.2-r1.ebuild b/dev-libs/gtx/gtx-0.2.2-r1.ebuild
17 new file mode 100644
18 index 00000000000..7354843939d
19 --- /dev/null
20 +++ b/dev-libs/gtx/gtx-0.2.2-r1.ebuild
21 @@ -0,0 +1,43 @@
22 +# Copyright 1999-2021 Gentoo Authors
23 +# Distributed under the terms of the GNU General Public License v2
24 +
25 +EAPI=7
26 +
27 +inherit autotools
28 +
29 +DESCRIPTION="Small collection of functions intended to enhance the GLib testing framework"
30 +HOMEPAGE="https://launchpad.net/gtx"
31 +SRC_URI="https://launchpad.net/gtx/trunk/${PV}/+download/${P}.tar.gz"
32 +
33 +SLOT="0"
34 +LICENSE="LGPL-2.1"
35 +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
36 +IUSE="debug"
37 +
38 +RDEPEND="dev-libs/glib:2"
39 +DEPEND="${RDEPEND}"
40 +
41 +PATCHES=(
42 + "${FILESDIR}"/${P}-docdir.patch
43 + "${FILESDIR}"/${P}-debug.patch
44 + "${FILESDIR}"/${P}-glib.h.patch )
45 +
46 +src_prepare() {
47 + default
48 + eautoreconf
49 +}
50 +
51 +src_configure() {
52 + local myeconfargs=(
53 + $(use_enable debug)
54 + )
55 +
56 + econf "${myeconfargs[@]}"
57 +}
58 +
59 +src_install() {
60 + default
61 +
62 + find "${ED}" -name '*.a' -delete || die
63 + find "${ED}" -name '*.la' -delete || die
64 +}