1 |
ssuominen 11/04/04 16:40:17 |
2 |
|
3 |
Modified: ChangeLog a52dec-0.7.4-r6.ebuild |
4 |
Log: |
5 |
USE="static-libs" and punt useless libtool archive. |
6 |
|
7 |
(Portage version: 2.2.0_alpha29/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.64 media-libs/a52dec/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/a52dec/ChangeLog?rev=1.64&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/a52dec/ChangeLog?rev=1.64&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/a52dec/ChangeLog?r1=1.63&r2=1.64 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/a52dec/ChangeLog,v |
19 |
retrieving revision 1.63 |
20 |
retrieving revision 1.64 |
21 |
diff -u -r1.63 -r1.64 |
22 |
--- ChangeLog 26 Jul 2010 01:15:00 -0000 1.63 |
23 |
+++ ChangeLog 4 Apr 2011 16:40:17 -0000 1.64 |
24 |
@@ -1,6 +1,9 @@ |
25 |
# ChangeLog for media-libs/a52dec |
26 |
-# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/a52dec/ChangeLog,v 1.63 2010/07/26 01:15:00 zorry Exp $ |
28 |
+# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/a52dec/ChangeLog,v 1.64 2011/04/04 16:40:17 ssuominen Exp $ |
30 |
+ |
31 |
+ 04 Apr 2011; Samuli Suominen <ssuominen@g.o> a52dec-0.7.4-r6.ebuild: |
32 |
+ USE="static-libs" and punt useless libtool archive. |
33 |
|
34 |
26 Jul 2010; Magnus Granberg <zorry@g.o> a52dec-0.7.4-r6.ebuild, |
35 |
+files/a52dec-0.7.4-test-hidden-symbols.patch: |
36 |
|
37 |
|
38 |
|
39 |
1.16 media-libs/a52dec/a52dec-0.7.4-r6.ebuild |
40 |
|
41 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/a52dec/a52dec-0.7.4-r6.ebuild?rev=1.16&view=markup |
42 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/a52dec/a52dec-0.7.4-r6.ebuild?rev=1.16&content-type=text/plain |
43 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/a52dec/a52dec-0.7.4-r6.ebuild?r1=1.15&r2=1.16 |
44 |
|
45 |
Index: a52dec-0.7.4-r6.ebuild |
46 |
=================================================================== |
47 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/a52dec/a52dec-0.7.4-r6.ebuild,v |
48 |
retrieving revision 1.15 |
49 |
retrieving revision 1.16 |
50 |
diff -u -r1.15 -r1.16 |
51 |
--- a52dec-0.7.4-r6.ebuild 26 Jul 2010 01:22:16 -0000 1.15 |
52 |
+++ a52dec-0.7.4-r6.ebuild 4 Apr 2011 16:40:17 -0000 1.16 |
53 |
@@ -1,8 +1,8 @@ |
54 |
-# Copyright 1999-2010 Gentoo Foundation |
55 |
+# Copyright 1999-2011 Gentoo Foundation |
56 |
# Distributed under the terms of the GNU General Public License v2 |
57 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/a52dec/a52dec-0.7.4-r6.ebuild,v 1.15 2010/07/26 01:22:16 zorry Exp $ |
58 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/a52dec/a52dec-0.7.4-r6.ebuild,v 1.16 2011/04/04 16:40:17 ssuominen Exp $ |
59 |
|
60 |
-EAPI=2 |
61 |
+EAPI=3 |
62 |
inherit autotools eutils flag-o-matic |
63 |
|
64 |
DESCRIPTION="library for decoding ATSC A/52 streams used in DVD" |
65 |
@@ -12,16 +12,18 @@ |
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris" |
69 |
-IUSE="oss djbfft" |
70 |
+IUSE="djbfft oss static-libs" |
71 |
|
72 |
RDEPEND="djbfft? ( sci-libs/djbfft )" |
73 |
DEPEND="${RDEPEND}" |
74 |
|
75 |
src_prepare() { |
76 |
- epatch "${FILESDIR}"/${P}-build.patch \ |
77 |
+ epatch \ |
78 |
+ "${FILESDIR}"/${P}-build.patch \ |
79 |
"${FILESDIR}"/${P}-freebsd.patch \ |
80 |
"${FILESDIR}"/${P}-tests-optional.patch \ |
81 |
"${FILESDIR}"/${P}-test-hidden-symbols.patch |
82 |
+ |
83 |
eautoreconf |
84 |
epunt_cxx |
85 |
} |
86 |
@@ -29,22 +31,27 @@ |
87 |
src_configure() { |
88 |
filter-flags -fprefetch-loop-arrays |
89 |
|
90 |
- local myconf="--enable-shared" |
91 |
+ local myconf |
92 |
use oss || myconf="${myconf} --disable-oss" |
93 |
+ |
94 |
econf \ |
95 |
+ --enable-shared \ |
96 |
+ $(use_enable static-libs static) \ |
97 |
$(use_enable djbfft) \ |
98 |
${myconf} |
99 |
} |
100 |
|
101 |
src_compile() { |
102 |
- emake CFLAGS="${CFLAGS}" || die "emake failed" |
103 |
+ emake CFLAGS="${CFLAGS}" || die |
104 |
} |
105 |
|
106 |
src_install() { |
107 |
- emake DESTDIR="${D}" install || die "emake install failed" |
108 |
+ emake DESTDIR="${D}" install || die |
109 |
|
110 |
insinto /usr/include/a52dec |
111 |
- doins "${S}"/liba52/a52_internal.h |
112 |
+ doins liba52/a52_internal.h || die |
113 |
|
114 |
dodoc AUTHORS ChangeLog HISTORY NEWS README TODO doc/liba52.txt |
115 |
+ |
116 |
+ find "${ED}" -name '*.la' -exec rm -f {} + |
117 |
} |