| 1 | # Copyright 1999-2012 Gentoo Foundation |
1 | # Copyright 1999-2012 Gentoo Foundation |
| 2 | # Distributed under the terms of the GNU General Public License v2 |
2 | # Distributed under the terms of the GNU General Public License v2 |
| 3 | # $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/Attic/ffmpeg-0.11.2.ebuild,v 1.1 2012/09/20 12:48:51 aballier Exp $ |
3 | # $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/Attic/ffmpeg-0.11.2.ebuild,v 1.2 2012/09/25 03:50:07 vapier Exp $ |
| 4 | |
4 | |
| 5 | EAPI="4" |
5 | EAPI="4" |
| 6 | |
6 | |
| 7 | SCM="" |
7 | SCM="" |
| 8 | if [ "${PV#9999}" != "${PV}" ] ; then |
8 | if [ "${PV#9999}" != "${PV}" ] ; then |
| … | |
… | |
| 197 | myconf="${myconf} --enable-pic" |
197 | myconf="${myconf} --enable-pic" |
| 198 | # disable asm code if PIC is required |
198 | # disable asm code if PIC is required |
| 199 | # as the provided asm decidedly is not PIC for x86. |
199 | # as the provided asm decidedly is not PIC for x86. |
| 200 | use x86 && myconf="${myconf} --disable-asm" |
200 | use x86 && myconf="${myconf} --disable-asm" |
| 201 | fi |
201 | fi |
|
|
202 | [[ ${ABI} == "x32" ]] && myconf+=" --disable-asm" #427004 |
| 202 | |
203 | |
| 203 | # Try to get cpu type based on CFLAGS. |
204 | # Try to get cpu type based on CFLAGS. |
| 204 | # Bug #172723 |
205 | # Bug #172723 |
| 205 | # We need to do this so that features of that CPU will be better used |
206 | # We need to do this so that features of that CPU will be better used |
| 206 | # If they contain an unknown CPU it will not hurt since ffmpeg's configure |
207 | # If they contain an unknown CPU it will not hurt since ffmpeg's configure |