1 |
radhermit 11/11/20 21:52:13 |
2 |
|
3 |
Modified: ChangeLog libfame-0.9.1-r1.ebuild |
4 |
Log: |
5 |
Update to EAPI 4 and add static-libs use flag. |
6 |
|
7 |
(Portage version: 2.2.0_alpha73/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.54 media-libs/libfame/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libfame/ChangeLog?rev=1.54&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libfame/ChangeLog?rev=1.54&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libfame/ChangeLog?r1=1.53&r2=1.54 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/libfame/ChangeLog,v |
19 |
retrieving revision 1.53 |
20 |
retrieving revision 1.54 |
21 |
diff -u -r1.53 -r1.54 |
22 |
--- ChangeLog 6 Feb 2011 12:10:24 -0000 1.53 |
23 |
+++ ChangeLog 20 Nov 2011 21:52:13 -0000 1.54 |
24 |
@@ -1,6 +1,9 @@ |
25 |
# ChangeLog for media-libs/libfame |
26 |
# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libfame/ChangeLog,v 1.53 2011/02/06 12:10:24 leio Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libfame/ChangeLog,v 1.54 2011/11/20 21:52:13 radhermit Exp $ |
29 |
+ |
30 |
+ 20 Nov 2011; Tim Harder <radhermit@g.o> libfame-0.9.1-r1.ebuild: |
31 |
+ Update to EAPI 4 and add static-libs use flag. |
32 |
|
33 |
06 Feb 2011; Mart Raudsepp <leio@g.o> libfame-0.9.1-r1.ebuild: |
34 |
Drop to ~mips |
35 |
|
36 |
|
37 |
|
38 |
1.28 media-libs/libfame/libfame-0.9.1-r1.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libfame/libfame-0.9.1-r1.ebuild?rev=1.28&view=markup |
41 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libfame/libfame-0.9.1-r1.ebuild?rev=1.28&content-type=text/plain |
42 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/media-libs/libfame/libfame-0.9.1-r1.ebuild?r1=1.27&r2=1.28 |
43 |
|
44 |
Index: libfame-0.9.1-r1.ebuild |
45 |
=================================================================== |
46 |
RCS file: /var/cvsroot/gentoo-x86/media-libs/libfame/libfame-0.9.1-r1.ebuild,v |
47 |
retrieving revision 1.27 |
48 |
retrieving revision 1.28 |
49 |
diff -u -r1.27 -r1.28 |
50 |
--- libfame-0.9.1-r1.ebuild 6 Feb 2011 12:10:24 -0000 1.27 |
51 |
+++ libfame-0.9.1-r1.ebuild 20 Nov 2011 21:52:13 -0000 1.28 |
52 |
@@ -1,8 +1,10 @@ |
53 |
# Copyright 1999-2011 Gentoo Foundation |
54 |
# Distributed under the terms of the GNU General Public License v2 |
55 |
-# $Header: /var/cvsroot/gentoo-x86/media-libs/libfame/libfame-0.9.1-r1.ebuild,v 1.27 2011/02/06 12:10:24 leio Exp $ |
56 |
+# $Header: /var/cvsroot/gentoo-x86/media-libs/libfame/libfame-0.9.1-r1.ebuild,v 1.28 2011/11/20 21:52:13 radhermit Exp $ |
57 |
|
58 |
-inherit flag-o-matic toolchain-funcs eutils |
59 |
+EAPI=4 |
60 |
+ |
61 |
+inherit eutils autotools-utils |
62 |
|
63 |
PATCHLEVEL="2" |
64 |
DESCRIPTION="MPEG-1 and MPEG-4 video encoding library" |
65 |
@@ -13,14 +15,9 @@ |
66 |
LICENSE="GPL-2" |
67 |
SLOT="0" |
68 |
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ppc ppc64 sh sparc x86" |
69 |
-IUSE="mmx" |
70 |
- |
71 |
-DEPEND="" |
72 |
- |
73 |
-src_unpack() { |
74 |
- unpack ${A} |
75 |
- cd "${S}" |
76 |
+IUSE="mmx static-libs" |
77 |
|
78 |
+src_prepare() { |
79 |
EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/${PV} |
80 |
|
81 |
# Do not add -march=i586, bug #41770. |
82 |
@@ -28,16 +25,13 @@ |
83 |
epatch "${FILESDIR}/${P}-gcc43.patch" |
84 |
} |
85 |
|
86 |
-src_compile() { |
87 |
-# filter-flags -fprefetch-loop-arrays |
88 |
+src_configure() { |
89 |
econf \ |
90 |
$(use_enable mmx) \ |
91 |
- || die "configure failed" |
92 |
- |
93 |
- emake || die "make failed" |
94 |
+ $(use_enable static-libs static) |
95 |
} |
96 |
|
97 |
src_install() { |
98 |
- make install DESTDIR="${D}" || die "make install failed" |
99 |
- dodoc CHANGES README |
100 |
+ default |
101 |
+ remove_libtool_files |
102 |
} |