summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2003-08-13 01:25:09 +0000
committerLuca Barbato <lu_zero@gentoo.org>2003-08-13 01:25:09 +0000
commitbf83cb9d10d63d8c3ad1d7c409627b5e3fb57176 (patch)
tree4beedf554eb2de5316957977e3c29472a427f2c3 /media-video/cinelerra/cinelerra-1.1.7.ebuild
parentNew version (diff)
downloadgentoo-2-bf83cb9d10d63d8c3ad1d7c409627b5e3fb57176.tar.gz
gentoo-2-bf83cb9d10d63d8c3ad1d7c409627b5e3fb57176.tar.bz2
gentoo-2-bf83cb9d10d63d8c3ad1d7c409627b5e3fb57176.zip
New version
Diffstat (limited to 'media-video/cinelerra/cinelerra-1.1.7.ebuild')
-rw-r--r--media-video/cinelerra/cinelerra-1.1.7.ebuild74
1 files changed, 74 insertions, 0 deletions
diff --git a/media-video/cinelerra/cinelerra-1.1.7.ebuild b/media-video/cinelerra/cinelerra-1.1.7.ebuild
new file mode 100644
index 000000000000..138402dc4772
--- /dev/null
+++ b/media-video/cinelerra/cinelerra-1.1.7.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/cinelerra/cinelerra-1.1.7.ebuild,v 1.1 2003/08/13 01:24:41 lu_zero Exp $
+
+inherit gcc eutils
+export WANT_GCC_3="yes"
+
+export CFLAGS=${CFLAGS/-O?/-O2}
+
+DESCRIPTION="Cinelerra - Professional Video Editor"
+HOMEPAGE="http://heroinewarrior.com/cinelerra.php3"
+SRC_URI="mirror://sourceforge/heroines/${P}-src.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="x86 -ppc"
+
+DEPEND="virtual/x11
+ virtual/glibc
+ =sys-devel/gcc-3*"
+# >=media-libs/a52dec-0.7.3"
+
+#src_unpack() {
+# unpack ${A}
+ #epatch ${FILESDIR}/compile-${PV}.diff
+#}
+
+src_compile() {
+ export CFLAGS=${CFLAGS}
+ cd ${S}/freetype-2.1.4/builds/unix
+ econf ||die
+ cd ${S}/quicktime/ffmpeg-0.4.6
+ econf ||die
+
+ cd ${S}
+ make || die "make failed"
+}
+
+src_install() {
+ local myarch
+ if [ -n "`use x86`" ]; then
+ myarch="i686"
+ fi
+ if [ -n "`use ppc`" ]; then
+ myarch="ppc"
+ fi
+ cd ${S}/${PN}/${myarch}
+ dobin ${PN}
+
+ cd ${S}/plugins
+ insinto /usr/lib/${PN}
+ doins ${myarch}/*.plugin
+ insinto /usr/lib/${PN}/fonts
+ doins titler/fonts/*
+
+ cd ${S}/libmpeg3/${myarch}
+ dobin mpeg3dump mpeg3cat mpeg3toc
+
+# cd ${S}/mix/i686
+# dobin mix2000
+
+# cd ${S}/xmovie/i686
+# dobin xmovie
+
+ cd ${S}/mplexhi/${myarch}
+ dobin mplexhi
+
+ cd ${S}/mplexlo/${myarch}
+ dobin mplexlo
+
+ cd ${S}
+# dodoc CVS COPYING
+ dohtml -a png,html,texi,sdw -r doc/*
+}