summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-11-26 00:32:31 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-11-26 00:32:31 +0000
commitac69ee72dd1f30d16d7498a7562576dd5586bed9 (patch)
treea9bab0027f65dec6bcadfaca02a55a03c03f3099 /media-video/mjpegtools
parentVersion bumped. (diff)
downloadhistorical-ac69ee72dd1f30d16d7498a7562576dd5586bed9.tar.gz
historical-ac69ee72dd1f30d16d7498a7562576dd5586bed9.tar.bz2
historical-ac69ee72dd1f30d16d7498a7562576dd5586bed9.zip
Version bumped.
Diffstat (limited to 'media-video/mjpegtools')
-rw-r--r--media-video/mjpegtools/Manifest4
-rw-r--r--media-video/mjpegtools/files/digest-mjpegtools-1.6.1.911
-rw-r--r--media-video/mjpegtools/mjpegtools-1.6.1.91.ebuild73
3 files changed, 76 insertions, 2 deletions
diff --git a/media-video/mjpegtools/Manifest b/media-video/mjpegtools/Manifest
index 980cd018e00a..8ff031331bb1 100644
--- a/media-video/mjpegtools/Manifest
+++ b/media-video/mjpegtools/Manifest
@@ -2,8 +2,8 @@ MD5 cbefd08320e8e23114fd67346d853b1d mjpegtools-1.6.0-r7.ebuild 2870
MD5 c9bb82e3c4de92ad8ed6ce7470250e6b metadata.xml 180
MD5 9fa67243454e797c061ddd4facf262cc mjpegtools-1.6.1.ebuild 2413
MD5 cfb7349e17b00c391306ade826359b58 mjpegtools-1.6.1.90-r1.ebuild 1853
-MD5 16218bd6f68f0f7178a059ac111dd91a ChangeLog 7380
-MD5 785337a74b5d12b796adad6e17c633f2 mjpegtools-1.6.1.91.ebuild 1874
+MD5 5ff821d70c45df563cebf2d0ff35a83f ChangeLog 7513
+MD5 5283f4524f24981c4668b7409ac77c86 mjpegtools-1.6.1.91.ebuild 1876
MD5 4a594198579130cfe453fffb532b2aef files/digest-mjpegtools-1.6.1 147
MD5 961944a5d3c12bdac7baf7d12ea995d7 files/digest-mjpegtools-1.6.0-r7 147
MD5 0d5f90e8ac4023e403bf79d2e14314cb files/mjpegtools-1.6.0-gcc3.patch 5086
diff --git a/media-video/mjpegtools/files/digest-mjpegtools-1.6.1.91 b/media-video/mjpegtools/files/digest-mjpegtools-1.6.1.91
new file mode 100644
index 000000000000..379e7986d66e
--- /dev/null
+++ b/media-video/mjpegtools/files/digest-mjpegtools-1.6.1.91
@@ -0,0 +1 @@
+MD5 7ac439100233d16f8b1417aa2097c573 mjpegtools-1.6.1.91.tar.gz 1227454
diff --git a/media-video/mjpegtools/mjpegtools-1.6.1.91.ebuild b/media-video/mjpegtools/mjpegtools-1.6.1.91.ebuild
new file mode 100644
index 000000000000..083d987467a3
--- /dev/null
+++ b/media-video/mjpegtools/mjpegtools-1.6.1.91.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2003 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.91.ebuild,v 1.1 2003/11/26 00:32:26 mholzer Exp $
+
+inherit flag-o-matic
+
+DESCRIPTION="Tools for MJPEG video."
+HOMEPAGE="http://mjpeg.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mjpeg/${P}.tar.gz"
+RESTRICT="nomirror"
+
+LICENSE="as-is"
+SLOT="1"
+KEYWORDS="~x86 -ppc"
+IUSE="gtk avi dv quicktime sdl X 3dnow mmx sse"
+
+DEPEND="media-libs/jpeg
+ >=sys-apps/sed-4
+ =dev-libs/glib-1.2*
+ x86? ( media-libs/libmovtar )
+ mmx? ( >=media-libs/jpeg-mmx-1.1.2-r1 dev-lang/nasm )
+ 3dnow? ( dev-lang/nasm )
+ sse? ( dev-lang/nasm )
+ gtk? ( =x11-libs/gtk+-1.2* )
+ avi? ( >=media-video/avifile-0.7.38 )
+ dv? ( >=media-libs/libdv-0.99 )
+ quicktime? ( virtual/quicktime )
+ sdl? ( media-libs/libsdl )
+ X? ( x11-base/xfree )"
+
+src_unpack() {
+ unpack ${A} && cd "${S}"
+# epatch "${FILESDIR}/no-x11-lib.patch"
+}
+
+src_compile() {
+ local myconf
+
+ replace-flags "-march=pentium4" "-march=pentium3"
+ filter-flags "-mfpmath=sse"
+
+ myconf="${myconf} `use_with X x`"
+ myconf="${myconf} `use_with quicktime`"
+ myconf="${myconf} `use_enable x86 cmov-extensions`"
+
+ if [ "`use dv`" ] ; then
+ myconf="${myconf} --with-dv=/usr"
+ fi
+ if [ "`use mmx`" -o "`use 3dnow`" -o "`use sse`" ] ; then
+ myconf="${myconf} --enable-simd-accel"
+ fi
+ if [ "`use mmx`" ] ; then
+ myconf="${myconf} --with-jpeg-mmx=/usr/include/jpeg-mmx"
+ fi
+
+ econf ${myconf}
+
+ if has_version 'sys-devel/hardened-gcc' ; then
+ for i in `find "${S}" -name "Makefile"` ; do
+ sed -e "s:CC = gcc:CC = gcc -yet_exec:g" \
+ -e "s:CXX = gcc:CXX = g++ -yet_exec:g" \
+ -e "s:CXXCPP = gcc -E:CXX = g++ -E -yet_exec:g" \
+ -i "${i}" || die "sed failed"
+ done
+ fi
+
+ emake -j1 || die "compile problem"
+}
+
+src_install() {
+ einstall
+ dodoc mjpeg_howto.txt
+}