Gentoo Archives: gentoo-commits

From: "Justin Lecher (jlec)" <jlec@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-gfx/crwinfo: ChangeLog crwinfo-0.2.ebuild
Date: Sun, 01 Jul 2012 10:40:38
Message-Id: 20120701104027.74B372004B@flycatcher.gentoo.org
1 jlec 12/07/01 10:40:27
2
3 Modified: ChangeLog crwinfo-0.2.ebuild
4 Log:
5 media-gfx/crwinfo: Respect LDFLAGS, #337406; bumped to EAPI=4
6
7 (Portage version: 2.2.0_alpha114/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.5 media-gfx/crwinfo/ChangeLog
11
12 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/crwinfo/ChangeLog?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/crwinfo/ChangeLog?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/crwinfo/ChangeLog?r1=1.4&r2=1.5
15
16 Index: ChangeLog
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-gfx/crwinfo/ChangeLog,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- ChangeLog 21 Apr 2008 17:30:22 -0000 1.4
23 +++ ChangeLog 1 Jul 2012 10:40:27 -0000 1.5
24 @@ -1,6 +1,9 @@
25 # ChangeLog for media-gfx/crwinfo
26 -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
27 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/crwinfo/ChangeLog,v 1.4 2008/04/21 17:30:22 phreak Exp $
28 +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
29 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/crwinfo/ChangeLog,v 1.5 2012/07/01 10:40:27 jlec Exp $
30 +
31 + 01 Jul 2012; Justin Lecher <jlec@g.o> crwinfo-0.2.ebuild:
32 + Respect LDFLAGS, #337406; bumped to EAPI=4
33
34 21 Apr 2008; Christian Heim <phreak@g.o> metadata.xml:
35 Fix up metadata.xml. If there's no maintainer for the package, the metadata
36
37
38
39 1.3 media-gfx/crwinfo/crwinfo-0.2.ebuild
40
41 file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/crwinfo/crwinfo-0.2.ebuild?rev=1.3&view=markup
42 plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/crwinfo/crwinfo-0.2.ebuild?rev=1.3&content-type=text/plain
43 diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-gfx/crwinfo/crwinfo-0.2.ebuild?r1=1.2&r2=1.3
44
45 Index: crwinfo-0.2.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/media-gfx/crwinfo/crwinfo-0.2.ebuild,v
48 retrieving revision 1.2
49 retrieving revision 1.3
50 diff -u -r1.2 -r1.3
51 --- crwinfo-0.2.ebuild 23 Sep 2009 15:10:44 -0000 1.2
52 +++ crwinfo-0.2.ebuild 1 Jul 2012 10:40:27 -0000 1.3
53 @@ -1,30 +1,31 @@
54 -# Copyright 1999-2009 Gentoo Foundation
55 +# Copyright 1999-2012 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/media-gfx/crwinfo/crwinfo-0.2.ebuild,v 1.2 2009/09/23 15:10:44 ssuominen Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/media-gfx/crwinfo/crwinfo-0.2.ebuild,v 1.3 2012/07/01 10:40:27 jlec Exp $
59
60 -inherit eutils
61 +EAPI=4
62 +
63 +inherit eutils toolchain-funcs
64
65 DESCRIPTION="Canon raw image (CRW) information and thumbnail extractor"
66 HOMEPAGE="http://freshmeat.net/projects/crwinfo/"
67 SRC_URI="http://neuemuenze.heim1.tu-clausthal.de/~sven/crwinfo/CRWInfo-${PV}.tar.gz"
68 -S="${WORKDIR}/CRWInfo-${PV}"
69
70 LICENSE="GPL-2"
71 SLOT="0"
72 KEYWORDS="x86 ppc sparc amd64 alpha ia64 hppa ppc64"
73 IUSE=""
74
75 -src_unpack() {
76 - unpack ${A}
77 - cd "${S}"
78 - epatch "${FILESDIR}"/${P}.patch
79 -}
80 +S="${WORKDIR}/CRWInfo-${PV}"
81
82 -src_compile() {
83 - emake || die
84 +src_prepare() {
85 + epatch "${FILESDIR}"/${P}.patch
86 + sed \
87 + -e '/gcc/s:^.*$:\t$(CC) $(CFLAGS) -Wall -c crwinfo.c\n\t$(CC) $(LDFLAGS) -o crwinfo crwinfo.o:g' \
88 + -i Makefile || die
89 + tc-export CC
90 }
91
92 src_install() {
93 - dobin crwinfo || die
94 + dobin crwinfo
95 dodoc README spec
96 }