Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/colorhug-client/
Date: Fri, 16 Jul 2021 23:24:31
Message-Id: 1626477856.946b6aec2468bd6a96b4d1d8028496f828b6830b.soap@gentoo
1 commit: 946b6aec2468bd6a96b4d1d8028496f828b6830b
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Fri Jul 16 23:24:16 2021 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Fri Jul 16 23:24:16 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=946b6aec
7
8 media-gfx/colorhug-client: Port to EAPI 7
9
10 Package-Manager: Portage-3.0.20, Repoman-3.0.3
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 .../colorhug-client/colorhug-client-0.2.8.ebuild | 24 +++++++++-------------
14 1 file changed, 10 insertions(+), 14 deletions(-)
15
16 diff --git a/media-gfx/colorhug-client/colorhug-client-0.2.8.ebuild b/media-gfx/colorhug-client/colorhug-client-0.2.8.ebuild
17 index 4e4b403c650..8113155736c 100644
18 --- a/media-gfx/colorhug-client/colorhug-client-0.2.8.ebuild
19 +++ b/media-gfx/colorhug-client/colorhug-client-0.2.8.ebuild
20 @@ -1,10 +1,9 @@
21 -# Copyright 1999-2015 Gentoo Foundation
22 +# Copyright 1999-2021 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=5
26 -GCONF_DEBUG="no"
27 +EAPI=7
28
29 -inherit bash-completion-r1 eutils gnome2
30 +inherit bash-completion-r1 xdg
31
32 DESCRIPTION="Client tools for the ColorHug display colorimeter"
33 HOMEPAGE="http://www.hughski.com/"
34 @@ -13,8 +12,6 @@ SRC_URI="https://people.freedesktop.org/~hughsient/releases/${P}.tar.xz"
35 LICENSE="GPL-2"
36 SLOT="0"
37 KEYWORDS="amd64 x86"
38 -IUSE=""
39 -
40 # Tests need valgrind, that needs glibc with debugging symbols
41 RESTRICT="test"
42
43 @@ -27,25 +24,24 @@ RDEPEND="
44 net-libs/libsoup:2.4
45 >=x11-libs/gtk+-3.11.2:3
46 >=x11-misc/colord-1.2.9:0=
47 - >=x11-libs/colord-gtk-0.1.24
48 -"
49 -DEPEND="${RDEPEND}
50 + >=x11-libs/colord-gtk-0.1.24"
51 +DEPEND="${RDEPEND}"
52 +# docbook stuff needed for man pages
53 +BDEPEND="
54 app-text/docbook-sgml-dtd:4.1
55 app-text/docbook-sgml-utils
56 app-text/yelp-tools
57 >=dev-util/intltool-0.50
58 >=sys-devel/gettext-0.17
59 - virtual/pkgconfig
60 -"
61 -# docbook stuff needed for man pages
62 + virtual/pkgconfig"
63
64 src_configure() {
65 # introspection checked but not needed by anything
66 # Install completions manually to prevent dependency on bash-completion, bug #546166
67 - gnome2_src_configure --disable-introspection --disable-bash-completion
68 + econf --disable-introspection --disable-bash-completion
69 }
70
71 src_install() {
72 - gnome2_src_install
73 + default
74 dobashcomp data/bash/colorhug-cmd
75 }