summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-02-09 22:27:57 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-02-09 22:27:57 +0000
commit027b2791edfc25858f1938d06b762fa71506d017 (patch)
tree8910facf03d91707334aca7cfb453d4aae90cb7f /media-video
parentadded mjpegtools-1.6.1 (diff)
downloadgentoo-2-027b2791edfc25858f1938d06b762fa71506d017.tar.gz
gentoo-2-027b2791edfc25858f1938d06b762fa71506d017.tar.bz2
gentoo-2-027b2791edfc25858f1938d06b762fa71506d017.zip
Version bumped.
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mjpegtools/ChangeLog8
-rw-r--r--media-video/mjpegtools/files/digest-mjpegtools-1.6.12
-rw-r--r--media-video/mjpegtools/mjpegtools-1.6.1.ebuild102
3 files changed, 111 insertions, 1 deletions
diff --git a/media-video/mjpegtools/ChangeLog b/media-video/mjpegtools/ChangeLog
index 3c71aa0f51ed..817829ce4bc9 100644
--- a/media-video/mjpegtools/ChangeLog
+++ b/media-video/mjpegtools/ChangeLog
@@ -1,6 +1,12 @@
# 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.14 2003/02/09 22:19:11 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/ChangeLog,v 1.15 2003/02/09 22:27:57 mholzer Exp $
+
+*mjpegtools-1.6.1 (09 Feb 2003)
+
+ 09 Feb 2003; Martin Holzer <mholzer@gentoo.org> mjpegtools-1.6.1.ebuild
+ files/digest-mjpegtools-1.6.1 ChangeLog :
+ Version bumped. Submitted by mathewalexander@surewest.net in #10970.
*mjpegtools-1.6.0-r7 (27 Dec 2002)
diff --git a/media-video/mjpegtools/files/digest-mjpegtools-1.6.1 b/media-video/mjpegtools/files/digest-mjpegtools-1.6.1
new file mode 100644
index 000000000000..ab977c64929d
--- /dev/null
+++ b/media-video/mjpegtools/files/digest-mjpegtools-1.6.1
@@ -0,0 +1,2 @@
+MD5 fa2aeec19deafe86d22b34eda329f9f4 mjpegtools-1.6.1.tar.gz 976241
+MD5 963b168854e8f74590c71aaaaedf5177 quicktime4linux-1.4-patched.tar.gz 560533
diff --git a/media-video/mjpegtools/mjpegtools-1.6.1.ebuild b/media-video/mjpegtools/mjpegtools-1.6.1.ebuild
new file mode 100644
index 000000000000..fd6cafb192ca
--- /dev/null
+++ b/media-video/mjpegtools/mjpegtools-1.6.1.ebuild
@@ -0,0 +1,102 @@
+# 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.1.ebuild,v 1.1 2003/02/09 22:27:57 mholzer Exp $
+
+IUSE="sse arts gtk mmx sdl X quicktime 3dnow avi"
+
+inherit libtool flag-o-matic base
+
+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}
+ x86? ( 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 )"
+
+
+src_unpack() {
+ base_src_unpack
+
+ if [ ! -z "`use quicktime`" ]
+ then
+ cd ${WORKDIR}/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
+
+ # Don't remove this - contact phoen][x <phoenix@gentoo.org> if you have problems with it.
+ cd ${S}/lavtools
+ mv lav_common.c lav_common.c.old
+ mv lav_io.c lav_io.c.old
+ sed -e "s/dv_decoder_new(0,0,0)\;/dv_decoder_new()\;/" lav_common.c.old > lav_common.c
+ sed -e "s/dv_decoder_new(0,0,0)\;/dv_decoder_new()\;/" lav_io.c.old > lav_io.c
+ fi
+}
+
+src_compile() {
+ elibtoolize
+
+ local myconf=""
+
+ replace-flags "-march=pentium4" "-march=i686"
+ replace-flags "-march=athlon*" "-march=i686"
+
+ 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"
+
+ if [ ! -z "`use quicktime`" ]
+ then
+ einfo "Building quicktime4linux"
+ myconf="${myconf} --with-quicktime=${WORKDIR}/quicktime4linux-1.4-patch"
+
+ cd ${WORKDIR}/quicktime4linux-1.4-patch
+ ./configure || die
+ make || die
+ cd ${S}
+ fi
+
+ einfo "Building mjpegtools"
+ econf ${myconf} || die
+ emake || die
+}
+
+src_install() {
+
+ einstall || die
+
+ dodoc mjpeg_howto.txt
+}
+