summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Hildebrand <zypher@gentoo.org>2004-10-29 11:04:40 +0000
committerMarc Hildebrand <zypher@gentoo.org>2004-10-29 11:04:40 +0000
commit9ed609f5122e10c58e4097818107c38519ea4fd2 (patch)
treeb373b81cba3770293723c245facdb2336c42d230 /media-video/transcode
parentParallel build problem, fixed to emake -j1. Closes #69386. (Manifest recommit) (diff)
downloadgentoo-2-9ed609f5122e10c58e4097818107c38519ea4fd2.tar.gz
gentoo-2-9ed609f5122e10c58e4097818107c38519ea4fd2.tar.bz2
gentoo-2-9ed609f5122e10c58e4097818107c38519ea4fd2.zip
more cleanups
Diffstat (limited to 'media-video/transcode')
-rw-r--r--media-video/transcode/transcode-0.6.13.ebuild66
1 files changed, 33 insertions, 33 deletions
diff --git a/media-video/transcode/transcode-0.6.13.ebuild b/media-video/transcode/transcode-0.6.13.ebuild
index 3134ee845957..4424451416fa 100644
--- a/media-video/transcode/transcode-0.6.13.ebuild
+++ b/media-video/transcode/transcode-0.6.13.ebuild
@@ -1,6 +1,6 @@
# 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.13.ebuild,v 1.3 2004/10/28 12:14:31 zypher Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/transcode-0.6.13.ebuild,v 1.4 2004/10/29 11:04:40 zypher Exp $
inherit libtool flag-o-matic eutils
@@ -21,20 +21,25 @@ DEPEND=">=media-libs/a52dec-0.7.4
>=media-libs/libdv-0.99
x86? ( >=dev-lang/nasm-0.98.36 )
>=media-libs/libdvdread-0.9.0
- >=media-video/ffmpeg-0.4.6
+ >=media-video/ffmpeg-0.4.9_pre1
>=media-libs/xvid-1.0.2
- >=media-video/mjpegtools-1.6.0
+ >=media-video/mjpegtools-1.6.2-r3
>=dev-libs/lzo-1.08
- >=media-libs/libfame-0.9.0
+ >=media-libs/libfame-0.9.1
>=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 )"
+ quicktime? ( >=media-libs/libquicktime-0.9.3 )
+ oggvorbis? ( media-libs/libvorbis
+ media-libs/libogg )
+ theora? ( media-libs/libtheora )"
+# pvm? ( >=sys-cluster/pvm-3.4 )
src_unpack() {
unpack ${A}
@@ -44,50 +49,45 @@ src_unpack() {
src_compile() {
filter-flags -maltivec -mabi=altivec
- local myconf="--with-dvdread --enable-mjpegtools --with-mjpegtools \
- --enable-imagemagick --enable-lzo --enable-a52 --enable-fame"
-
# fix invalid paths in .la files of plugins
elibtoolize
- use quicktime && myconf="${myconf} --enable-libquicktime"
-
-# if use quicktime; then
-# has_version 'media-libs/libquicktime' \
-# && myconf="${myconf} --enable-libquicktime" \
-# || einfo "Libquicktime needed for quicktime support"
-# fi
-
- if use avi; then
- myconf="${myconf} --enable-avifile --with-avifile"
- fi
-
- if use oggvorbis; then
- myconf="${myconf} --enable-ogg --enable-vorbis"
- fi
+ local myconf="--with-dvdread --enable-mjpegtools --with-mjpegtools \
+ --enable-imagemagick --enable-lzo --enable-a52 --enable-libfame"
+ use quicktime && myconf="${myconf} --enable-libquicktime"
+# 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/lib/libpostproc.a ] && \
[ -f ${ROOT}/usr/include/postproc/postprocess.h ] && \
myconf="${myconf} --with-libpostproc-builddir=${ROOT}/usr/lib"
+ append-flags -DDCT_YUV_PRECISION=1
econf \
- CFLAGS="${CFLAGS} -DDCT_YUV_PRECISION=1" \
- `use_enable mmx` \
- `use_enable sse` \
- `use_enable 3dnow` \
- `use_enable altivec` \
- `use_enable theora` \
- `use_enable sdl` \
- `use_enable encode lame` \
- `use_enable mpeg libmpeg3` \
- `use_enable X x` \
+ $(use_enable sse) \
+ $(use_enable mmx) \
+ $(use_enable 3dnow) \
+ $(use_enable altivec) \
+ $(use_enable avi avifile) \
+ $(use_enable encode lame) \
+ $(use_enable mpeg libmpeg3) \
+ $(use_enable oggvorbis ogg) \
+ $(use_enable oggvorbis vorbis) \
+ $(use_enable theora) \
+ $(use_enable X x) \
${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 () {