Gentoo Archives: gentoo-commits

From: Tim Harder <radhermit@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: media-gfx/jhead/
Date: Thu, 31 Aug 2017 11:47:27
Message-Id: 1504179603.9cb9e3a9ad016989a1d8f020769819e4542ac28c.radhermit@gentoo
1 commit: 9cb9e3a9ad016989a1d8f020769819e4542ac28c
2 Author: Tim Harder <radhermit <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 31 11:40:03 2017 +0000
4 Commit: Tim Harder <radhermit <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 31 11:40:03 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9cb9e3a9
7
8 media-gfx/jhead: update 3.00 to EAPI 6
9
10 media-gfx/jhead/jhead-3.00.ebuild | 15 ++++++++-------
11 1 file changed, 8 insertions(+), 7 deletions(-)
12
13 diff --git a/media-gfx/jhead/jhead-3.00.ebuild b/media-gfx/jhead/jhead-3.00.ebuild
14 index abefd9b35e6..a2d8d93f35b 100644
15 --- a/media-gfx/jhead/jhead-3.00.ebuild
16 +++ b/media-gfx/jhead/jhead-3.00.ebuild
17 @@ -1,9 +1,9 @@
18 -# Copyright 1999-2015 Gentoo Foundation
19 +# Copyright 1999-2017 Gentoo Foundation
20 # Distributed under the terms of the GNU General Public License v2
21
22 -EAPI=5
23 +EAPI=6
24
25 -inherit eutils toolchain-funcs
26 +inherit toolchain-funcs
27
28 DESCRIPTION="Exif Jpeg camera setting parser and thumbnail remover"
29 HOMEPAGE="http://www.sentex.net/~mwandel/jhead"
30 @@ -14,10 +14,10 @@ SLOT="0"
31 KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
32 IUSE=""
33
34 -src_prepare() {
35 +PATCHES=(
36 # bug 275200 - respect flags and use mktemp instead of mkstemp
37 - epatch "${FILESDIR}"/${PN}-2.90-mkstemp_respect_flags.patch
38 -}
39 + "${FILESDIR}"/${PN}-2.90-mkstemp_respect_flags.patch
40 +)
41
42 src_compile() {
43 emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
44 @@ -26,6 +26,7 @@ src_compile() {
45 src_install() {
46 dobin ${PN}
47 dodoc *.txt
48 - dohtml *.html
49 + docinto html
50 + dodoc *.html
51 doman ${PN}.1
52 }