diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-05-15 14:42:17 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2005-05-15 14:42:17 +0000 |
commit | 1cf52eead3f0635e1e4f2df1b01c184a646ef3e7 (patch) | |
tree | 24239d58fa06d72024d54c3eee3defd3e1e58f11 /media-video/cinelerra-cvs | |
parent | version bump. (diff) | |
download | gentoo-2-1cf52eead3f0635e1e4f2df1b01c184a646ef3e7.tar.gz gentoo-2-1cf52eead3f0635e1e4f2df1b01c184a646ef3e7.tar.bz2 gentoo-2-1cf52eead3f0635e1e4f2df1b01c184a646ef3e7.zip |
Converted to toolchain-funcs eclass. Added for a check for at least gcc3. Moved nasm as a buildtime dependency on latest version.
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'media-video/cinelerra-cvs')
6 files changed, 48 insertions, 31 deletions
diff --git a/media-video/cinelerra-cvs/ChangeLog b/media-video/cinelerra-cvs/ChangeLog index 9367e191116c..4f0b96f6dea1 100644 --- a/media-video/cinelerra-cvs/ChangeLog +++ b/media-video/cinelerra-cvs/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for media-video/cinelerra-cvs # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra-cvs/ChangeLog,v 1.8 2005/05/08 11:09:47 zypher Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra-cvs/ChangeLog,v 1.9 2005/05/15 14:42:17 flameeyes Exp $ + + 15 May 2005; Diego Pettenò <flameeyes@gentoo.org> + cinelerra-cvs-20040917.ebuild, cinelerra-cvs-20050102.ebuild, + cinelerra-cvs-20050127.ebuild, cinelerra-cvs-20050315.ebuild, + cinelerra-cvs-20050506.ebuild: + Converted to toolchain-funcs eclass. Added for a check for at least gcc3. + Moved nasm as a buildtime dependency on latest version. *cinelerra-cvs-20050506 (06 May 2005) diff --git a/media-video/cinelerra-cvs/cinelerra-cvs-20040917.ebuild b/media-video/cinelerra-cvs/cinelerra-cvs-20040917.ebuild index b8f467d3def5..bae44ec15c06 100644 --- a/media-video/cinelerra-cvs/cinelerra-cvs-20040917.ebuild +++ b/media-video/cinelerra-cvs/cinelerra-cvs-20040917.ebuild @@ -1,10 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra-cvs/cinelerra-cvs-20040917.ebuild,v 1.2 2005/01/11 23:15:46 kugelfang Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra-cvs/cinelerra-cvs-20040917.ebuild,v 1.3 2005/05/15 14:42:17 flameeyes Exp $ -inherit gcc eutils flag-o-matic - -export WANT_GCC_3="yes" +inherit toolchain-funcs eutils flag-o-matic filter-flags "-fPIC -fforce-addr" @@ -30,6 +28,12 @@ DEPEND="!media-video/cinelerra >=sys-libs/libraw1394-0.9.0 >=media-libs/openexr-1.2.1" +pkg_setup() { + if [[ "$(gcc-major-version)" -lt "3" ]]; then + die "You must use gcc 3 or better." + fi +} + src_compile() { cd ${S} export WANT_AUTOMAKE=1.7 diff --git a/media-video/cinelerra-cvs/cinelerra-cvs-20050102.ebuild b/media-video/cinelerra-cvs/cinelerra-cvs-20050102.ebuild index 5e4c63af64a1..3d6622166be6 100644 --- a/media-video/cinelerra-cvs/cinelerra-cvs-20050102.ebuild +++ b/media-video/cinelerra-cvs/cinelerra-cvs-20050102.ebuild @@ -1,10 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra-cvs/cinelerra-cvs-20050102.ebuild,v 1.4 2005/01/15 11:08:24 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra-cvs/cinelerra-cvs-20050102.ebuild,v 1.5 2005/05/15 14:42:17 flameeyes Exp $ -inherit gcc eutils flag-o-matic - -export WANT_GCC_3="yes" +inherit toolchain-funcs eutils flag-o-matic #filter-flags "-fPIC -fforce-addr" @@ -30,12 +28,20 @@ DEPEND="!media-video/cinelerra >=media-libs/openexr-1.2.1 !media-video/cinelerra x86? ( dev-lang/nasm )" + src_unpack() { unpack ${A} cd ${S}/libmpeg3 [ "`gcc-version`" == "3.4" ] && \ epatch ${FILESDIR}/libmpeg3-${PV}-gcc3.4.patch } + +pkg_setup() { + if [[ "$(gcc-major-version)" -lt "3" ]]; then + die "You must use gcc 3 or better." + fi +} + src_compile() { cd ${S} export WANT_AUTOMAKE=1.7 diff --git a/media-video/cinelerra-cvs/cinelerra-cvs-20050127.ebuild b/media-video/cinelerra-cvs/cinelerra-cvs-20050127.ebuild index ba6bd8682c07..d3b3e4028e70 100644 --- a/media-video/cinelerra-cvs/cinelerra-cvs-20050127.ebuild +++ b/media-video/cinelerra-cvs/cinelerra-cvs-20050127.ebuild @@ -1,10 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra-cvs/cinelerra-cvs-20050127.ebuild,v 1.1 2005/01/28 10:26:36 zypher Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra-cvs/cinelerra-cvs-20050127.ebuild,v 1.2 2005/05/15 14:42:17 flameeyes Exp $ -inherit gcc eutils flag-o-matic - -export WANT_GCC_3="yes" +inherit toolchain-funcs eutils flag-o-matic #filter-flags "-fPIC -fforce-addr" @@ -31,8 +29,10 @@ DEPEND="!media-video/cinelerra !media-video/cinelerra x86? ( dev-lang/nasm )" -src_unpack() { - unpack ${A} +pkg_setup() { + if [[ "$(gcc-major-version)" -lt "3" ]]; then + die "You must use gcc 3 or better." + fi } src_compile() { diff --git a/media-video/cinelerra-cvs/cinelerra-cvs-20050315.ebuild b/media-video/cinelerra-cvs/cinelerra-cvs-20050315.ebuild index 77993995d6cb..0482332431c6 100644 --- a/media-video/cinelerra-cvs/cinelerra-cvs-20050315.ebuild +++ b/media-video/cinelerra-cvs/cinelerra-cvs-20050315.ebuild @@ -1,10 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra-cvs/cinelerra-cvs-20050315.ebuild,v 1.2 2005/03/30 10:49:39 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra-cvs/cinelerra-cvs-20050315.ebuild,v 1.3 2005/05/15 14:42:17 flameeyes Exp $ -inherit gcc eutils flag-o-matic - -export WANT_GCC_3="yes" +inherit toolchain-funcs eutils flag-o-matic #filter-flags "-fPIC -fforce-addr" @@ -34,8 +32,10 @@ DEPEND="!media-video/cinelerra !media-video/cinelerra x86? ( dev-lang/nasm )" -src_unpack() { - unpack ${A} +pkg_setup() { + if [[ "$(gcc-major-version)" -lt "3" ]]; then + die "You must use gcc 3 or better." + fi } src_compile() { diff --git a/media-video/cinelerra-cvs/cinelerra-cvs-20050506.ebuild b/media-video/cinelerra-cvs/cinelerra-cvs-20050506.ebuild index 635a66bcaa67..2fa9c2b8bc4e 100644 --- a/media-video/cinelerra-cvs/cinelerra-cvs-20050506.ebuild +++ b/media-video/cinelerra-cvs/cinelerra-cvs-20050506.ebuild @@ -1,10 +1,8 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra-cvs/cinelerra-cvs-20050506.ebuild,v 1.1 2005/05/08 11:09:47 zypher Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra-cvs/cinelerra-cvs-20050506.ebuild,v 1.2 2005/05/15 14:42:17 flameeyes Exp $ -inherit gcc eutils flag-o-matic - -export WANT_GCC_3="yes" +inherit toolchain-funcs eutils flag-o-matic #filter-flags "-fPIC -fforce-addr" @@ -19,10 +17,8 @@ SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="alsa ffmpeg oss static" -DEPEND="!media-video/cinelerra +RDEPEND="!media-video/cinelerra virtual/x11 - virtual/libc - =sys-devel/gcc-3* media-libs/libpng media-libs/libdv media-libs/faad2 @@ -31,11 +27,15 @@ DEPEND="!media-video/cinelerra >=sys-libs/libraw1394-0.9.0 >=media-sound/esound-0.2.34 >=media-libs/openexr-1.2.1 - !media-video/cinelerra + !media-video/cinelerra" + +DEPEND="${RDEPEND} x86? ( dev-lang/nasm )" -src_unpack() { - unpack ${A} +pkg_setup() { + if [[ "$(gcc-major-version)" -lt "3" ]]; then + die "You must use gcc 3 or better." + fi } src_compile() { |