Gentoo Archives: gentoo-commits

From: Andreas Sturmlechner <asturm@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/pngcheck/
Date: Sat, 27 Oct 2018 15:57:19
Message-Id: 1540655675.54c2580a88455cca5fdfed46508513cc2d1977bd.asturm@gentoo
1 commit: 54c2580a88455cca5fdfed46508513cc2d1977bd
2 Author: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
3 AuthorDate: Sat Oct 27 15:02:11 2018 +0000
4 Commit: Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
5 CommitDate: Sat Oct 27 15:54:35 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=54c2580a
7
8 media-gfx/pngcheck: EAPI7, drop superfluous || die
9
10 Closes: https://bugs.gentoo.org/666296
11 Thanks-to: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
12 Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>
13
14 media-gfx/pngcheck/pngcheck-2.3.0.ebuild | 13 +++++++------
15 1 file changed, 7 insertions(+), 6 deletions(-)
16
17 diff --git a/media-gfx/pngcheck/pngcheck-2.3.0.ebuild b/media-gfx/pngcheck/pngcheck-2.3.0.ebuild
18 index 9731e7c72fb..4358988b8ba 100644
19 --- a/media-gfx/pngcheck/pngcheck-2.3.0.ebuild
20 +++ b/media-gfx/pngcheck/pngcheck-2.3.0.ebuild
21 @@ -1,10 +1,11 @@
22 -# Copyright 1999-2012 Gentoo Foundation
23 +# Copyright 1999-2018 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 -EAPI=2
27 +EAPI=7
28 +
29 inherit toolchain-funcs
30
31 -DESCRIPTION="verifies the integrity of PNG, JNG and MNG files with internal checksums"
32 +DESCRIPTION="Verifies the integrity of PNG, JNG and MNG files with internal checksums"
33 HOMEPAGE="http://www.libpng.org/pub/png/apps/pngcheck.html"
34 SRC_URI="mirror://sourceforge/png-mng/${P}.tar.gz"
35
36 @@ -20,10 +21,10 @@ src_compile() {
37 emake -f Makefile.unx \
38 CC="$(tc-getCC)" \
39 CFLAGS="${LDFLAGS} ${CFLAGS} -DUSE_ZLIB" \
40 - ZLIB="-lz" || die
41 + ZLIB="-lz"
42 }
43
44 src_install() {
45 - dobin png{check,split,-fix-IDAT-windowsize} || die
46 - dodoc CHANGELOG README
47 + dobin png{check,split,-fix-IDAT-windowsize}
48 + einstalldocs
49 }