diff options
author | Seemant Kulleen <seemant@gentoo.org> | 2002-11-15 02:52:25 +0000 |
---|---|---|
committer | Seemant Kulleen <seemant@gentoo.org> | 2002-11-15 02:52:25 +0000 |
commit | 153daa3a5f3c5760bf04f309bdc5f29827f9a50e (patch) | |
tree | 0bde16188e36b10e9e6d32c5c8974044b162c365 /media-video | |
parent | unmasked realone (diff) | |
download | historical-153daa3a5f3c5760bf04f309bdc5f29827f9a50e.tar.gz historical-153daa3a5f3c5760bf04f309bdc5f29827f9a50e.tar.bz2 historical-153daa3a5f3c5760bf04f309bdc5f29827f9a50e.zip |
lav2divx stuffs
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/mjpegtools/ChangeLog | 17 | ||||
-rw-r--r-- | media-video/mjpegtools/files/digest-mjpegtools-1.6.0-r4 | 2 | ||||
-rw-r--r-- | media-video/mjpegtools/mjpegtools-1.6.0-r4.ebuild | 95 |
3 files changed, 110 insertions, 4 deletions
diff --git a/media-video/mjpegtools/ChangeLog b/media-video/mjpegtools/ChangeLog index 1a2cda9af98d..764a1a5094fd 100644 --- a/media-video/mjpegtools/ChangeLog +++ b/media-video/mjpegtools/ChangeLog @@ -1,15 +1,24 @@ # ChangeLog for media-video/mjpegtools # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/ChangeLog,v 1.8 2002/08/30 10:36:04 danarmak Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/ChangeLog,v 1.9 2002/11/15 02:52:25 seemant Exp $ + +*mjpegtools-1.6.0-r4 (14 Nov 2002) + + 14 Nov 2002; Seemant Kulleen <seemant@gentoo.org> + mjpegtools-1.6.0-r4.ebuild files/digest-mjpegtools-1.6.0-r4 : + + Added avifile as a dependency (based on "avi" USE flag), so that it + installs lav2divx utilities as well. Closes bug #10516 by + ajacoutot@lphp.org (ajacoutot) + +*mjpegtools-1.6.0-r3 (26 Jul 2002) 30 Aug 2002; Dan Armak <danarmak@gentoo.org> ChangeLog : Add missing deps on libdv and arts (tha latter one is optional); see bug #7081. -*mjpegtools-1.6.0-r3 (26 Jul 2002) - - 26 Jul 2002; Daniel AHlberg <aliz@gentoo.org> mjpegtools-1.6.0-r3.ebuild : + 26 Jul 2002; Daniel Ahlberg <aliz@gentoo.org> mjpegtools-1.6.0-r3.ebuild : Closes #4702. Also added nasm to dependancy list (if 3dnow, sse or mmx are in USE) to make mjpegtools more optimized. diff --git a/media-video/mjpegtools/files/digest-mjpegtools-1.6.0-r4 b/media-video/mjpegtools/files/digest-mjpegtools-1.6.0-r4 new file mode 100644 index 000000000000..e262f9879cee --- /dev/null +++ b/media-video/mjpegtools/files/digest-mjpegtools-1.6.0-r4 @@ -0,0 +1,2 @@ +MD5 cb34077cc3460494bc3759e3655e5263 mjpegtools-1.6.0.tar.gz 928991 +MD5 963b168854e8f74590c71aaaaedf5177 quicktime4linux-1.4-patched.tar.gz 560533 diff --git a/media-video/mjpegtools/mjpegtools-1.6.0-r4.ebuild b/media-video/mjpegtools/mjpegtools-1.6.0-r4.ebuild new file mode 100644 index 000000000000..2f0516cb4798 --- /dev/null +++ b/media-video/mjpegtools/mjpegtools-1.6.0-r4.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2002 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/mjpegtools-1.6.0-r4.ebuild,v 1.1 2002/11/15 02:52:25 seemant Exp $ + +IUSE="sse arts gtk mmx sdl X quicktime 3dnow avi" + +inherit libtool + +S=${WORKDIR}/${P} +DESCRIPTION="Tools for MJPEG video" +SRC_URI="http://download.sourceforge.net/mjpeg/${P}.tar.gz + quicktime? ( http://download.sourceforge.net/mjpeg/quicktime4linux-1.4-patched.tar.gz )" +HOMEPAGE="http://mjpeg.sourceforge.net/" + +LICENSE="as-is" +SLOT="1" +KEYWORDS="x86" + +RDEPEND="media-libs/jpeg + media-libs/libpng + =x11-libs/gtk+-1.2* + X? ( x11-base/xfree ) + sdl? ( media-libs/libsdl ) + media-libs/libdv + arts? ( kde-base/arts )" + +DEPEND="${RDEPEND} + media-libs/libmovtar + avi? ( media-video/avifile ) + quicktime? ( >=media-libs/quicktime4linux-1.5.5-r1 ) + mmx? ( >=media-libs/jpeg-mmx-1.1.2-r1 ) + mmx? ( dev-lang/nasm ) + 3dnow? ( dev-lang/nasm ) + sse? ( dev-lang/nasm ) + media-libs/libdv + arts? ( kde-base/arts )" + +if [ `use mmx` ] ; then + RDEPEND="$RDEPEND media-libs/jpeg-mmx" + DEPEND="$DEPEND media-libs/jpeg-mmx" +fi + +if [ `use mmx` ] || [ `use 3dnow` ] || [ `use sse` ] ; then + DEPEND="$DEPEND dev-lang/nasm" +fi + +src_unpack() { + + unpack ${A} + cd quicktime4linux-1.4-patch + cp libmjpeg.h libmjpeg.h.orig + sed -e "s:\"jpeg/jpeglib.h\":<jpeglib.h>:" libmjpeg.h.orig > libmjpeg.h + cp jpeg_old.h jpeg_old.h.orig + sed -e "s:\"jpeg/jpeglib.h\":<jpeglib.h>:" jpeg_old.h.orig > jpeg_old.h + elibtoolize +} + +src_compile() { + + local myconf + + use gtk \ + && myconf="${myconf} --with-gtk-prefix=/usr" + + use X \ + && myconf="${myconf} --with-x" \ + || myconf="${myconf} --without-x" + + use mmx \ + && myconf="${myconf} --with-jpeg-mmx=/usr/include/jpeg-mmx --enable-mmx-accel" + + use avi \ + || myconf="${myconf} --without-aviplay" + + use quicktime && ( \ + myconf="${myconf} --with-quicktime=${WORKDIR}/quicktime4linux-1.4-patch" + cd ${WORKDIR}/quicktime4linux-1.4-patch + ./configure || die + make || die + ) + + cd ${S} + econf ${myconf} || die + + emake || die + +} + +src_install () { + + einstall || die + + dodoc mjpeg_howto.txt + +} |