diff options
author | Matthias Schwarzott <zzam@gentoo.org> | 2007-03-05 14:02:42 +0000 |
---|---|---|
committer | Matthias Schwarzott <zzam@gentoo.org> | 2007-03-05 14:02:42 +0000 |
commit | 4a31ccab6bed26d55c4828d001d296fe099171f5 (patch) | |
tree | a8b3ebb05a6bd21f455d11ef15500a275cd2f171 /media-video/mjpegtools | |
parent | Unmasked sci-visualization/paraview-2.6.0 after extensive testing. (diff) | |
download | gentoo-2-4a31ccab6bed26d55c4828d001d296fe099171f5.tar.gz gentoo-2-4a31ccab6bed26d55c4828d001d296fe099171f5.tar.bz2 gentoo-2-4a31ccab6bed26d55c4828d001d296fe099171f5.zip |
Version bumped. All patches/m4 files in upstream tarball now :).
(Portage version: 2.1.2-r14)
Diffstat (limited to 'media-video/mjpegtools')
-rw-r--r-- | media-video/mjpegtools/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/mjpegtools/files/digest-mjpegtools-1.9.0_rc2 | 3 | ||||
-rw-r--r-- | media-video/mjpegtools/mjpegtools-1.9.0_rc2.ebuild | 97 |
3 files changed, 107 insertions, 1 deletions
diff --git a/media-video/mjpegtools/ChangeLog b/media-video/mjpegtools/ChangeLog index 35d4b85e7747..9c23ebe44aac 100644 --- a/media-video/mjpegtools/ChangeLog +++ b/media-video/mjpegtools/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/mjpegtools # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/ChangeLog,v 1.126 2007/02/25 22:43:21 zzam Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/ChangeLog,v 1.127 2007/03/05 14:02:42 zzam Exp $ + +*mjpegtools-1.9.0_rc2 (05 Mar 2007) + + 05 Mar 2007; Matthias Schwarzott <zzam@gentoo.org> + +mjpegtools-1.9.0_rc2.ebuild: + Version bumped. All patches/m4 files in upstream tarball now :). *mjpegtools-1.9.0_rc1 (25 Feb 2007) diff --git a/media-video/mjpegtools/files/digest-mjpegtools-1.9.0_rc2 b/media-video/mjpegtools/files/digest-mjpegtools-1.9.0_rc2 new file mode 100644 index 000000000000..b9c337996cef --- /dev/null +++ b/media-video/mjpegtools/files/digest-mjpegtools-1.9.0_rc2 @@ -0,0 +1,3 @@ +MD5 8e747f633775d4e747c7993342efd614 mjpegtools-1.9.0rc2.tar.gz 2591542 +RMD160 2ea62d8f0fac9441a8c1164697a674d9febb55ee mjpegtools-1.9.0rc2.tar.gz 2591542 +SHA256 fbf99164da88921d8c97aafcb98b595a66fcdd00897ca387ff6198d23fb237bf mjpegtools-1.9.0rc2.tar.gz 2591542 diff --git a/media-video/mjpegtools/mjpegtools-1.9.0_rc2.ebuild b/media-video/mjpegtools/mjpegtools-1.9.0_rc2.ebuild new file mode 100644 index 000000000000..1f48081a73d5 --- /dev/null +++ b/media-video/mjpegtools/mjpegtools-1.9.0_rc2.ebuild @@ -0,0 +1,97 @@ +# Copyright 1999-2007 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_rc2.ebuild,v 1.1 2007/03/05 14:02:42 zzam Exp $ + +WANT_AUTOMAKE="latest" +WANT_AUTOCONF="latest" + +inherit flag-o-matic toolchain-funcs eutils libtool autotools + +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.0 ) + 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 + ) + virtual/x11 + ) + )" + +DEPEND="${RDEPEND} + mmx? ( dev-lang/nasm ) + >=sys-apps/sed-4 + dev-util/pkgconfig" + +S="${WORKDIR}/${MY_P}" + +src_unpack() { + unpack ${A} + cd ${S} + + # eautoreconf instead of elibtoolize + # as pkg-config-patch changes configure.in + # + #AT_M4DIR=${S}/missing_m4 eautoreconf + + 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 +} |