summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-video/mjpegtools')
-rw-r--r--media-video/mjpegtools/ChangeLog8
-rw-r--r--media-video/mjpegtools/Manifest22
-rw-r--r--media-video/mjpegtools/files/digest-mjpegtools-1.8.0-r11
-rw-r--r--media-video/mjpegtools/mjpegtools-1.8.0-r1.ebuild106
4 files changed, 121 insertions, 16 deletions
diff --git a/media-video/mjpegtools/ChangeLog b/media-video/mjpegtools/ChangeLog
index d8eee6035260..90c59dcd0178 100644
--- a/media-video/mjpegtools/ChangeLog
+++ b/media-video/mjpegtools/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/mjpegtools
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/ChangeLog,v 1.98 2005/10/05 08:06:32 zypher Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/ChangeLog,v 1.99 2005/11/01 20:47:39 blubb Exp $
+
+*mjpegtools-1.8.0-r1 (01 Nov 2005)
+
+ 01 Nov 2005; Simon Stelling <blubb@gentoo.org>
+ +mjpegtools-1.8.0-r1.ebuild:
+ revision bump to enable SIMD extensions on amd64; bug 108417
*mjpegtools-1.8.0 (19 Sep 2005)
diff --git a/media-video/mjpegtools/Manifest b/media-video/mjpegtools/Manifest
index 599ed5347f54..8ff741148545 100644
--- a/media-video/mjpegtools/Manifest
+++ b/media-video/mjpegtools/Manifest
@@ -1,10 +1,11 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 8c732a794f64501c42b19f15ce85a2a3 ChangeLog 17283
+MD5 50fdfc672823ea3abb282e3a4087fb67 ChangeLog 17462
+MD5 fe49014257499366bdc6903a9aa33fe5 metadata.xml 311
+MD5 b621da873f201e9693c1647a3a1f32eb mjpegtools-1.8.0-r1.ebuild 2793
+MD5 6d8a62b5b79393430be157295ac7b559 mjpegtools-1.6.2-r4.ebuild 3309
+MD5 0f4410c758d53e51381b2ced54eaa9ce mjpegtools-1.8.0.ebuild 2678
MD5 3150d43b1c44c02265b8481e271093c8 files/altivec-fix-1.6.2.patch 1011
-MD5 0d8b5844ab88ae9b60a7785572273347 files/digest-mjpegtools-1.6.2-r4 213
MD5 e0c5507384a9c0a03df00cde6fe67164 files/digest-mjpegtools-1.8.0 69
+MD5 0d8b5844ab88ae9b60a7785572273347 files/digest-mjpegtools-1.6.2-r4 213
MD5 1b2c526400f0a0f1e0c150c6ff42e8c6 files/mjpegtools-1.6.2-configure.patch 2592
MD5 39b5dadaf6e522165490f099d98b954c files/mjpegtools-1.6.2-dv.patch 634
MD5 a4cae44ea5989aed95d7b8d84aaf0af4 files/mjpegtools-1.6.2-fPIC.patch 9945
@@ -13,13 +14,4 @@ MD5 d67f97f3bd586946968fca9b8d31be85 files/mjpegtools-1.6.2-gcc34.patch 1601
MD5 ff67ff91c5a8ae610b882510d8d9f43c files/mjpegtools-1.6.2-libquicktime094.patch 12934
MD5 abdfec9a9d07b842509b709ba17d69ab files/mjpegtools-1.6.2-nogtk.patch 556
MD5 cbcc90f9de3aaf0ac12aa6bd1c4db025 files/no-x11-lib-2.patch 469
-MD5 fe49014257499366bdc6903a9aa33fe5 metadata.xml 311
-MD5 6d8a62b5b79393430be157295ac7b559 mjpegtools-1.6.2-r4.ebuild 3309
-MD5 0f4410c758d53e51381b2ced54eaa9ce mjpegtools-1.8.0.ebuild 2678
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDQ4mrpNOQ4DjaQW0RAul0AJ4ukvSLQjydZVZ/ZMKv7fAR77ObOACfWVAc
-u6KGGqGsM2phNdwZJuLjLFU=
-=4Awr
------END PGP SIGNATURE-----
+MD5 e0c5507384a9c0a03df00cde6fe67164 files/digest-mjpegtools-1.8.0-r1 69
diff --git a/media-video/mjpegtools/files/digest-mjpegtools-1.8.0-r1 b/media-video/mjpegtools/files/digest-mjpegtools-1.8.0-r1
new file mode 100644
index 000000000000..9e0652573247
--- /dev/null
+++ b/media-video/mjpegtools/files/digest-mjpegtools-1.8.0-r1
@@ -0,0 +1 @@
+MD5 6fd98362310480bdaf7171e9659f165f mjpegtools-1.8.0.tar.gz 1475998
diff --git a/media-video/mjpegtools/mjpegtools-1.8.0-r1.ebuild b/media-video/mjpegtools/mjpegtools-1.8.0-r1.ebuild
new file mode 100644
index 000000000000..4f6012b7fb6b
--- /dev/null
+++ b/media-video/mjpegtools/mjpegtools-1.8.0-r1.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/mjpegtools/mjpegtools-1.8.0-r1.ebuild,v 1.1 2005/11/01 20:47:39 blubb Exp $
+
+inherit flag-o-matic toolchain-funcs eutils
+
+M4V="1"
+
+DESCRIPTION="Tools for MJPEG video"
+HOMEPAGE="http://mjpeg.sourceforge.net/"
+SRC_URI="mirror://sourceforge/mjpeg/${P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="1"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="gtk avi dv quicktime sdl X yv12 3dnow mmx sse v4l dga"
+
+RDEPEND="media-libs/jpeg
+ x86? ( media-libs/libmovtar
+ mmx? ( >=media-libs/jpeg-mmx-0.1.6 )
+ )
+ gtk? ( =x11-libs/gtk+-1.2*
+ =dev-libs/glib-1.2* )
+ avi? ( media-video/avifile )
+ dv? ( >=media-libs/libdv-0.99 )
+ quicktime? ( virtual/quicktime )
+ sdl? ( >=media-libs/libsdl-1.2.7-r3 )
+ X? ( virtual/x11 )"
+
+DEPEND="${RDEPEND}
+ x86? ( mmx? ( dev-lang/nasm )
+ 3dnow? ( dev-lang/nasm )
+ sse? ( dev-lang/nasm )
+ )
+ >=sys-apps/sed-4
+ sys-devel/autoconf
+ =sys-devel/automake-1.5*"
+
+src_unpack() {
+ unpack ${A} ; cd ${S}
+
+ libtoolize --copy --force
+# ACLOCAL="aclocal -I ${WORKDIR}/m4" autoreconf || die
+
+}
+
+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
+
+ # This could be changed to allow building on g/fbsd in the future.
+ if use x86; then
+ if use mmx || use 3dnow || use sse; then
+ myconf="${myconf} --enable-simd-accel"
+ fi
+ if use mmx; then
+ myconf="${myconf} --with-jpeg-mmx=/usr/include/jpeg-mmx"
+ fi
+
+ if [[ ${CHOST/i686/} != ${CHOST} ]] || [[ ${CHOST/x86_64/} != ${CHOST} ]]; then
+ myconf="${myconf} --enable-cmov-extension"
+ fi
+
+ [[ $(gcc-major-version) -eq 3 ]] && append-flags -mno-sse2
+ fi
+
+ if use amd64; then
+ myconf="${myconf} --enable-simd-accel"
+ myconf="${myconf} --enable-cmov-extension"
+ fi
+
+ econf \
+ $(use_with X x) \
+ $(use_enable dga xfree-ext) \
+ $(use_with quicktime) \
+ $(use_with v4l) \
+ $(use_with gtk) \
+ $(use_with sdl) \
+ $(use_with dv dv /usr) \
+ --enable-largefile \
+ ${myconf} || die "configure failed"
+
+# emake CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" -j1 || die "emake failed"
+ emake -j1 || 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
+}