summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2009-01-04 00:40:41 +0000
committerBen de Groot <yngwin@gentoo.org>2009-01-04 00:40:41 +0000
commitdaea2bf411bf8d18c2c4084196f844c5ae882135 (patch)
treea0d0e9f768ebd253fa7246afc8798d3bbbe29d7d /media-video
parentClean up old revisions. (diff)
downloadgentoo-2-daea2bf411bf8d18c2c4084196f844c5ae882135.tar.gz
gentoo-2-daea2bf411bf8d18c2c4084196f844c5ae882135.tar.bz2
gentoo-2-daea2bf411bf8d18c2c4084196f844c5ae882135.zip
Version bump, fixes bug 252352
(Portage version: 2.2_rc20/cvs/Linux 2.6.27-hh7 i686)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mjpegtools/ChangeLog10
-rw-r--r--media-video/mjpegtools/mjpegtools-1.9.0_rc4.ebuild89
2 files changed, 97 insertions, 2 deletions
diff --git a/media-video/mjpegtools/ChangeLog b/media-video/mjpegtools/ChangeLog
index 4a9ca4ceef6a..876dcc4f1421 100644
--- a/media-video/mjpegtools/ChangeLog
+++ b/media-video/mjpegtools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/mjpegtools
-# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/ChangeLog,v 1.131 2008/04/20 08:02:34 vapier Exp $
+# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/ChangeLog,v 1.132 2009/01/04 00:40:41 yngwin Exp $
+
+*mjpegtools-1.9.0_rc4 (04 Jan 2009)
+
+ 04 Jan 2009; Ben de Groot <yngwin@gentoo.org>
+ +mjpegtools-1.9.0_rc4.ebuild:
+ Version bump, fixes bug 252352
20 Apr 2008; Mike Frysinger <vapier@gentoo.org>
+files/mjpegtools-1.9.0_rc3-gcc43.patch, mjpegtools-1.9.0_rc3.ebuild:
diff --git a/media-video/mjpegtools/mjpegtools-1.9.0_rc4.ebuild b/media-video/mjpegtools/mjpegtools-1.9.0_rc4.ebuild
new file mode 100644
index 000000000000..8471275dadbe
--- /dev/null
+++ b/media-video/mjpegtools/mjpegtools-1.9.0_rc4.ebuild
@@ -0,0 +1,89 @@
+# Copyright 1999-2009 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/mjpegtools-1.9.0_rc4.ebuild,v 1.1 2009/01/04 00:40:41 yngwin Exp $
+
+EAPI=1
+
+WANT_AUTOMAKE="latest"
+WANT_AUTOCONF="latest"
+
+inherit flag-o-matic toolchain-funcs eutils libtool
+
+MY_P=${P/_/}
+
+DESCRIPTION="Tools for MJPEG video"
+HOMEPAGE="http://mjpeg.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mjpeg/${MY_P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="1"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gtk dv quicktime sdl X yv12 v4l dga png mmx"
+
+RDEPEND="media-libs/jpeg
+ gtk? ( x11-libs/gtk+:2 )
+ dv? ( >=media-libs/libdv-0.99 )
+ quicktime? ( virtual/quicktime )
+ png? ( media-libs/libpng )
+ sdl? ( >=media-libs/libsdl-1.2.7-r3 )
+ X? ( x11-libs/libX11
+ x11-libs/libXt )"
+
+DEPEND="${RDEPEND}
+ mmx? ( dev-lang/nasm )
+ >=sys-apps/sed-4
+ dev-util/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure
+}
+
+src_compile() {
+ local myconf
+
+ if use yv12 && use dv; then
+ myconf="${myconf} --with-dv-yv12"
+ elif use yv12; then
+ ewarn "yv12 support is possible when 'dv' is in your USE flags."
+ fi
+
+ [[ $(gcc-major-version) -eq 3 ]] && append-flags -mno-sse2
+
+ append-flags -fno-strict-aliasing
+
+ econf \
+ $(use_with X x) \
+ $(use_enable dga xfree-ext) \
+ $(use_with quicktime libquicktime) \
+ $(use_with png libpng) \
+ $(use_with v4l) \
+ $(use_with gtk) \
+ $(use_with sdl) \
+ $(use_with dv libdv /usr) \
+ $(use_enable mmx simd-accel) \
+ --enable-largefile \
+ --without-jpeg-mmx \
+ ${myconf} || die "configure failed"
+
+ emake || die "emake failed"
+
+ cd docs
+ local infofile
+ for infofile in mjpeg*info*; do
+ echo "INFO-DIR-SECTION Miscellaneous" >> ${infofile}
+ echo "START-INFO-DIR-ENTRY" >> ${infofile}
+ echo "* mjpeg-howto: (mjpeg-howto). How to use the mjpeg-tools" >> ${infofile}
+ echo "END-INFO-DIR-ENTRY" >> ${infofile}
+ done
+}
+
+src_install() {
+ einstall || die "install failed"
+ dodoc mjpeg_howto.txt README PLANS NEWS README.AltiVec README.avilib \
+ README.DV README.glav README.lavpipe README.transist TODO \
+ HINTS BUGS ChangeLog AUTHORS CHANGES
+}