From 0e231f8ad5f363886ff00d8368e286474e7dcfdf Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 26 Mar 2007 01:03:11 +0000 Subject: [PATCH] add support for cross-compiling Package-Manager: portage-2.1.2.2 --- media-video/ffmpeg/Manifest | 18 ++++++++++++++---- .../ffmpeg/ffmpeg-0.4.9_p20070325.ebuild | 7 ++++--- 2 files changed, 18 insertions(+), 7 deletions(-) diff --git a/media-video/ffmpeg/Manifest b/media-video/ffmpeg/Manifest index 479f12f47003..182cc544ee0c 100644 --- a/media-video/ffmpeg/Manifest +++ b/media-video/ffmpeg/Manifest @@ -1,3 +1,6 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + AUX 0.4.8-gcc3.4-magicF2W.patch 994 RMD160 4192e2537d220d4b63c55bdea36ac7f5532d8a6a SHA1 07c79c6680ebe0b1a695394ba4d24abb503c4b46 SHA256 3d359f8483903dcc876be0ee4ff511d63a8cf57fade26d58f72e4a3ec0694226 MD5 003b0062185efcb0ea5a6115fa8a646a files/0.4.8-gcc3.4-magicF2W.patch 994 RMD160 4192e2537d220d4b63c55bdea36ac7f5532d8a6a files/0.4.8-gcc3.4-magicF2W.patch 994 @@ -84,10 +87,10 @@ EBUILD ffmpeg-0.4.9_p20070129.ebuild 5739 RMD160 d1941181748e8241a53f4e9cae27050 MD5 61338d1a2c9cbdf1bbbe613dcf7d5646 ffmpeg-0.4.9_p20070129.ebuild 5739 RMD160 d1941181748e8241a53f4e9cae27050e0f9fdd5a ffmpeg-0.4.9_p20070129.ebuild 5739 SHA256 028afb99042da2d5bc67549286acf0e87240696d1d0285a1638e1e51caa9c53d ffmpeg-0.4.9_p20070129.ebuild 5739 -EBUILD ffmpeg-0.4.9_p20070325.ebuild 6017 RMD160 8eb55b50e391bb41f025dc8529af5c46c07dc50e SHA1 bba2fbacb759db24d8ec85129fc6acb4fe15d800 SHA256 4f6fdf2d3394968e6fd675d43dddf6840ccd959aa77b042310c749c8f79f65a3 -MD5 1cd784d18c0a251f6254a52278dd4870 ffmpeg-0.4.9_p20070325.ebuild 6017 -RMD160 8eb55b50e391bb41f025dc8529af5c46c07dc50e ffmpeg-0.4.9_p20070325.ebuild 6017 -SHA256 4f6fdf2d3394968e6fd675d43dddf6840ccd959aa77b042310c749c8f79f65a3 ffmpeg-0.4.9_p20070325.ebuild 6017 +EBUILD ffmpeg-0.4.9_p20070325.ebuild 6102 RMD160 355ec8e05a395c5fdc6634a408f83ea909b635d8 SHA1 af36f7aa8a5bac723a701225aac91d00d4e2ee8d SHA256 2b93c23b4cbab85fdd8d1092b1aa4740d12056909a1565388e4a8560d592cc5c +MD5 d7a9d73b39edba262742803f00770058 ffmpeg-0.4.9_p20070325.ebuild 6102 +RMD160 355ec8e05a395c5fdc6634a408f83ea909b635d8 ffmpeg-0.4.9_p20070325.ebuild 6102 +SHA256 2b93c23b4cbab85fdd8d1092b1aa4740d12056909a1565388e4a8560d592cc5c ffmpeg-0.4.9_p20070325.ebuild 6102 MISC ChangeLog 27686 RMD160 a430c70f3ca8d359b9a3e799bff587762e4cf756 SHA1 110eebda0e8243e7a924afc865beec5b7b0b4547 SHA256 6fbc8c2e6afc957b5002c61b94cbe96b36c6ed45d2ac350098936f0fcf27808b MD5 a06ccb0099c664ff766ca8521ab19b1d ChangeLog 27686 RMD160 a430c70f3ca8d359b9a3e799bff587762e4cf756 ChangeLog 27686 @@ -120,3 +123,10 @@ SHA256 da375dbb878be25e06a73e390e5fbc10fa32966adf9ef3670e9c4202e6871e62 files/di MD5 4c77d13308e01ce73825173197162cd1 files/digest-ffmpeg-0.4.9_p20070325 714 RMD160 6ba9686ab9ec4afe8c14cfe84acd9ad8ac253db5 files/digest-ffmpeg-0.4.9_p20070325 714 SHA256 1e5dc7d4a04cc22acdd5de9055bc5313893eaab38703cff06fc004e95a9ec1c4 files/digest-ffmpeg-0.4.9_p20070325 714 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v2.0.3 (GNU/Linux) + +iD8DBQFGBxv28bi6rjpTunYRAo8pAJ9KFHmV0QotvOi70NsVJVcgPGDMUACg2Ayz +c99FzQ1V4TjZPK0P8QduKCk= +=SLEA +-----END PGP SIGNATURE----- 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 -- 2.26.2