summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2009-01-30 15:07:02 +0000
committerAlexis Ballier <aballier@gentoo.org>2009-01-30 15:07:02 +0000
commitbc0ae84030cf29275f9bfa577ad9d246c7382809 (patch)
tree060508ec4e41a7c0428bf7538bfadf819ed9787f /media-libs/mlt
parentremove old (diff)
downloadhistorical-bc0ae84030cf29275f9bfa577ad9d246c7382809.tar.gz
historical-bc0ae84030cf29275f9bfa577ad9d246c7382809.tar.bz2
historical-bc0ae84030cf29275f9bfa577ad9d246c7382809.zip
remove old
Package-Manager: portage-2.2_rc23/cvs/Linux x86_64
Diffstat (limited to 'media-libs/mlt')
-rw-r--r--media-libs/mlt/ChangeLog7
-rw-r--r--media-libs/mlt/files/mlt-0.2.2-motion-est-nonx86.patch37
-rw-r--r--media-libs/mlt/files/mlt-0.3.0-sox1420.patch33
-rw-r--r--media-libs/mlt/mlt-0.3.2.ebuild98
4 files changed, 6 insertions, 169 deletions
diff --git a/media-libs/mlt/ChangeLog b/media-libs/mlt/ChangeLog
index e722e91220d2..f2ba1280bcc7 100644
--- a/media-libs/mlt/ChangeLog
+++ b/media-libs/mlt/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-libs/mlt
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/ChangeLog,v 1.34 2009/01/12 22:07:49 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/ChangeLog,v 1.35 2009/01/30 15:02:51 aballier Exp $
+
+ 30 Jan 2009; Alexis Ballier <aballier@gentoo.org>
+ -files/mlt-0.2.2-motion-est-nonx86.patch, -files/mlt-0.3.0-sox1420.patch,
+ -mlt-0.3.2.ebuild:
+ remove old
*mlt-0.3.4 (12 Jan 2009)
diff --git a/media-libs/mlt/files/mlt-0.2.2-motion-est-nonx86.patch b/media-libs/mlt/files/mlt-0.2.2-motion-est-nonx86.patch
deleted file mode 100644
index 96501a279e44..000000000000
--- a/media-libs/mlt/files/mlt-0.2.2-motion-est-nonx86.patch
+++ /dev/null
@@ -1,37 +0,0 @@
-SSE isn't available on any PPC platform, not just Darwin.
-
-Donnie Berkholz <dberkholz@gentoo.org>
-
-SSE isn't available on any platform but the ones supporting SSE
-
-Luca Barbato <lu_zero@gentoo.org>
-
---- mlt-0.2.2.orig/src/modules/motion_est/filter_motion_est.c 2006-08-21 16:55:50.000000000 -0700
-+++ mlt-0.2.2/src/modules/motion_est/filter_motion_est.c 2006-08-21 16:55:26.000000000 -0700
-@@ -34,7 +34,7 @@
- #include <sys/time.h>
- #include <unistd.h>
-
--#ifndef __DARWIN__
-+#ifdef __SSE__
- #include "sad_sse.h"
- #endif
-
-@@ -612,7 +612,7 @@
- } /* End column loop */
- } /* End row loop */
-
--#ifndef __DARWIN__
-+#ifdef __SSE__
- asm volatile ( "emms" );
- #endif
-
-@@ -656,7 +656,7 @@
- static void init_optimizations( struct motion_est_context_s *c )
- {
- switch(c->mb_w){
--#ifndef __DARWIN__
-+#ifdef __SSE__
- case 4: if(c->mb_h == 4) c->compare_optimized = sad_sse_422_luma_4x4;
- else c->compare_optimized = sad_sse_422_luma_4w;
- break;
diff --git a/media-libs/mlt/files/mlt-0.3.0-sox1420.patch b/media-libs/mlt/files/mlt-0.3.0-sox1420.patch
deleted file mode 100644
index 3eed1c0c9662..000000000000
--- a/media-libs/mlt/files/mlt-0.3.0-sox1420.patch
+++ /dev/null
@@ -1,33 +0,0 @@
-Index: src/modules/sox/filter_sox.c
-===================================================================
---- src/modules/sox/filter_sox.c (revision 1238)
-+++ src/modules/sox/filter_sox.c (revision 1239)
-@@ -35,17 +35,21 @@
- # define ST_SUCCESS SOX_SUCCESS
- # define st_sample_t sox_sample_t
- # define eff_t sox_effect_t*
--# define st_size_t sox_size_t
- # define ST_LIB_VERSION_CODE SOX_LIB_VERSION_CODE
- # define ST_LIB_VERSION SOX_LIB_VERSION
-+# if (ST_LIB_VERSION_CODE >= ST_LIB_VERSION(14,2,0))
-+# define st_size_t size_t
-+# else
-+# define st_size_t sox_size_t
-+# endif
- # define ST_SIGNED_WORD_TO_SAMPLE(d,clips) SOX_SIGNED_16BIT_TO_SAMPLE(d,clips)
--#if (ST_LIB_VERSION_CODE >= ST_LIB_VERSION(14,1,0))
--# define ST_SSIZE_MIN SOX_SAMPLE_MIN
-+# if (ST_LIB_VERSION_CODE >= ST_LIB_VERSION(14,1,0))
-+# define ST_SSIZE_MIN SOX_SAMPLE_MIN
-+# else
-+# define ST_SSIZE_MIN SOX_SSIZE_MIN
-+# endif
-+# define ST_SAMPLE_TO_SIGNED_WORD(d,clips) SOX_SAMPLE_TO_SIGNED_16BIT(d,clips)
- #else
--# define ST_SSIZE_MIN SOX_SSIZE_MIN
--#endif
--# define ST_SAMPLE_TO_SIGNED_WORD(d,clips) SOX_SAMPLE_TO_SIGNED_16BIT(d,clips)
--#else
- # include <st.h>
- #endif
-
diff --git a/media-libs/mlt/mlt-0.3.2.ebuild b/media-libs/mlt/mlt-0.3.2.ebuild
deleted file mode 100644
index 200416176df4..000000000000
--- a/media-libs/mlt/mlt-0.3.2.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2008 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-libs/mlt/mlt-0.3.2.ebuild,v 1.1 2008/11/13 10:07:29 aballier Exp $
-
-EAPI=1
-
-inherit eutils toolchain-funcs qt3
-
-DESCRIPTION="MLT is an open source multimedia framework, designed and developed
-for television broadcasting"
-HOMEPAGE="http://mlt.sourceforge.net/"
-SRC_URI="mirror://sourceforge/mlt/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE="dv xml jack gtk sdl vorbis sox quicktime mmx lame xine lame ogg theora
-xine ffmpeg libsamplerate qt3"
-
-DEPEND="ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20080326 )
- dv? ( >=media-libs/libdv-0.104 )
- xml? ( >=dev-libs/libxml2-2.5 )
- ogg? ( >=media-libs/libogg-1.1.3 )
- vorbis? ( >=media-libs/libvorbis-1.1.2 )
- sdl? ( >=media-libs/libsdl-1.2.10
- >=media-libs/sdl-image-1.2.4 )
- libsamplerate? ( >=media-libs/libsamplerate-0.1.2 )
- jack? ( media-sound/jack-audio-connection-kit
- media-libs/ladspa-sdk
- >=dev-libs/libxml2-2.5 )
- gtk? ( >=x11-libs/gtk+-2
- x11-libs/pango )
- sox? ( media-sound/sox )
- quicktime? ( media-libs/libquicktime )
- xine? ( >=media-libs/xine-lib-1.1.2_pre20060328-r7 )
- lame? ( >=media-sound/lame-3.97_beta2 )
- qt3? ( x11-libs/qt:3 )
- theora? ( >=media-libs/libtheora-1.0_alpha5 )"
-RDEPEND=${DEPEND}
-
-pkg_setup() {
- local fail="USE sox needs also USE libsamplerate enabled."
-
- if use sox && ! use libsamplerate; then
- eerror "${fail}"
- die "${fail}"
- fi
-}
-
-src_unpack() {
- unpack ${A}
- cd "${S}"
- epatch "${FILESDIR}"/mlt-0.2.2-motion-est-nonx86.patch
- epatch "${FILESDIR}"/mlt-0.2.3-nostrip.patch
- epatch "${FILESDIR}"/${PN}-0.3.0-sox1420.patch
-}
-
-src_compile() {
- tc-export CC
-
- local myconf=" --enable-gpl --enable-shared
- --enable-pp --enable-shared-pp
- --enable-motion-est
- $(use_enable dv)
- $(use_enable mmx)
- $(use_enable gtk gtk2)
- $(use_enable vorbis)
- $(use_enable ogg)
- $(use_enable sdl)
- $(use_enable jack jackrack)
- $(use_enable sox)
- $(use_enable theora)
- $(use_enable lame mp3lame)
- $(use_enable ffmpeg avformat)
- $(use_enable libsamplerate resample)
- $(use_enable qt3 qimage)
- $(use_enable xml westley)
- $(use_enable xine)"
-
- use ffmpeg && has_version ">=media-video/ffmpeg-0.4.9_p20070616-r20" &&
- myconf="${myconf} --avformat-swscale"
-
- (use quicktime && use dv) || myconf="${myconf} --disable-kino"
-
- econf ${myconf} || die "econf failed"
- sed -i -e s/^OPT/#OPT/ "${S}/config.mak"
- emake || die "emake failed"
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die "emake install failed"
-
- dodoc docs/*.txt ChangeLog README docs/TODO
-
- dodir /usr/share/${PN}
- insinto /usr/share/${PN}
- doins -r demo
-}