1 |
ssuominen 10/08/24 02:54:21 |
2 |
|
3 |
Modified: ChangeLog speex-1.2_rc1.ebuild |
4 |
Log: |
5 |
Use append-lfs-flags. USE static-libs and punt .la files. |
6 |
(Portage version: 2.2_rc67/cvs/Linux x86_64) |
7 |
|
8 |
Revision Changes Path |
9 |
1.95 media-libs/speex/ChangeLog |
10 |
|
11 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/speex/ChangeLog?rev=1.95&view=markup |
12 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/speex/ChangeLog?rev=1.95&content-type=text/plain |
13 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/speex/ChangeLog?r1=1.94&r2=1.95 |
14 |
|
15 |
Index: ChangeLog |
16 |
=================================================================== |
17 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/speex/ChangeLog,v |
18 |
retrieving revision 1.94 |
19 |
retrieving revision 1.95 |
20 |
diff -u -r1.94 -r1.95 |
21 |
--- ChangeLog 11 Dec 2009 19:59:55 -0000 1.94 |
22 |
+++ ChangeLog 24 Aug 2010 02:54:21 -0000 1.95 |
23 |
@@ -1,6 +1,9 @@ |
24 |
# ChangeLog for media-libs/speex |
25 |
-# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
26 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/ChangeLog,v 1.94 2009/12/11 19:59:55 ranger Exp $ |
27 |
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/ChangeLog,v 1.95 2010/08/24 02:54:21 ssuominen Exp $ |
29 |
+ |
30 |
+ 24 Aug 2010; Samuli Suominen <ssuominen@g.o> speex-1.2_rc1.ebuild: |
31 |
+ Use append-lfs-flags. USE static-libs and punt .la files. |
32 |
|
33 |
11 Dec 2009; Brent Baude <ranger@g.o> speex-1.2_rc1.ebuild: |
34 |
Marking speex-1.2_rc1 ppc64 for bug 289701 |
35 |
|
36 |
|
37 |
|
38 |
1.9 media-libs/speex/speex-1.2_rc1.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/speex/speex-1.2_rc1.ebuild?rev=1.9&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/speex/speex-1.2_rc1.ebuild?rev=1.9&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/speex/speex-1.2_rc1.ebuild?r1=1.8&r2=1.9 |
43 |
|
44 |
Index: speex-1.2_rc1.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/speex/speex-1.2_rc1.ebuild,v |
47 |
retrieving revision 1.8 |
48 |
retrieving revision 1.9 |
49 |
diff -u -r1.8 -r1.9 |
50 |
--- speex-1.2_rc1.ebuild 11 Dec 2009 19:59:55 -0000 1.8 |
51 |
+++ speex-1.2_rc1.ebuild 24 Aug 2010 02:54:21 -0000 1.9 |
52 |
@@ -1,7 +1,8 @@ |
53 |
-# Copyright 1999-2009 Gentoo Foundation |
54 |
+# Copyright 1999-2010 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/speex-1.2_rc1.ebuild,v 1.8 2009/12/11 19:59:55 ranger Exp $ |
57 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/speex/speex-1.2_rc1.ebuild,v 1.9 2010/08/24 02:54:21 ssuominen Exp $ |
58 |
|
59 |
+EAPI=2 |
60 |
inherit autotools eutils flag-o-matic |
61 |
|
62 |
MY_P=${P/_} ; MY_P=${MY_P/_p/.} |
63 |
@@ -13,34 +14,36 @@ |
64 |
LICENSE="BSD" |
65 |
SLOT="0" |
66 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd" |
67 |
-IUSE="ogg sse" |
68 |
+IUSE="ogg sse static-libs" |
69 |
|
70 |
RDEPEND="ogg? ( media-libs/libogg )" |
71 |
DEPEND="${RDEPEND}" |
72 |
|
73 |
S=${WORKDIR}/${MY_P} |
74 |
|
75 |
-src_unpack() { |
76 |
- unpack ${A} |
77 |
- cd "${S}" |
78 |
+src_prepare() { |
79 |
epatch "${FILESDIR}"/${P}-configure.patch |
80 |
|
81 |
- sed -i -e 's:noinst_PROGRAMS:check_PROGRAMS:' \ |
82 |
- "${S}"/libspeex/Makefile.am \ |
83 |
- || die "unable to disable tests building" |
84 |
+ sed -i \ |
85 |
+ -e 's:noinst_PROGRAMS:check_PROGRAMS:' \ |
86 |
+ libspeex/Makefile.am || die |
87 |
+ |
88 |
eautoreconf |
89 |
} |
90 |
|
91 |
-src_compile() { |
92 |
- append-flags -D_FILE_OFFSET_BITS=64 |
93 |
+src_configure() { |
94 |
+ append-lfs-flags |
95 |
|
96 |
- econf $(use_enable sse) $(use_enable ogg) |
97 |
- emake || die "emake failed." |
98 |
+ econf \ |
99 |
+ $(use_enable static-libs static) \ |
100 |
+ --disable-dependency-tracking \ |
101 |
+ $(use_enable sse) \ |
102 |
+ $(use_enable ogg) |
103 |
} |
104 |
|
105 |
src_install() { |
106 |
- emake DESTDIR="${D}" docdir="/usr/share/doc/${PF}" \ |
107 |
- install || die "emake install failed." |
108 |
- |
109 |
+ emake DESTDIR="${D}" docdir=/usr/share/doc/${PF} install || die |
110 |
dodoc AUTHORS ChangeLog NEWS README* TODO |
111 |
+ |
112 |
+ find "${D}" -name '*.la' -exec rm -f '{}' + |
113 |
} |