diff options
author | Mike Frysinger <vapier@gentoo.org> | 2007-03-26 01:03:11 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2007-03-26 01:03:11 +0000 |
commit | 183b3a691016749a58fe814b46e0912cc4f80226 (patch) | |
tree | 39b04d7000ee9f48b4773d192da225c0e7666e82 /media-video/ffmpeg/ffmpeg-0.4.9_p20070325.ebuild | |
parent | Package.masked NX components split ebuilds, pending removal on 26 Apr 2007 (diff) | |
download | gentoo-2-183b3a691016749a58fe814b46e0912cc4f80226.tar.gz gentoo-2-183b3a691016749a58fe814b46e0912cc4f80226.tar.bz2 gentoo-2-183b3a691016749a58fe814b46e0912cc4f80226.zip |
add support for cross-compiling
(Portage version: 2.1.2.2)
Diffstat (limited to 'media-video/ffmpeg/ffmpeg-0.4.9_p20070325.ebuild')
-rw-r--r-- | media-video/ffmpeg/ffmpeg-0.4.9_p20070325.ebuild | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/media-video/ffmpeg/ffmpeg-0.4.9_p20070325.ebuild b/media-video/ffmpeg/ffmpeg-0.4.9_p20070325.ebuild index a3b7c7eb2cb5..d425422879d4 100644 --- a/media-video/ffmpeg/ffmpeg-0.4.9_p20070325.ebuild +++ b/media-video/ffmpeg/ffmpeg-0.4.9_p20070325.ebuild @@ -1,11 +1,10 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.4.9_p20070325.ebuild,v 1.2 2007/03/25 20:41:39 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-0.4.9_p20070325.ebuild,v 1.3 2007/03/26 01:03:11 vapier Exp $ inherit eutils flag-o-matic multilib toolchain-funcs -DESCRIPTION="Complete solution to record, convert and stream audio and video. -Includes libavcodec. SVN revision 8519" +DESCRIPTION="Complete solution to record, convert and stream audio and video. Includes libavcodec. SVN revision 8519" HOMEPAGE="http://ffmpeg.org/" MY_P=${P/_/-} S=${WORKDIR}/ffmpeg @@ -137,6 +136,8 @@ src_compile() { myconf="${myconf} --enable-gpl --enable-pp --disable-strip \ --enable-swscaler" + tc-is-cross-compiler && myconf="${myconf} --cross-compile --arch=$(tc-arch-kernel)" + # Specific workarounds for too-few-registers arch... if [[ $(tc-arch) == "x86" ]]; then filter-flags -fforce-addr -momit-leaf-frame-pointer |