diff options
author | Daniel Pielmeier <billie@gentoo.org> | 2011-05-23 20:58:40 +0000 |
---|---|---|
committer | Daniel Pielmeier <billie@gentoo.org> | 2011-05-23 20:58:40 +0000 |
commit | 95ded2a30731b2830ebb6cf20df6ea2ae0557dea (patch) | |
tree | 5e1787f2275742f174fd56b4598fa943ae8bea06 /media-video/mjpegtools | |
parent | ~x86 per bug 365417 (diff) | |
download | gentoo-2-95ded2a30731b2830ebb6cf20df6ea2ae0557dea.tar.gz gentoo-2-95ded2a30731b2830ebb6cf20df6ea2ae0557dea.tar.bz2 gentoo-2-95ded2a30731b2830ebb6cf20df6ea2ae0557dea.zip |
Version bump.
(Portage version: 2.1.9.42/cvs/Linux i686)
Diffstat (limited to 'media-video/mjpegtools')
-rw-r--r-- | media-video/mjpegtools/ChangeLog | 7 | ||||
-rw-r--r-- | media-video/mjpegtools/mjpegtools-2.0.0.ebuild | 79 |
2 files changed, 85 insertions, 1 deletions
diff --git a/media-video/mjpegtools/ChangeLog b/media-video/mjpegtools/ChangeLog index 2fc8411a9c30..ba297b6b665e 100644 --- a/media-video/mjpegtools/ChangeLog +++ b/media-video/mjpegtools/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for media-video/mjpegtools # Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/ChangeLog,v 1.153 2011/05/12 18:31:45 billie Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/ChangeLog,v 1.154 2011/05/23 20:58:40 billie Exp $ + +*mjpegtools-2.0.0 (23 May 2011) + + 23 May 2011; Daniel Pielmeier <billie@gentoo.org> +mjpegtools-2.0.0.ebuild: + Version bump. *mjpegtools-2.0.0_rc1 (12 May 2011) diff --git a/media-video/mjpegtools/mjpegtools-2.0.0.ebuild b/media-video/mjpegtools/mjpegtools-2.0.0.ebuild new file mode 100644 index 000000000000..ce6ce93c657c --- /dev/null +++ b/media-video/mjpegtools/mjpegtools-2.0.0.ebuild @@ -0,0 +1,79 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/mjpegtools-2.0.0.ebuild,v 1.1 2011/05/23 20:58:40 billie Exp $ + +EAPI=4 + +inherit flag-o-matic linux-info toolchain-funcs + +MY_P=${P/_/} + +DESCRIPTION="Tools for MJPEG video" +HOMEPAGE="http://mjpeg.sourceforge.net/" +SRC_URI="mirror://sourceforge/mjpeg/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="1" +KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="dga dv gtk mmx png quicktime sdl static-libs v4l X" +REQUIRED_USE="!X? ( !gtk !sdl ) + X? ( sdl )" + +RDEPEND="virtual/jpeg + quicktime? ( media-libs/libquicktime ) + dv? ( >=media-libs/libdv-0.99 ) + png? ( media-libs/libpng ) + dga? ( x11-libs/libXxf86dga ) + X? ( x11-libs/libX11 + x11-libs/libXt + gtk? ( x11-libs/gtk+:2 ) + sdl? ( >=media-libs/libsdl-1.2.7-r3 ) + )" + +DEPEND="${RDEPEND} + mmx? ( dev-lang/nasm ) + >=sys-apps/sed-4 + sys-apps/gawk + dev-util/pkgconfig" + +S="${WORKDIR}/${P/_rc*}" + +pkg_pretend() { + if kernel_is ge 2 6 38 && use v4l; then + ewarn "Current versions of mjpegtools only support V4L1 which is not available" + ewarn "for kernels versions 2.6.38 and above. V4L1 will be disabled." + fi +} + +# Avoid execution of linux-info_pkg_setup() +pkg_setup() { : ; } + +src_prepare() { + sed -i -e '/ARCHFLAGS=/s:=.*:=:' configure +} + +src_configure() { + [[ $(gcc-major-version) -eq 3 ]] && append-flags -mno-sse2 + + econf \ + --enable-compile-warnings \ + $(use_enable mmx simd-accel) \ + $(use_enable static-libs static) \ + --enable-largefile \ + $(use_with quicktime libquicktime) \ + $(use_with dv libdv) \ + $(use_with png libpng) \ + $(use_with dga) \ + $(use_with gtk) \ + $(use_with sdl libsdl) \ + $(use_with v4l) \ + $(use_with X x) +} + +src_install() { + default + + dodoc mjpeg_howto.txt PLANS HINTS docs/FAQ.txt + + find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed" +} |