summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2004-01-18 18:45:56 +0000
committerMartin Holzer <mholzer@gentoo.org>2004-01-18 18:45:56 +0000
commit9793de774cec686cd134b1c1752f56a8100ab64c (patch)
tree83bbbb80fcfdd318d51da893d41b9fcc78dffd3f /media-video
parentVersion bumped. (diff)
downloadhistorical-9793de774cec686cd134b1c1752f56a8100ab64c.tar.gz
historical-9793de774cec686cd134b1c1752f56a8100ab64c.tar.bz2
historical-9793de774cec686cd134b1c1752f56a8100ab64c.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.1.931
-rw-r--r--media-video/mjpegtools/mjpegtools-1.6.1.93.ebuild84
3 files changed, 87 insertions, 2 deletions
diff --git a/media-video/mjpegtools/Manifest b/media-video/mjpegtools/Manifest
index 0d46aa0d8ce2..8603f0befd2b 100644
--- a/media-video/mjpegtools/Manifest
+++ b/media-video/mjpegtools/Manifest
@@ -1,11 +1,11 @@
-MD5 69688e38918477045d22c2ac99548ae9 ChangeLog 8363
+MD5 142af147a887f851029ae39bfb0f5b61 ChangeLog 8492
MD5 c9bb82e3c4de92ad8ed6ce7470250e6b metadata.xml 180
MD5 1342615ce9c1eb99bc5fa4915c3950ec mjpegtools-1.6.0-r7.ebuild 2871
MD5 5eff49bdfc7995d6d4437a926d474566 mjpegtools-1.6.1.90-r1.ebuild 1878
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 b7c475da06a80755703e4a05cf585d1c mjpegtools-1.6.1.93.ebuild 2123
+MD5 ae66d0153f3aee8d39b16468d552dc56 mjpegtools-1.6.1.93.ebuild 2122
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.1.93 b/media-video/mjpegtools/files/digest-mjpegtools-1.6.1.93
new file mode 100644
index 000000000000..2b3d7f4b6c35
--- /dev/null
+++ b/media-video/mjpegtools/files/digest-mjpegtools-1.6.1.93
@@ -0,0 +1 @@
+MD5 ffe048ef26d91b412c1639d9bd17b40a mjpegtools-1.6.1.93.tar.gz 1253561
diff --git a/media-video/mjpegtools/mjpegtools-1.6.1.93.ebuild b/media-video/mjpegtools/mjpegtools-1.6.1.93.ebuild
new file mode 100644
index 000000000000..def89c8cb15d
--- /dev/null
+++ b/media-video/mjpegtools/mjpegtools-1.6.1.93.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.1.93.ebuild,v 1.1 2004/01/18 18:45:46 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
+}