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/ssrc: ChangeLog ssrc-1.30.ebuild
Date: Fri, 19 Jun 2009 14:04:17
Message-Id: E1MHehT-0007xh-71@stork.gentoo.org
1 ssuominen 09/06/19 14:04:15
2
3 Modified: ChangeLog ssrc-1.30.ebuild
4 Log:
5 Update Makefile patch to respect CC and CFLAGS.
6 (Portage version: 2.2_rc33/cvs/Linux x86_64)
7
8 Revision Changes Path
9 1.8 media-sound/ssrc/ChangeLog
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ssrc/ChangeLog?rev=1.8&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ssrc/ChangeLog?rev=1.8&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ssrc/ChangeLog?r1=1.7&r2=1.8
14
15 Index: ChangeLog
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/media-sound/ssrc/ChangeLog,v
18 retrieving revision 1.7
19 retrieving revision 1.8
20 diff -u -r1.7 -r1.8
21 --- ChangeLog 6 Jan 2007 21:19:56 -0000 1.7
22 +++ ChangeLog 19 Jun 2009 14:04:15 -0000 1.8
23 @@ -1,6 +1,10 @@
24 # ChangeLog for media-sound/ssrc
25 -# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
26 -# $Header: /var/cvsroot/gentoo-x86/media-sound/ssrc/ChangeLog,v 1.7 2007/01/06 21:19:56 aballier Exp $
27 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
28 +# $Header: /var/cvsroot/gentoo-x86/media-sound/ssrc/ChangeLog,v 1.8 2009/06/19 14:04:15 ssuominen Exp $
29 +
30 + 19 Jun 2009; Samuli Suominen <ssuominen@g.o> ssrc-1.30.ebuild,
31 + files/ssrc-1.30-makefile.patch:
32 + Update Makefile patch to respect CC and CFLAGS.
33
34 *ssrc-1.30 (06 Jan 2007)
35
36
37
38
39 1.3 media-sound/ssrc/ssrc-1.30.ebuild
40
41 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ssrc/ssrc-1.30.ebuild?rev=1.3&view=markup
42 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ssrc/ssrc-1.30.ebuild?rev=1.3&content-type=text/plain
43 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/ssrc/ssrc-1.30.ebuild?r1=1.2&r2=1.3
44
45 Index: ssrc-1.30.ebuild
46 ===================================================================
47 RCS file: /var/cvsroot/gentoo-x86/media-sound/ssrc/ssrc-1.30.ebuild,v
48 retrieving revision 1.2
49 retrieving revision 1.3
50 diff -u -r1.2 -r1.3
51 --- ssrc-1.30.ebuild 11 Jul 2007 19:30:24 -0000 1.2
52 +++ ssrc-1.30.ebuild 19 Jun 2009 14:04:15 -0000 1.3
53 @@ -1,37 +1,33 @@
54 -# Copyright 1999-2007 Gentoo Foundation
55 +# Copyright 1999-2009 Gentoo Foundation
56 # Distributed under the terms of the GNU General Public License v2
57 -# $Header: /var/cvsroot/gentoo-x86/media-sound/ssrc/ssrc-1.30.ebuild,v 1.2 2007/07/11 19:30:24 mr_bones_ Exp $
58 +# $Header: /var/cvsroot/gentoo-x86/media-sound/ssrc/ssrc-1.30.ebuild,v 1.3 2009/06/19 14:04:15 ssuominen Exp $
59
60 -inherit eutils
61 +EAPI=2
62 +inherit eutils flag-o-matic toolchain-funcs
63
64 DESCRIPTION="A fast and high quality sampling rate converter"
65 HOMEPAGE="http://shibatch.sourceforge.net"
66 SRC_URI="http://shibatch.sf.net/download/${P}.tgz"
67 +
68 LICENSE="LGPL-2.1"
69 SLOT="0"
70 -
71 -#-sparc: kde's pop.wav "Error: Only PCM is supported."
72 -
73 -KEYWORDS="~x86 ~amd64 -sparc"
74 +KEYWORDS="~amd64 ~sparc ~x86"
75 IUSE=""
76
77 -RDEPEND="virtual/libc"
78 +RDEPEND=""
79 DEPEND="app-arch/unzip"
80
81 -src_unpack() {
82 - unpack ${A}
83 - cd "${S}"
84 -
85 - epatch "${FILESDIR}/${P}-makefile.patch"
86 +src_prepare() {
87 + epatch "${FILESDIR}"/${P}-makefile.patch
88 }
89
90 src_compile() {
91 - # Local CFLAGS should overwrite the ones in the Makefile
92 - emake -e || die
93 + use sparc && append-cflags -DBIGENDIAN
94 + tc-export CC
95 + emake || die "emake failed"
96 }
97
98 src_install() {
99 - dobin ssrc
100 - dobin ssrc_hp
101 - dodoc ssrc.txt history.txt
102 + dobin ssrc{,_hp} || die "dobin failed"
103 + dodoc {history,ssrc}.txt
104 }