1 |
ssuominen 09/05/11 20:21:32 |
2 |
|
3 |
Modified: substract_wave-0.3.ebuild ChangeLog |
4 |
Log: |
5 |
Fix Makefile to work with -Wl,--as-needed wrt #240484, thanks to Diego E. Pettenò. |
6 |
(Portage version: 2.1.6.13/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.3 media-sound/substract_wave/substract_wave-0.3.ebuild |
10 |
|
11 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/substract_wave/substract_wave-0.3.ebuild?rev=1.3&view=markup |
12 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/substract_wave/substract_wave-0.3.ebuild?rev=1.3&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/substract_wave/substract_wave-0.3.ebuild?r1=1.2&r2=1.3 |
14 |
|
15 |
Index: substract_wave-0.3.ebuild |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/substract_wave/substract_wave-0.3.ebuild,v |
18 |
retrieving revision 1.2 |
19 |
retrieving revision 1.3 |
20 |
diff -u -r1.2 -r1.3 |
21 |
--- substract_wave-0.3.ebuild 6 Feb 2009 14:10:48 -0000 1.2 |
22 |
+++ substract_wave-0.3.ebuild 11 May 2009 20:21:32 -0000 1.3 |
23 |
@@ -1,10 +1,9 @@ |
24 |
# Copyright 1999-2009 Gentoo Foundation |
25 |
# Distributed under the terms of the GNU General Public License v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/substract_wave/substract_wave-0.3.ebuild,v 1.2 2009/02/06 14:10:48 sbriesen Exp $ |
27 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/substract_wave/substract_wave-0.3.ebuild,v 1.3 2009/05/11 20:21:32 ssuominen Exp $ |
28 |
|
29 |
-inherit eutils toolchain-funcs flag-o-matic |
30 |
- |
31 |
-IUSE="" |
32 |
+EAPI=2 |
33 |
+inherit eutils toolchain-funcs |
34 |
|
35 |
DESCRIPTION="substracts 2 mono wave files from each other by a factor specified on the command line" |
36 |
HOMEPAGE="http://panteltje.com/panteltje/dvd/" |
37 |
@@ -12,20 +11,19 @@ |
38 |
|
39 |
LICENSE="GPL-2" |
40 |
SLOT="0" |
41 |
-KEYWORDS="~x86" |
42 |
+KEYWORDS="~amd64 ~x86" |
43 |
+IUSE="" |
44 |
|
45 |
-src_unpack() { |
46 |
- unpack ${A} |
47 |
- cd "${S}" |
48 |
- epatch "${FILESDIR}/${P}.diff" |
49 |
+src_prepare() { |
50 |
+ epatch "${FILESDIR}"/${P}-Makefile.patch |
51 |
} |
52 |
|
53 |
src_compile() { |
54 |
- append-flags -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE |
55 |
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LIBRARY="-lm" || die "emake failed" |
56 |
+ tc-export CC |
57 |
+ emake || die "emake failed" |
58 |
} |
59 |
|
60 |
src_install() { |
61 |
- dobin substract_wave |
62 |
- dodoc CHANGES README mono-stereo.txt substract_wave.man |
63 |
+ emake DESTDIR="${D}" install || die "emake install failed" |
64 |
+ dodoc CHANGES mono-stereo.txt README |
65 |
} |
66 |
|
67 |
|
68 |
|
69 |
1.3 media-sound/substract_wave/ChangeLog |
70 |
|
71 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/substract_wave/ChangeLog?rev=1.3&view=markup |
72 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/substract_wave/ChangeLog?rev=1.3&content-type=text/plain |
73 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-sound/substract_wave/ChangeLog?r1=1.2&r2=1.3 |
74 |
|
75 |
Index: ChangeLog |
76 |
=================================================================== |
77 |
RCS file: /var/cvsroot/gentoo-x86/media-sound/substract_wave/ChangeLog,v |
78 |
retrieving revision 1.2 |
79 |
retrieving revision 1.3 |
80 |
diff -u -r1.2 -r1.3 |
81 |
--- ChangeLog 6 Feb 2009 14:10:48 -0000 1.2 |
82 |
+++ ChangeLog 11 May 2009 20:21:32 -0000 1.3 |
83 |
@@ -1,6 +1,12 @@ |
84 |
# ChangeLog for media-sound/substract_wave |
85 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
86 |
-# $Header: /var/cvsroot/gentoo-x86/media-sound/substract_wave/ChangeLog,v 1.2 2009/02/06 14:10:48 sbriesen Exp $ |
87 |
+# $Header: /var/cvsroot/gentoo-x86/media-sound/substract_wave/ChangeLog,v 1.3 2009/05/11 20:21:32 ssuominen Exp $ |
88 |
+ |
89 |
+ 11 May 2009; Samuli Suominen <ssuominen@g.o> |
90 |
+ substract_wave-0.3.ebuild, +files/substract_wave-0.3-Makefile.patch, |
91 |
+ -files/substract_wave-0.3.diff: |
92 |
+ Fix Makefile to work with -Wl,--as-needed wrt #240484, thanks to Diego E. |
93 |
+ Pettenò. |
94 |
|
95 |
06 Feb 2009; Stefan Briesenick <sbriesen@g.o> |
96 |
substract_wave-0.3.ebuild: |