diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2012-07-07 06:53:16 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2012-07-07 06:53:16 +0000 |
commit | 58ca2741a5ff6387e24a56a6576e016164b07793 (patch) | |
tree | dfbd2d2d3c049d0211285885e346b45801507a19 /media-video/cinelerra | |
parent | Make python[ssl] dep conditional on !build. (diff) | |
download | gentoo-2-58ca2741a5ff6387e24a56a6576e016164b07793.tar.gz gentoo-2-58ca2741a5ff6387e24a56a6576e016164b07793.tar.bz2 gentoo-2-58ca2741a5ff6387e24a56a6576e016164b07793.zip |
Latest from upstream cinelerra-cv git master.
(Portage version: 2.2.0_alpha116/cvs/Linux x86_64)
Diffstat (limited to 'media-video/cinelerra')
-rw-r--r-- | media-video/cinelerra/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/cinelerra/cinelerra-20120707.ebuild | 93 |
2 files changed, 100 insertions, 1 deletions
diff --git a/media-video/cinelerra/ChangeLog b/media-video/cinelerra/ChangeLog index a3483c7b421d..8e861218a15b 100644 --- a/media-video/cinelerra/ChangeLog +++ b/media-video/cinelerra/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/cinelerra # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra/ChangeLog,v 1.57 2012/07/06 14:42:35 aballier Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra/ChangeLog,v 1.58 2012/07/07 06:53:16 ssuominen Exp $ + +*cinelerra-20120707 (07 Jul 2012) + + 07 Jul 2012; Samuli Suominen <ssuominen@gentoo.org> + +cinelerra-20120707.ebuild: + Latest from upstream cinelerra-cv git master. 06 Jul 2012; Alexis Ballier <aballier@gentoo.org> +files/cinelerra-ffmpeg-0.11.patch, cinelerra-20111223.ebuild: diff --git a/media-video/cinelerra/cinelerra-20120707.ebuild b/media-video/cinelerra/cinelerra-20120707.ebuild new file mode 100644 index 000000000000..9a2afd3a584f --- /dev/null +++ b/media-video/cinelerra/cinelerra-20120707.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra/cinelerra-20120707.ebuild,v 1.1 2012/07/07 06:53:16 ssuominen Exp $ + +EAPI=4 +inherit autotools eutils multilib flag-o-matic + +DESCRIPTION="The most advanced non-linear video editor and compositor" +HOMEPAGE="http://www.cinelerra.org/" +SRC_URI="http://dev.gentoo.org/~ssuominen/${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="3dnow alsa altivec css ieee1394 mmx opengl oss" + +RDEPEND="media-libs/a52dec + media-libs/faac + media-libs/faad2 + >=media-libs/freetype-2 + media-libs/libdv + >=media-libs/libogg-1.2 + media-libs/libpng:0 + media-libs/libsndfile + >=media-libs/libtheora-1.1 + >=media-libs/libvorbis-1.3 + >=media-libs/openexr-1.5 + media-libs/tiff:0 + media-libs/x264 + media-sound/lame + >=media-video/mjpegtools-2 + >=sci-libs/fftw-3 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXft + x11-libs/libXv + x11-libs/libXvMC + x11-libs/libXxf86vm + virtual/ffmpeg + virtual/jpeg + alsa? ( media-libs/alsa-lib ) + ieee1394? ( + media-libs/libiec61883 + >=sys-libs/libraw1394-1.2.0 + >=sys-libs/libavc1394-0.5.0 + ) + opengl? ( virtual/opengl )" +DEPEND="${RDEPEND} + app-arch/xz-utils + virtual/pkgconfig + mmx? ( dev-lang/nasm )" + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-entry.patch \ + "${FILESDIR}"/${PN}-ffmpeg.patch \ + "${FILESDIR}"/${PN}-underlinking.patch \ + "${FILESDIR}"/${PN}-ffmpeg-0.11.patch + + eautoreconf +} + +src_configure() { + append-flags -D__STDC_CONSTANT_MACROS #321945 + append-ldflags -Wl,-z,noexecstack #212959 + + econf \ + $(use_enable oss) \ + $(use_enable alsa) \ + --disable-esd \ + $(use_enable ieee1394 firewire) \ + $(use_enable css) \ + $(use_enable mmx) \ + $(use_enable 3dnow) \ + $(use_enable altivec) \ + $(use_enable opengl) \ + --with-plugindir=/usr/$(get_libdir)/${PN} \ + --with-buildinfo=cust/"Gentoo - ${PV}" \ + --with-external-ffmpeg +} + +src_install() { + emake DESTDIR="${D}" install + dohtml -a png,html,texi,sdw -r doc/* + + rm -rf "${D}"/usr/include + mv -vf "${D}"/usr/bin/mpeg3cat{,.hv} || die + mv -vf "${D}"/usr/bin/mpeg3dump{,.hv} || die + mv -vf "${D}"/usr/bin/mpeg3toc{,.hv} || die + dosym /usr/bin/mpeg2enc /usr/$(get_libdir)/${PN}/mpeg2enc.plugin + + prune_libtool_files --all +} |