From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1MUejd-0002bf-Ro for garchives@archives.gentoo.org; Sat, 25 Jul 2009 10:44:14 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 66067E033A; Sat, 25 Jul 2009 10:44:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 2A864E033A for ; Sat, 25 Jul 2009 10:44:13 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id C8870670EE for ; Sat, 25 Jul 2009 10:44:12 +0000 (UTC) Received: from aballier by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1MUejc-0005ss-D7 for gentoo-commits@lists.gentoo.org; Sat, 25 Jul 2009 10:44:12 +0000 From: "Alexis Ballier (aballier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, aballier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in media-video/ffmpeg: ChangeLog ffmpeg-9999-r1.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog ffmpeg-9999-r1.ebuild X-VCS-Directories: media-video/ffmpeg X-VCS-Committer: aballier X-VCS-Committer-Name: Alexis Ballier Content-Type: text/plain; charset=utf8 Message-Id: Sender: Alexis Ballier Date: Sat, 25 Jul 2009 10:44:12 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 8567798a-df8f-448c-bb8f-d37b9f3eaf6e X-Archives-Hash: 6d0c7858d456037b82e00db5aa124b41 aballier 09/07/25 10:44:12 Modified: ChangeLog ffmpeg-9999-r1.ebuild Log: set target os when crosscompiling for a different os, support for linux= , freebsd and mingw32 so far (Portage version: 2.2_rc33/cvs/Linux x86_64) Revision Changes Path 1.303 media-video/ffmpeg/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/ffmpeg= /ChangeLog?rev=3D1.303&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/ffmpeg= /ChangeLog?rev=3D1.303&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/ffmpeg= /ChangeLog?r1=3D1.302&r2=3D1.303 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v retrieving revision 1.302 retrieving revision 1.303 diff -u -r1.302 -r1.303 --- ChangeLog 22 Jul 2009 16:33:18 -0000 1.302 +++ ChangeLog 25 Jul 2009 10:44:12 -0000 1.303 @@ -1,6 +1,10 @@ # ChangeLog for media-video/ffmpeg # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.302 = 2009/07/22 16:33:18 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ChangeLog,v 1.303 = 2009/07/25 10:44:12 aballier Exp $ + + 25 Jul 2009; Alexis Ballier ffmpeg-9999-r1.ebuil= d: + set target os when crosscompiling for a different os, support for linu= x, + freebsd and mingw32 so far =20 22 Jul 2009; Alexis Ballier ffmpeg-9999-r1.ebuil= d: Set cross-prefix when cross compiling so that CHOST-prefixed tools are 1.14 media-video/ffmpeg/ffmpeg-9999-r1.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/ffmpeg= /ffmpeg-9999-r1.ebuild?rev=3D1.14&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/ffmpeg= /ffmpeg-9999-r1.ebuild?rev=3D1.14&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-video/ffmpeg= /ffmpeg-9999-r1.ebuild?r1=3D1.13&r2=3D1.14 Index: ffmpeg-9999-r1.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-9999-r1.ebuil= d,v retrieving revision 1.13 retrieving revision 1.14 diff -u -r1.13 -r1.14 --- ffmpeg-9999-r1.ebuild 22 Jul 2009 16:33:18 -0000 1.13 +++ ffmpeg-9999-r1.ebuild 25 Jul 2009 10:44:12 -0000 1.14 @@ -1,6 +1,6 @@ # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-9999-r1.ebu= ild,v 1.13 2009/07/22 16:33:18 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/ffmpeg/ffmpeg-9999-r1.ebu= ild,v 1.14 2009/07/25 10:44:12 aballier Exp $ =20 EAPI=3D2 =20 @@ -160,7 +160,20 @@ --disable-stripping" =20 # cross compile support - tc-is-cross-compiler && myconf=3D"${myconf} --enable-cross-compile --ar= ch=3D$(tc-arch-kernel) --cross-prefix=3D${CHOST}-" + if tc-is-cross-compiler ; then + myconf=3D"${myconf} --enable-cross-compile --arch=3D$(tc-arch-kernel) = --cross-prefix=3D${CHOST}-" + case ${CHOST} in + *freebsd*) + myconf=3D"${myconf} --target-os=3Dfreebsd" + ;; + mingw32*) + myconf=3D"${myconf} --target-os=3Dmingw32" + ;; + *linux*) + myconf=3D"${myconf} --target-os=3Dlinux" + ;; + esac + fi =20 # Misc stuff use hardcoded-tables && myconf=3D"${myconf} --enable-hardcoded-tables"