From: Steve Dibb Date: Thu, 1 Feb 2007 03:38:26 +0000 (+0000) Subject: Add dvraw patch, bug 146307 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=dd94e1c4f8dc98a2fe3935bd8a2ae0810bd41201;p=gentoo.git Add dvraw patch, bug 146307 Package-Manager: portage-2.1.1-r2 --- diff --git a/media-video/transcode/ChangeLog b/media-video/transcode/ChangeLog index d8d5ebdb8765..fe8a925db570 100644 --- a/media-video/transcode/ChangeLog +++ b/media-video/transcode/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for media-video/transcode -# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.161 2006/12/01 17:11:29 dertobi123 Exp $ +# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.162 2007/02/01 03:38:26 beandog Exp $ + +*transcode-1.0.2-r4 (01 Feb 2007) + + 01 Feb 2007; Steve Dibb + +files/transcode-1.0.2-dvraw.patch, +transcode-1.0.2-r4.ebuild: + Add dvraw patch, bug 146307 01 Dec 2006; Tobias Scherbaum transcode-1.0.2-r3.ebuild: diff --git a/media-video/transcode/Manifest b/media-video/transcode/Manifest index 3efa8e3d3676..e07a4094e413 100644 --- a/media-video/transcode/Manifest +++ b/media-video/transcode/Manifest @@ -6,6 +6,10 @@ AUX transcode-1.0.2-bigdir.patch 10634 RMD160 dca043f16a24d58802ead53b41e26adf93 MD5 09d908064da685a17f52adb57e0c8075 files/transcode-1.0.2-bigdir.patch 10634 RMD160 dca043f16a24d58802ead53b41e26adf9336c7b9 files/transcode-1.0.2-bigdir.patch 10634 SHA256 306f238ceb11bf81a01f27b684b0ec014aa576fb48c4072e1e67324a86c99bab files/transcode-1.0.2-bigdir.patch 10634 +AUX transcode-1.0.2-dvraw.patch 468 RMD160 e9db4cb2537335a1c6fa52558947e79be28c4242 SHA1 a3eca2ef5022592990a9792e7c994c89089123ee SHA256 ca6348239c711db9153aca2724b14afa6a0bd34b171f068b025b8ea4c4bfd3e2 +MD5 fb624a00174e44fa6b0594ad0eb01f59 files/transcode-1.0.2-dvraw.patch 468 +RMD160 e9db4cb2537335a1c6fa52558947e79be28c4242 files/transcode-1.0.2-dvraw.patch 468 +SHA256 ca6348239c711db9153aca2724b14afa6a0bd34b171f068b025b8ea4c4bfd3e2 files/transcode-1.0.2-dvraw.patch 468 AUX transcode-1.0.2-libmpeg3-1.7.patch 1635 RMD160 2eef06ea202e792964a5b0d1c723a036dd9d02cd SHA1 34ca8904a2ade759af598393a3f0ff364eb4ffcd SHA256 fd0979eff9350001d63af7fa910a30224538f15602c863aa62537bc80974635c MD5 4800ad904d7fb6e3bebb1c675f143ca2 files/transcode-1.0.2-libmpeg3-1.7.patch 1635 RMD160 2eef06ea202e792964a5b0d1c723a036dd9d02cd files/transcode-1.0.2-libmpeg3-1.7.patch 1635 @@ -28,10 +32,14 @@ EBUILD transcode-1.0.2-r3.ebuild 4243 RMD160 885e4b3c7291db01f68833b6e043b89a29e MD5 cb1f740f16e4fd98833679d6dda5e11b transcode-1.0.2-r3.ebuild 4243 RMD160 885e4b3c7291db01f68833b6e043b89a29e6eb78 transcode-1.0.2-r3.ebuild 4243 SHA256 1fec515c66d30a608662ae38f3a1a776ab6b69c9bc4ad4eef1d7e69c65d44071 transcode-1.0.2-r3.ebuild 4243 -MISC ChangeLog 28918 RMD160 68b33b9bf1d14a2d98cf20e1af88e827730b7209 SHA1 14fcc482835f28ae8285dffa6d4f308f68946090 SHA256 7807b9396e7c7777c5fc2244ab67cbb7de98886ae698ac19ca113c0fbc6a363d -MD5 03ee96f1fae1b47ced39e7203e7ecaeb ChangeLog 28918 -RMD160 68b33b9bf1d14a2d98cf20e1af88e827730b7209 ChangeLog 28918 -SHA256 7807b9396e7c7777c5fc2244ab67cbb7de98886ae698ac19ca113c0fbc6a363d ChangeLog 28918 +EBUILD transcode-1.0.2-r4.ebuild 4297 RMD160 e6d55c27b7b612c2c3568c9240d944bbd0f30450 SHA1 5f667cb0ebd2d7b7fcd44c67cce13679776dcf6b SHA256 1351a9a373d097a1c9e0463db79a33f4b24bdc475ebd4b6369e696b90c1801f5 +MD5 5f8c157865c2bd2ecb0636d2336fee78 transcode-1.0.2-r4.ebuild 4297 +RMD160 e6d55c27b7b612c2c3568c9240d944bbd0f30450 transcode-1.0.2-r4.ebuild 4297 +SHA256 1351a9a373d097a1c9e0463db79a33f4b24bdc475ebd4b6369e696b90c1801f5 transcode-1.0.2-r4.ebuild 4297 +MISC ChangeLog 29094 RMD160 5f018f0cd5ea9a8ec59ab55040e25e6b47538329 SHA1 27da96ec516053f0172bc31fd41cd6c370b1105c SHA256 1203e9a25d9bd45ac12c05226b5897ec4cf2ef3227176f6676d3866900df5f92 +MD5 a080e67d84c51ad2dd08c0af58aa4be9 ChangeLog 29094 +RMD160 5f018f0cd5ea9a8ec59ab55040e25e6b47538329 ChangeLog 29094 +SHA256 1203e9a25d9bd45ac12c05226b5897ec4cf2ef3227176f6676d3866900df5f92 ChangeLog 29094 MISC metadata.xml 223 RMD160 86b42c49b694db39ddb3fdc60b98a3ad1a0c3392 SHA1 ea8c387229caaf4b0d3c9fbef9143b70dcae0b0d SHA256 dd48e823ec9a151bc3611121402ed26ee24eb3304aa62870b1e875a8fa0ac812 MD5 0338bfb24d7bfb6450aac4dd025c0096 metadata.xml 223 RMD160 86b42c49b694db39ddb3fdc60b98a3ad1a0c3392 metadata.xml 223 @@ -42,3 +50,6 @@ SHA256 69e0df2008dd3d72e0654cbb83818090a7ee9ef47dd21331e23864740620706f files/di MD5 c448a2ffa8b3dbb74c19c6158c3b5236 files/digest-transcode-1.0.2-r3 500 RMD160 6a87084baf3f95adfa72259f0e4ebdf9c5de10a8 files/digest-transcode-1.0.2-r3 500 SHA256 69e0df2008dd3d72e0654cbb83818090a7ee9ef47dd21331e23864740620706f files/digest-transcode-1.0.2-r3 500 +MD5 c448a2ffa8b3dbb74c19c6158c3b5236 files/digest-transcode-1.0.2-r4 500 +RMD160 6a87084baf3f95adfa72259f0e4ebdf9c5de10a8 files/digest-transcode-1.0.2-r4 500 +SHA256 69e0df2008dd3d72e0654cbb83818090a7ee9ef47dd21331e23864740620706f files/digest-transcode-1.0.2-r4 500 diff --git a/media-video/transcode/files/digest-transcode-1.0.2-r4 b/media-video/transcode/files/digest-transcode-1.0.2-r4 new file mode 100644 index 000000000000..2d26e8b234da --- /dev/null +++ b/media-video/transcode/files/digest-transcode-1.0.2-r4 @@ -0,0 +1,6 @@ +MD5 e353c0ab7e927a8672528e05a9ae960b transcode-1.0.2.tar.gz 2347861 +RMD160 5a07777093b3d395180396a662dc765c179cd687 transcode-1.0.2.tar.gz 2347861 +SHA256 765936b908fb32ea2149f76246fb22c931549485959cea76ac40f10924c0c0da transcode-1.0.2.tar.gz 2347861 +MD5 ece32a8f6bce5bd9d06841bec8cc263e transcode-types.patch.bz2 5021 +RMD160 956ea116495a57e304ab71a20ccd45ffd7416544 transcode-types.patch.bz2 5021 +SHA256 02bf6ac9a2e039336e103d43acbe7c86975bc3b587dc9dfa23992bd949fc2170 transcode-types.patch.bz2 5021 diff --git a/media-video/transcode/files/transcode-1.0.2-dvraw.patch b/media-video/transcode/files/transcode-1.0.2-dvraw.patch new file mode 100644 index 000000000000..f906d1b933ca --- /dev/null +++ b/media-video/transcode/files/transcode-1.0.2-dvraw.patch @@ -0,0 +1,11 @@ +--- transcode-1.0.2.orig/export/export_dvraw.c 2005-07-04 00:09:32.000000000 -0700 ++++ transcode-1.0.2/export/export_dvraw.c 2006-10-04 22:13:57.000000000 -0700 +@@ -323,7 +323,7 @@ + + }//no pass-through + #ifdef LIBDV_099 +- encoder->samples_this_frame=param->size; ++ encoder->samples_this_frame=param->size/4; + #endif + dv_encode_metadata(target, encoder->isPAL, encoder->is16x9, &now, 0); + dv_encode_timecode(target, encoder->isPAL, 0); diff --git a/media-video/transcode/transcode-1.0.2-r4.ebuild b/media-video/transcode/transcode-1.0.2-r4.ebuild new file mode 100644 index 000000000000..4680f7866267 --- /dev/null +++ b/media-video/transcode/transcode-1.0.2-r4.ebuild @@ -0,0 +1,149 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/transcode-1.0.2-r4.ebuild,v 1.1 2007/02/01 03:38:26 beandog Exp $ + +WANT_AUTOMAKE=latest +WANT_AUTOCONF=latest + +inherit libtool flag-o-matic eutils multilib autotools + +MY_P="${P/_/}" +S=${WORKDIR}/${MY_P} +DESCRIPTION="video stream processing tool" +HOMEPAGE="http://www.transcoding.org/cgi-bin/transcode" +SRC_URI="mirror://transcode/${MY_P}.tar.gz + mirror://gentoo/transcode-types.patch.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="X 3dnow a52 altivec dv dvdread extrafilters mp3 fame truetype gtk imagemagick jpeg +lzo mjpeg mpeg mmx network ogg vorbis quicktime sdl sse sse2 theora v4l2 +xvid xml" + +RDEPEND="a52? ( >=media-libs/a52dec-0.7.4 ) + dv? ( >=media-libs/libdv-0.99 ) + dvdread? ( >=media-libs/libdvdread-0.9.0 ) + xvid? ( >=media-libs/xvid-1.0.2 ) + mjpeg? ( >=media-video/mjpegtools-1.6.2-r3 ) + lzo? ( >=dev-libs/lzo-2 ) + fame? ( >=media-libs/libfame-0.9.1 ) + imagemagick? ( >=media-gfx/imagemagick-5.5.6.0 ) + mpeg? ( media-libs/libmpeg3 ) + mp3? ( >=media-sound/lame-3.93 ) + sdl? ( media-libs/libsdl ) + quicktime? ( >=media-libs/libquicktime-0.9.3 ) + vorbis? ( media-libs/libvorbis ) + ogg? ( media-libs/libogg ) + theora? ( media-libs/libtheora ) + jpeg? ( media-libs/jpeg ) + gtk? ( =x11-libs/gtk+-1.2* ) + truetype? ( >=media-libs/freetype-2 ) + >=media-video/ffmpeg-0.4.9_p20050226-r3 + || ( sys-libs/glibc dev-libs/libiconv ) + >=media-libs/libmpeg2-0.4.0b + xml? ( dev-libs/libxml2 ) + X? ( || ( ( + x11-libs/libXaw + x11-libs/libXv ) + =media-libs/libmpeg3-1.7' \ + && epatch "${FILESDIR}/${P}-libmpeg3-1.7.patch" + + eautoreconf +} + +src_compile() { + filter-flags -maltivec -mabi=altivec -momit-leaf-frame-pointer + #145849 + use amd64 && filter-flags -fweb + + if use ppc || use ppc64 ; then + append-flags -U__ALTIVEC__ + fi + + use xvid \ + && myconf="${myconf} --with-default-xvid=xvid4" + + # Hardenable SIMD extensions on amd64 + if use amd64; then + myconf="${myconf} --enable-mmx \ + --enable-sse --enable-sse2" + elif use x86; then + myconf="${myconf} $(use_enable mmx) \ + $(use_enable sse) \ + $(use_enable sse2)" + fi + myconf="${myconf} $(use_enable 3dnow)" + + append-flags -DDCT_YUV_PRECISION=1 + econf \ + $(use_enable altivec) \ + $(use_enable network netstream) \ + $(use_enable truetype freetype2) \ + $(use_enable v4l2 v4l) \ + $(use_enable mp3 lame) \ + $(use_enable ogg) \ + $(use_enable vorbis) \ + $(use_enable theora) \ + $(use_enable dvdread libdvdread) \ + $(use_enable dv libdv) \ + $(use_enable quicktime libquicktime) \ + $(use_enable lzo) \ + $(use_enable a52) \ + $(use_enable mpeg libmpeg3) \ + $(use_enable xml libxml2) \ + $(use_enable mjpeg mjpegtools) \ + $(use_enable sdl) \ + $(use_enable gtk) \ + $(use_enable fame libfame) \ + $(use_enable imagemagick) \ + $(use_enable jpeg libjpeg) \ + --with-mod-path=/usr/$(get_libdir)/transcode \ + $(use_with X x) \ + ${myconf} \ + --with-libpostproc-builddir="${ROOT}/usr/$(get_libdir)" \ + --with-lzo-includes=/usr/include/lzo \ + --disable-avifile \ + || die + + emake all || die +} + +src_install () { + make DESTDIR="${D}" install || die + + #do not install the filters that make dvdrip hang unless we ask for them + if ! use extrafilters ; then + rm "${D}"/usr/$(get_libdir)/transcode/filter_logo.* + rm "${D}"/usr/$(get_libdir)/transcode/filter_compare.* + fi + + dodoc AUTHORS ChangeLog README TODO +}