summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Hildebrand <zypher@gentoo.org>2004-11-29 19:04:06 +0000
committerMarc Hildebrand <zypher@gentoo.org>2004-11-29 19:04:06 +0000
commit80e3f8482b54c6705f5db9b805c981e58e91c965 (patch)
tree8d353b0e3f0aefc93a69a6e8a2375b7728a41be0 /media-video/transcode/transcode-0.6.14.ebuild
parentadded dvdread for transcode-0.6.14 (diff)
downloadgentoo-2-80e3f8482b54c6705f5db9b805c981e58e91c965.tar.gz
gentoo-2-80e3f8482b54c6705f5db9b805c981e58e91c965.tar.bz2
gentoo-2-80e3f8482b54c6705f5db9b805c981e58e91c965.zip
Version bump plus some cleanup plus a bunch of local USE-flags. Solves some bugs I won't list here or I'd have to kill jeeves...
Diffstat (limited to 'media-video/transcode/transcode-0.6.14.ebuild')
-rw-r--r--media-video/transcode/transcode-0.6.14.ebuild109
1 files changed, 109 insertions, 0 deletions
diff --git a/media-video/transcode/transcode-0.6.14.ebuild b/media-video/transcode/transcode-0.6.14.ebuild
new file mode 100644
index 000000000000..045f529aad56
--- /dev/null
+++ b/media-video/transcode/transcode-0.6.14.ebuild
@@ -0,0 +1,109 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/transcode-0.6.14.ebuild,v 1.1 2004/11/29 19:04:06 zypher Exp $
+
+inherit libtool flag-o-matic eutils
+
+MY_P="${P/_pre/.}"
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="video stream processing tool"
+HOMEPAGE="http://www.transcoding.org"
+SRC_URI="http://www.jakemsr.com/transcode/${P}.tar.gz
+ http://www.ligo.caltech.edu/~pehrens/${P}.tar.gz
+ http://www.kraymer.de/mirroring/${P}.tar.gz
+ http://rebels.plukwa.net/linux-video/${PN}/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE="X 3dnow a52 avi altivec divx4linux dv dvdread encode fame freetype gtk imagemagick jpeg lzo mjpeg mmx mpeg network oggvorbis pvm quicktime sdl sse theora v4l xvid xml2"
+
+DEPEND="a52? ( >=media-libs/a52dec-0.7.4 )
+ =sys-devel/gcc-3*
+ dv? ( >=media-libs/libdv-0.99 )
+ x86? ( >=dev-lang/nasm-0.98.36 )
+ dvdread? ( >=media-libs/libdvdread-0.9.0 )
+ >=media-video/ffmpeg-0.4.9_pre1
+ xvid? ( >=media-libs/xvid-1.0.2 )
+ mjpeg? ( >=media-video/mjpegtools-1.6.2-r3 )
+ lzo? ( >=dev-libs/lzo-1.08 )
+ fame? ( >=media-libs/libfame-0.9.1 )
+ imagemagick? ( >=media-gfx/imagemagick-5.5.6.0 )
+ media-libs/netpbm
+ media-libs/libexif
+ X? ( virtual/x11 )
+ avi? ( >=media-video/avifile-0.7.41.20041001 )
+ divx4linux? ( x86? ( >=media-libs/divx4linux-20030428 ) )
+ mpeg? ( media-libs/libmpeg3 )
+ encode? ( >=media-sound/lame-3.93 )
+ sdl? ( media-libs/libsdl )
+ quicktime? ( >=media-libs/libquicktime-0.9.3 )
+ oggvorbis? ( media-libs/libvorbis
+ media-libs/libogg )
+ theora? ( media-libs/libtheora )
+ jpeg? ( media-libs/jpeg )
+ gtk? ( x11-libs/gtk+ )
+ freetype? ( >=media-libs/freetype-2 )
+ pvm? ( >=sys-cluster/pvm-3.4 )"
+
+src_compile() {
+ filter-flags -maltivec -mabi=altivec
+ use ppc && append-flags -U__ALTIVEC__
+ # fix invalid paths in .la files of plugins
+ elibtoolize
+
+ use pvm \
+ && myconf="${myconf} --enable-pvm3 \
+ --with-pvm3-lib=${PVM_ROOT}/lib/LINUX \
+ --with-pvm3-include=${PVM_ROOT}/include"
+
+ # Use the MPlayer libpostproc if present
+ [ -f ${ROOT}/usr/$(get_libdir)/libpostproc.a ] && \
+ [ -f ${ROOT}/usr/include/postproc/postprocess.h ] && \
+ myconf="${myconf} --with-libpostproc-builddir=${ROOT}/usr/$(get_libdir)"
+
+ append-flags -DDCT_YUV_PRECISION=1
+ econf \
+ $(use_enable X x) \
+ $(use_enable 3dnow) \
+ $(use_enable a52) \
+ $(use_enable altivec) \
+ $(use_enable avi avifile) \
+ $(use_enable dv libdv) \
+ $(use_enable dvdread libdvdread) \
+ $(use_enable encode lame) \
+ $(use_enable fame libfame) \
+ $(use_enable freetype freetype2) \
+ $(use_enable gtk) \
+ $(use_enable imagemagick) \
+ $(use_enable jpeg libjpeg) \
+ $(use_enable lzo) \
+ $(use_enable mjpeg mjpegtools) \
+ $(use_enable mmx) \
+ $(use_enable mpeg libmpeg3) \
+ $(use_enable network netstream) \
+ $(use_enable oggvorbis ogg) \
+ $(use_enable oggvorbis vorbis) \
+ $(use_enable quicktime libquicktime) \
+ $(use_enable sdl) \
+ $(use_enable sse) \
+ $(use_enable theora) \
+ $(use_enable v4l) \
+ $(use_enable xml2 libxml2) \
+ ${myconf} \
+ || die
+
+ emake -j1 all || die
+
+ if use pvm; then
+ sed -i -e "s:\${exec_prefix}/bin/pvmgs:\$(DESTDIR)/\${exec_prefix}/bin/pvmgs:" ${S}/pvm3/Makefile || die
+ fi
+}
+
+src_install () {
+ make \
+ DESTDIR=${D} \
+ install || die
+
+ dodoc AUTHORS COPYING ChangeLog README TODO
+}