diff options
author | Hanno Böck <hanno@gentoo.org> | 2009-02-10 21:18:46 +0000 |
---|---|---|
committer | Hanno Böck <hanno@gentoo.org> | 2009-02-10 21:18:46 +0000 |
commit | a82f74921f554033d0cc6d0f0d742ca603c4c21d (patch) | |
tree | 8d59e9bce5868a0d4ac37373e4619d21ccc65e29 /media-video/cinelerra | |
parent | Fixed prefix installation with kde-4.2, thank Tomas Caithaml for report and t... (diff) | |
download | gentoo-2-a82f74921f554033d0cc6d0f0d742ca603c4c21d.tar.gz gentoo-2-a82f74921f554033d0cc6d0f0d742ca603c4c21d.tar.bz2 gentoo-2-a82f74921f554033d0cc6d0f0d742ca603c4c21d.zip |
cinelerra updated snapshot
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'media-video/cinelerra')
-rw-r--r-- | media-video/cinelerra/ChangeLog | 9 | ||||
-rw-r--r-- | media-video/cinelerra/cinelerra-20090210.ebuild | 91 |
2 files changed, 98 insertions, 2 deletions
diff --git a/media-video/cinelerra/ChangeLog b/media-video/cinelerra/ChangeLog index dd4953196b9f..3aaacbd188d2 100644 --- a/media-video/cinelerra/ChangeLog +++ b/media-video/cinelerra/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/cinelerra -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra/ChangeLog,v 1.33 2008/10/06 22:32:49 aballier Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra/ChangeLog,v 1.34 2009/02/10 21:18:46 hanno Exp $ + +*cinelerra-20090210 (10 Feb 2009) + + 10 Feb 2009; Hanno Boeck <hanno@gentoo.org> +cinelerra-20090210.ebuild: + Version bump. 06 Oct 2008; Alexis Ballier <aballier@gentoo.org> -files/cinelerra-cvs-defaultx264tocqp.patch, diff --git a/media-video/cinelerra/cinelerra-20090210.ebuild b/media-video/cinelerra/cinelerra-20090210.ebuild new file mode 100644 index 000000000000..4861b63e85c7 --- /dev/null +++ b/media-video/cinelerra/cinelerra-20090210.ebuild @@ -0,0 +1,91 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra/cinelerra-20090210.ebuild,v 1.1 2009/02/10 21:18:46 hanno Exp $ + +inherit autotools multilib eutils + +DESCRIPTION="Cinelerra - Professional Video Editor - Unofficial CVS-version" +HOMEPAGE="http://www.cinelerra.org/" +SRC_URI="mirror://gentoo/${P}.tar.lzma" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="3dnow alsa esd mmx oss static ieee1394 css altivec opengl" +RDEPEND="media-libs/libpng + >=media-libs/libdv-1.0.0 + media-libs/faad2 + media-libs/faac + media-libs/a52dec + media-libs/libsndfile + media-libs/tiff + media-video/ffmpeg + media-sound/lame + >=sci-libs/fftw-3.0.1 + media-libs/x264 + ieee1394? ( media-libs/libiec61883 >=sys-libs/libraw1394-1.2.0 \ + >=sys-libs/libavc1394-0.5.0 ) + media-video/mjpegtools + alsa? ( media-libs/alsa-lib ) + esd? ( >=media-sound/esound-0.2.34 ) + >=media-libs/freetype-2.1.10 + opengl? ( virtual/opengl ) + >=media-libs/openexr-1.2.2 + >=media-libs/libvorbis-1.1.0 + >=media-libs/libogg-1.1 + >=media-libs/libtheora-1.0_alpha4-r1 + x11-libs/libX11 + x11-libs/libXv + x11-libs/libXxf86vm + x11-libs/libXext + x11-libs/libXvMC + x11-libs/libXft" + +DEPEND="${RDEPEND} + dev-util/pkgconfig + mmx? ( dev-lang/nasm )" + +pkg_setup() { + if [[ "$(gcc-major-version)" -lt "4" ]]; then + eerror "You need to have gcc 4 or better" + eerror "Please follow : http://www.gentoo.org/doc/en/gcc-upgrading.xml" + eerror "And have a look at bug #128659" + die "You must use gcc 4 or better." + fi +} + +src_unpack() { + unpack ${A} + cd "${S}" + AT_M4DIR="m4" eautoreconf +} + +src_compile() { + econf \ + `use_enable static` \ + `use_enable alsa` \ + `use_enable esd` \ + `use_enable oss` \ + `use_enable mmx` \ + `use_enable 3dnow` \ + --with-plugindir=/usr/$(get_libdir)/cinelerra \ + `use_enable ieee1394 firewire` \ + `use_enable css` \ + `use_enable opengl` \ + `use_enable altivec` \ + --with-external-ffmpeg \ + --with-buildinfo=cust/"Gentoo - SVN r1055" \ + || die "configure failed" + emake || die "make failed" +} + +src_install() { + emake DESTDIR="${D}" install || die + dohtml -a png,html,texi,sdw -r doc/* + # workaround + rm -fR "${D}/usr/include" + mv "${D}/usr/bin/mpeg3cat" "${D}/usr/bin/mpeg3cat.hv" + mv "${D}/usr/bin/mpeg3dump" "${D}/usr/bin/mpeg3dump.hv" + mv "${D}/usr/bin/mpeg3toc" "${D}/usr/bin/mpeg3toc.hv" + ln -s /usr/bin/mpeg2enc "${D}/usr/$(get_libdir)/cinelerra/mpeg2enc.plugin" +} |