Lines 4-10
Link Here
|
4 |
|
4 |
|
5 |
inherit multilib eutils toolchain-funcs |
5 |
inherit multilib eutils toolchain-funcs |
6 |
|
6 |
|
7 |
IUSE="debug mp4 threads" |
7 |
IUSE="debug mp4 threads mmxext sse2" |
8 |
|
8 |
|
9 |
DESCRIPTION="A free library for encoding X264/AVC streams." |
9 |
DESCRIPTION="A free library for encoding X264/AVC streams." |
10 |
HOMEPAGE="http://developers.videolan.org/x264.html" |
10 |
HOMEPAGE="http://developers.videolan.org/x264.html" |
Lines 27-32
Link Here
|
27 |
unpack ${A} |
27 |
unpack ${A} |
28 |
cd ${S} |
28 |
cd ${S} |
29 |
epatch ${FILESDIR}/${P}-nostrip.patch |
29 |
epatch ${FILESDIR}/${P}-nostrip.patch |
|
|
30 |
|
31 |
if use !mmxext && use x86; then |
32 |
sed -i 's/ -DHAVE_MMXEXT//' configure || die "sed failed" |
33 |
fi |
34 |
|
35 |
if use !sse2 && use x86; then |
36 |
sed -i 's/ -DHAVE_SSE2//' configure || die "sed failed" |
37 |
fi |
30 |
} |
38 |
} |
31 |
|
39 |
|
32 |
src_compile() { |
40 |
src_compile() { |