Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sci-geosciences/gtk-g-rays2/
Date: Tue, 25 May 2021 11:34:09
Message-Id: 1621942429.f28ff0b01d47374a864d205e4aeeb6890d9875d6.soap@gentoo
1 commit: f28ff0b01d47374a864d205e4aeeb6890d9875d6
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Tue May 25 11:33:49 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue May 25 11:33:49 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f28ff0b0
7
8 sci-geosciences/gtk-g-rays2: Port to EAPI 7
9
10 Package-Manager: Portage-3.0.19, Repoman-3.0.3
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 .../gtk-g-rays2/gtk-g-rays2-2.05.ebuild | 25 ++++++++--------------
14 1 file changed, 9 insertions(+), 16 deletions(-)
15
16 diff --git a/sci-geosciences/gtk-g-rays2/gtk-g-rays2-2.05.ebuild b/sci-geosciences/gtk-g-rays2/gtk-g-rays2-2.05.ebuild
17 index 00bc08d3f4c..cc7fe5207ea 100644
18 --- a/sci-geosciences/gtk-g-rays2/gtk-g-rays2-2.05.ebuild
19 +++ b/sci-geosciences/gtk-g-rays2/gtk-g-rays2-2.05.ebuild
20 @@ -1,7 +1,7 @@
21 # Copyright 1999-2021 Gentoo Authors
22 # Distributed under the terms of the GNU General Public License v2
23
24 -EAPI=5
25 +EAPI=7
26
27 inherit autotools gnome2
28
29 @@ -12,33 +12,26 @@ SRC_URI="http://www.zen35309.zen.co.uk/gps/${P}.tar.xz"
30 LICENSE="GPL-2"
31 SLOT="0"
32 KEYWORDS="amd64 x86"
33 -IUSE=""
34
35 RDEPEND="
36 - dev-libs/glib:2
37 dev-libs/dbus-glib
38 + dev-libs/glib:2
39 dev-libs/libgudev
40 + net-wireless/bluez
41 x11-libs/cairo
42 x11-libs/gtk+:3
43 - virtual/freedesktop-icon-theme
44 - net-wireless/bluez
45 -"
46 -DEPEND="${RDEPEND}
47 - virtual/pkgconfig
48 + virtual/freedesktop-icon-theme"
49 +DEPEND="${RDEPEND}"
50 +BDEPEND="
51 sys-devel/gettext
52 -"
53 -
54 -DOCS="README AUTHORS ChangeLog"
55 + virtual/pkgconfig"
56
57 src_prepare() {
58 + default
59 +
60 # werror is bad idea
61 sed -i -e 's:-Werror::g' configure.ac || die
62 # we run this ourselves
63 sed -i -e '/gtk-update-icon-cache/d' Makefile.am || die
64 eautoreconf
65 }
66 -
67 -src_configure() {
68 - econf \
69 - --docdir="${EPREFIX}/usr/share/doc/${PF}"
70 -}