summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2004-02-05 12:45:30 +0000
committerMartin Holzer <mholzer@gentoo.org>2004-02-05 12:45:30 +0000
commit0d91b29883e2692553cf3707b730e8ff6c472cf2 (patch)
tree6eab7ebf4d79a7cb2f2fc258bbe3491145bd3e54 /media-video
parentVersion bumped. (diff)
downloadhistorical-0d91b29883e2692553cf3707b730e8ff6c472cf2.tar.gz
historical-0d91b29883e2692553cf3707b730e8ff6c472cf2.tar.bz2
historical-0d91b29883e2692553cf3707b730e8ff6c472cf2.zip
Version bumped.
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mjpegtools/Manifest4
-rw-r--r--media-video/mjpegtools/files/digest-mjpegtools-1.6.21
-rw-r--r--media-video/mjpegtools/mjpegtools-1.6.2.ebuild84
3 files changed, 87 insertions, 2 deletions
diff --git a/media-video/mjpegtools/Manifest b/media-video/mjpegtools/Manifest
index 50968d21037d..48ed392cb1d5 100644
--- a/media-video/mjpegtools/Manifest
+++ b/media-video/mjpegtools/Manifest
@@ -1,4 +1,4 @@
-MD5 142af147a887f851029ae39bfb0f5b61 ChangeLog 8492
+MD5 6ec25eebf734c52e2fa8fc00eb9ee73e ChangeLog 8619
MD5 c9bb82e3c4de92ad8ed6ce7470250e6b metadata.xml 180
MD5 1342615ce9c1eb99bc5fa4915c3950ec mjpegtools-1.6.0-r7.ebuild 2871
MD5 5eff49bdfc7995d6d4437a926d474566 mjpegtools-1.6.1.90-r1.ebuild 1878
@@ -6,7 +6,7 @@ MD5 34c007b6296bdeed780119edd0f43f3a mjpegtools-1.6.1.91.ebuild 1931
MD5 9fa67243454e797c061ddd4facf262cc mjpegtools-1.6.1.ebuild 2413
MD5 b7c475da06a80755703e4a05cf585d1c mjpegtools-1.6.1.92.ebuild 2123
MD5 ae66d0153f3aee8d39b16468d552dc56 mjpegtools-1.6.1.93.ebuild 2122
-MD5 ae66d0153f3aee8d39b16468d552dc56 mjpegtools-1.6.2.ebuild 2122
+MD5 f955a7cbf10d7b4103f403b78b3f0946 mjpegtools-1.6.2.ebuild 2119
MD5 94b45a7608327840f696deb03ebc5ffc files/1.6.0-r7-ppc.patch 443
MD5 961944a5d3c12bdac7baf7d12ea995d7 files/digest-mjpegtools-1.6.0-r7 147
MD5 4a594198579130cfe453fffb532b2aef files/digest-mjpegtools-1.6.1 147
diff --git a/media-video/mjpegtools/files/digest-mjpegtools-1.6.2 b/media-video/mjpegtools/files/digest-mjpegtools-1.6.2
new file mode 100644
index 000000000000..f61243bfc284
--- /dev/null
+++ b/media-video/mjpegtools/files/digest-mjpegtools-1.6.2
@@ -0,0 +1 @@
+MD5 01c0120b0182de67f182ef99ad855daa mjpegtools-1.6.2.tar.gz 1256280
diff --git a/media-video/mjpegtools/mjpegtools-1.6.2.ebuild b/media-video/mjpegtools/mjpegtools-1.6.2.ebuild
new file mode 100644
index 000000000000..92db9cc4bed1
--- /dev/null
+++ b/media-video/mjpegtools/mjpegtools-1.6.2.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2004 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.2.ebuild,v 1.1 2004/02/05 12:45:20 mholzer Exp $
+
+inherit flag-o-matic gcc
+
+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}
+
+ # This breaks compilation on x86 architecture
+ # See bug #36502, comment 8
+ [ "$ARCH" != x86 ] && epatch ${FILESDIR}/${P}-fPIC.patch
+
+# epatch "${FILESDIR}/no-x11-lib.patch"
+}
+
+src_compile() {
+ local myconf
+
+ [ `gcc-major-version` -eq 3 ] && append-flags -mno-sse2
+
+ myconf="${myconf} `use_with X x`"
+ myconf="${myconf} `use_with quicktime`"
+ myconf="${myconf} `use_enable x86 cmov-extensions`"
+
+ # Fix for Via C3-1, see #30345
+ grep -q cmov /proc/cpuinfo || "${myconf} --disable-cmov"
+
+ if [ "`use dv`" ] ; then
+ myconf="${myconf} --with-dv=/usr"
+ fi
+
+ if [ "`use x86`" ]; then
+ 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
+ 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
+}