Gentoo Archives: gentoo-commits

From: David Seifert <soap@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-text/gv/
Date: Tue, 21 Jan 2020 21:51:29
Message-Id: 1579643447.edf03cb4225cb6705b5adc5d72754d1b819ec22b.soap@gentoo
1 commit: edf03cb4225cb6705b5adc5d72754d1b819ec22b
2 Author: David Seifert <soap <AT> gentoo <DOT> org>
3 AuthorDate: Tue Jan 21 21:50:47 2020 +0000
4 Commit: David Seifert <soap <AT> gentoo <DOT> org>
5 CommitDate: Tue Jan 21 21:50:47 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edf03cb4
7
8 app-text/gv: Port to EAPI 7
9
10 Package-Manager: Portage-2.3.84, Repoman-2.3.20
11 Signed-off-by: David Seifert <soap <AT> gentoo.org>
12
13 app-text/gv/gv-3.7.3.90.ebuild | 16 +++++++++-------
14 1 file changed, 9 insertions(+), 7 deletions(-)
15
16 diff --git a/app-text/gv/gv-3.7.3.90.ebuild b/app-text/gv/gv-3.7.3.90.ebuild
17 index 95b3ac253cc..9ceecd9b1cb 100644
18 --- a/app-text/gv/gv-3.7.3.90.ebuild
19 +++ b/app-text/gv/gv-3.7.3.90.ebuild
20 @@ -1,8 +1,9 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 +# Copyright 1999-2020 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI=5
26 -inherit eutils
27 +EAPI=7
28 +
29 +inherit desktop
30
31 DESCRIPTION="Viewer for PostScript and PDF documents using Ghostscript"
32 HOMEPAGE="https://www.gnu.org/software/gv/"
33 @@ -14,7 +15,8 @@ SLOT="0"
34 KEYWORDS="~alpha ~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
35 IUSE="xinerama"
36
37 -RDEPEND="app-text/ghostscript-gpl
38 +RDEPEND="
39 + app-text/ghostscript-gpl
40 x11-libs/libICE
41 x11-libs/libSM
42 x11-libs/libX11
43 @@ -25,10 +27,8 @@ RDEPEND="app-text/ghostscript-gpl
44 x11-libs/libXt
45 xinerama? ( x11-libs/libXinerama )"
46 DEPEND="${RDEPEND}
47 - virtual/pkgconfig
48 x11-base/xorg-proto"
49 -
50 -DOCS="AUTHORS ChangeLog NEWS README"
51 +BDEPEND="virtual/pkgconfig"
52
53 src_configure() {
54 export ac_cv_lib_Xinerama_main=$(usex xinerama)
55 @@ -36,7 +36,9 @@ src_configure() {
56 }
57
58 src_install() {
59 + rm README.{I18N,TRANSLATION} || die
60 default
61 +
62 doicon "${FILESDIR}"/gv_icon.xpm
63 make_desktop_entry gv GhostView gv_icon 'Graphics;Viewer'
64 }