Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-sound/alac_decoder: alac_decoder-0.1.3.ebuild alac_decoder-0.1.1.ebuild
Date: Fri, 05 Jun 2009 16:04:15
Message-Id: E1MCbtt-0007HE-Pf@stork.gentoo.org
1 ssuominen 09/06/05 16:04:13
2
3 Modified: alac_decoder-0.1.3.ebuild
4 Removed: alac_decoder-0.1.1.ebuild
5 Log:
6 Fix repoman warnings
7 (Portage version: 2.1.6.13/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.5 media-sound/alac_decoder/alac_decoder-0.1.3.ebuild
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alac_decoder/alac_decoder-0.1.3.ebuild?rev=1.5&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alac_decoder/alac_decoder-0.1.3.ebuild?rev=1.5&content-type=text/plain
14 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/alac_decoder/alac_decoder-0.1.3.ebuild?r1=1.4&r2=1.5
15
16 Index: alac_decoder-0.1.3.ebuild
17 ===================================================================
18 RCS file: /var/cvsroot/gentoo-x86/media-sound/alac_decoder/alac_decoder-0.1.3.ebuild,v
19 retrieving revision 1.4
20 retrieving revision 1.5
21 diff -u -r1.4 -r1.5
22 --- alac_decoder-0.1.3.ebuild 7 Oct 2008 12:56:23 -0000 1.4
23 +++ alac_decoder-0.1.3.ebuild 5 Jun 2009 16:04:13 -0000 1.5
24 @@ -1,7 +1,8 @@
25 -# Copyright 1999-2008 Gentoo Foundation
26 +# Copyright 1999-2009 Gentoo Foundation
27 # Distributed under the terms of the GNU General Public License v2
28 -# $Header: /var/cvsroot/gentoo-x86/media-sound/alac_decoder/alac_decoder-0.1.3.ebuild,v 1.4 2008/10/07 12:56:23 nixnut Exp $
29 +# $Header: /var/cvsroot/gentoo-x86/media-sound/alac_decoder/alac_decoder-0.1.3.ebuild,v 1.5 2009/06/05 16:04:13 ssuominen Exp $
30
31 +EAPI=2
32 inherit eutils toolchain-funcs
33
34 DESCRIPTION="Basic decoder for Apple Lossless Audio Codec files (ALAC)"
35 @@ -12,23 +13,21 @@
36 SLOT="0"
37 KEYWORDS="amd64 ppc x86"
38 IUSE=""
39 -DEPEND=""
40
41 -S="${WORKDIR}/${PN}"
42 +RDEPEND=""
43 +DEPEND="sys-apps/sed"
44
45 -src_unpack() {
46 - unpack ${A}
47 - cd "${S}"
48 +S=${WORKDIR}/${PN}
49
50 - # add $LDFLAGS to link command
51 - sed -i -e "s:\(-o alac\):\$(LDFLAGS) \1:g" Makefile
52 +src_prepare() {
53 + sed -i -e "s:\(-o alac\):\$(LDFLAGS) \1:g" Makefile || die "sed failed"
54 }
55
56 src_compile() {
57 - emake CC=$(tc-getCC) CFLAGS="${CFLAGS}" || die "emake failed"
58 + emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" || die "emake failed"
59 }
60
61 src_install() {
62 - dobin alac || die "install failed"
63 + dobin alac || die "dobin failed"
64 dodoc README
65 }