summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Pielmeier <billie@gentoo.org>2012-11-28 10:22:22 +0000
committerDaniel Pielmeier <billie@gentoo.org>2012-11-28 10:22:22 +0000
commit9458fd69909d8c4a2ee82ff30c491e6ff37ea577 (patch)
tree9a121e2732d9be5e440cd6823dbabc1acdc0db4c /media-video
parentUse virtual/udev instead of sys-fs/udev wrt #444398 (diff)
downloadgentoo-2-9458fd69909d8c4a2ee82ff30c491e6ff37ea577.tar.gz
gentoo-2-9458fd69909d8c4a2ee82ff30c491e6ff37ea577.tar.bz2
gentoo-2-9458fd69909d8c4a2ee82ff30c491e6ff37ea577.zip
Version bump.
(Portage version: 2.1.11.31/cvs/Linux i686, signed Manifest commit with key 215AD14D)
Diffstat (limited to 'media-video')
-rw-r--r--media-video/mjpegtools/ChangeLog8
-rw-r--r--media-video/mjpegtools/mjpegtools-2.0.1_rc1.ebuild87
2 files changed, 94 insertions, 1 deletions
diff --git a/media-video/mjpegtools/ChangeLog b/media-video/mjpegtools/ChangeLog
index 4bd0928e058d..fe23a860f012 100644
--- a/media-video/mjpegtools/ChangeLog
+++ b/media-video/mjpegtools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/mjpegtools
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/ChangeLog,v 1.186 2012/11/27 15:52:39 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/ChangeLog,v 1.187 2012/11/28 10:22:22 billie Exp $
+
+*mjpegtools-2.0.1_rc1 (28 Nov 2012)
+
+ 28 Nov 2012; Daniel Pielmeier <billie@gentoo.org>
+ +mjpegtools-2.0.1_rc1.ebuild:
+ Version bump.
27 Nov 2012; Jeroen Roovers <jer@gentoo.org> mjpegtools-2.0.0-r3.ebuild:
Stable for HPPA (bug #443824).
diff --git a/media-video/mjpegtools/mjpegtools-2.0.1_rc1.ebuild b/media-video/mjpegtools/mjpegtools-2.0.1_rc1.ebuild
new file mode 100644
index 000000000000..b06f32c007f5
--- /dev/null
+++ b/media-video/mjpegtools/mjpegtools-2.0.1_rc1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/mjpegtools-2.0.1_rc1.ebuild,v 1.1 2012/11/28 10:22:22 billie Exp $
+
+EAPI=4
+
+inherit flag-o-matic toolchain-funcs
+
+MY_P=${P/_rc/RC}
+
+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 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd"
+IUSE="dga dv gtk mmx png quicktime sdl sdlgfx static-libs v4l"
+REQUIRED_USE="sdlgfx? ( sdl )"
+
+RDEPEND="virtual/jpeg
+ quicktime? ( media-libs/libquicktime )
+ dv? ( >=media-libs/libdv-0.99 )
+ png? ( media-libs/libpng )
+ dga? ( x11-libs/libXxf86dga )
+ gtk? ( x11-libs/gtk+:2 )
+ sdl? ( >=media-libs/libsdl-1.2.7-r3
+ x11-libs/libX11
+ x11-libs/libXt
+ sdlgfx? ( media-libs/sdl-gfx )
+ )"
+
+DEPEND="${RDEPEND}
+ mmx? ( dev-lang/nasm )
+ >=sys-apps/sed-4
+ sys-apps/gawk
+ virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_pretend() {
+ if has_version ">=sys-kernel/linux-headers-2.6.38" && use v4l; then
+ ewarn "Current versions of mjpegtools only support V4L1 which is not available"
+ ewarn "for kernel versions 2.6.38 and above. V4L1 will be disabled."
+ fi
+}
+
+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 sdlgfx) \
+ $(use_with v4l) \
+ $(use_with sdl x)
+}
+
+src_install() {
+ default
+
+ dodoc mjpeg_howto.txt PLANS HINTS docs/FAQ.txt
+
+ find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
+}
+
+pkg_postinst() {
+ if [[ -z "${REPLACING_VERSIONS}" ]]; then
+ elog "mjpegtools installs user contributed scripts which require additional"
+ elog "dependencies not pulled in by the installation."
+ elog "These have to be installed manually."
+ elog "Currently known extra dpendencies are: ffmpeg, mencoder from mplayer,"
+ elog "parts of transcode, mpeg2dec from libmpeg2, sox, toolame, vcdimager, python."
+ fi
+}