summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Hildebrand <zypher@gentoo.org>2004-11-05 08:33:57 +0000
committerMarc Hildebrand <zypher@gentoo.org>2004-11-05 08:33:57 +0000
commit7dec739a2c590cf814a78e45b3fbee71b6ddc7b0 (patch)
treed4e31a58fd3ad4b5a05bf9133e146b07557594ca
parentVersion bump. Also introduces some add. dependencies.... (diff)
downloadhistorical-7dec739a2c590cf814a78e45b3fbee71b6ddc7b0.tar.gz
historical-7dec739a2c590cf814a78e45b3fbee71b6ddc7b0.tar.bz2
historical-7dec739a2c590cf814a78e45b3fbee71b6ddc7b0.zip
Added dvd::rip - patch
-rw-r--r--media-video/transcode/ChangeLog6
-rw-r--r--media-video/transcode/Manifest11
-rw-r--r--media-video/transcode/files/digest-transcode-0.6.13-r11
-rw-r--r--media-video/transcode/files/transcode-0.6.13-r1-bitstream.patch12
-rw-r--r--media-video/transcode/transcode-0.6.13-r1.ebuild100
5 files changed, 125 insertions, 5 deletions
diff --git a/media-video/transcode/ChangeLog b/media-video/transcode/ChangeLog
index 2a42b72015a2..09767cb18515 100644
--- a/media-video/transcode/ChangeLog
+++ b/media-video/transcode/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for media-video/transcode
# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.76 2004/10/28 12:14:31 zypher Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.77 2004/11/05 08:33:57 zypher Exp $
+
+ 05 Nov 2004; Marc Hildebrand <zypher@gentoo.org> transcode-0.6.13-r1.ebuild:
+ Added patch to fix dvd::rip issues. Patch and ebuild submitted by folken
+ see bug #70092
28 Oct 2004; Marc Hildebrand <zypher@gentoo.org> transcode-0.6.13.ebuild:
Configure cleanups, changed virtual/quicktime to media-libs/libquicktime as
diff --git a/media-video/transcode/Manifest b/media-video/transcode/Manifest
index 3ad272f239f8..577e75302013 100644
--- a/media-video/transcode/Manifest
+++ b/media-video/transcode/Manifest
@@ -2,15 +2,18 @@
Hash: SHA1
MD5 9dcab1f0d57db45c8f624fb66ff026dc transcode-0.6.12-r2.ebuild 4358
-MD5 c80f5ba2b8c5e29550c8e7e464840fe9 ChangeLog 14209
+MD5 62c4cfdc3df3aea618fd2403f5249858 ChangeLog 14382
MD5 7a7e996c34b77ef59ca5c09d760a5bba transcode-0.6.13.ebuild 2734
MD5 7300a7b361fa9f48e37722c6952bd432 metadata.xml 158
MD5 d1c7003902b194931e4fcf7994105fb5 transcode-0.6.10.ebuild 3758
MD5 f9eec7a52a7ed77258780fe2864a6a68 transcode-0.6.11.ebuild 3824
MD5 01c1de259f9be1df3ec8d7b595547419 transcode-0.6.12.ebuild 2907
+MD5 89fd53c1af6b4fb0e8224e3c1f5702f8 transcode-0.6.13-r1.ebuild 2779
MD5 9e60a5fe6ed81870f4d91e03db5603bf transcode-0.6.12-r1.ebuild 3674
MD5 3b957eef288ce095a2ff0a256aec7c93 files/transcode-0.6.11-no-mmx.patch 1491
MD5 ef79fbe94405505c11c537e07b25c669 files/digest-transcode-0.6.10 69
+MD5 870fbce21a78f1dcde8efc61df838497 files/digest-transcode-0.6.13-r1 69
+MD5 936b66bb309cb3c1dfa33924d3114fa9 files/transcode-0.6.13-r1-bitstream.patch 446
MD5 2cb7b1a00a0529a8256fc0104b5f2a09 files/transcode-gcc34.patch 460
MD5 bc1cb5a39d56ce5216c803c74e73545d files/digest-transcode-0.6.11 69
MD5 870fbce21a78f1dcde8efc61df838497 files/digest-transcode-0.6.13 69
@@ -23,7 +26,7 @@ MD5 b2561dbf66455c878a08afd19868dc5d files/transcode-0.6.12-gcc-3.4.patch 2503
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
-iD8DBQFBgiOoRPjscZbntocRAkztAJ4uUlR5kqjh6MV7m9jmgDUOb6zV3wCfY/wv
-gj5CSTS2c2OL8qTDyPJoBdM=
-=nmwv
+iD8DBQFBizhyRPjscZbntocRAhdCAKCKj2ZkMuEzf3XAVTPhm5PBcoJnCACfQqEr
+Yxzj8Q6RMpNQfNjz83upFos=
+=QDr8
-----END PGP SIGNATURE-----
diff --git a/media-video/transcode/files/digest-transcode-0.6.13-r1 b/media-video/transcode/files/digest-transcode-0.6.13-r1
new file mode 100644
index 000000000000..35a9ec91d8d6
--- /dev/null
+++ b/media-video/transcode/files/digest-transcode-0.6.13-r1
@@ -0,0 +1 @@
+MD5 1efb0ab1bf1a244c8db78d63bd652263 transcode-0.6.13.tar.gz 2614187
diff --git a/media-video/transcode/files/transcode-0.6.13-r1-bitstream.patch b/media-video/transcode/files/transcode-0.6.13-r1-bitstream.patch
new file mode 100644
index 000000000000..0290899342a1
--- /dev/null
+++ b/media-video/transcode/files/transcode-0.6.13-r1-bitstream.patch
@@ -0,0 +1,12 @@
+diff -u3 -rN transcode-0.6.13/libac3/bitstream.c transcode-0.6.13-patched/libac3/bitstream.c
+--- transcode-0.6.13/libac3/bitstream.c 2004-10-17 23:56:50.000000000 +0100
++++ transcode-0.6.13-patched/libac3/bitstream.c 2004-10-28 19:37:06.497339637 +0100
+@@ -97,7 +97,7 @@
+ static inline void
+ bitstream_fill_current()
+ {
+- current_word = *(buffer_start)++;
++ current_word = *((uint_32*)buffer_start)++;
+ current_word = swab32(current_word);
+ }
+
diff --git a/media-video/transcode/transcode-0.6.13-r1.ebuild b/media-video/transcode/transcode-0.6.13-r1.ebuild
new file mode 100644
index 000000000000..c10c583ae3c2
--- /dev/null
+++ b/media-video/transcode/transcode-0.6.13-r1.ebuild
@@ -0,0 +1,100 @@
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/transcode-0.6.13-r1.ebuild,v 1.1 2004/11/05 08:33:57 zypher Exp $
+
+inherit libtool flag-o-matic eutils
+
+MY_P="${P/_pre/.}"
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="video stream processing tool"
+HOMEPAGE="http://zebra.fh-weingarten.de/~transcode/"
+SRC_URI="http://vtel.rgv.net/~ahze/dist/${MY_P}.tar.gz
+ http://www.jakemsr.com/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc ~amd64"
+IUSE="X 3dnow avi altivec divx4linux encode mmx mpeg oggvorbis quicktime sdl sse theora"
+
+DEPEND=">=media-libs/a52dec-0.7.4
+ =sys-devel/gcc-3*
+ >=media-libs/libdv-0.99
+ x86? ( >=dev-lang/nasm-0.98.36 )
+ >=media-libs/libdvdread-0.9.0
+ >=media-video/ffmpeg-0.4.9_pre1
+ >=media-libs/xvid-1.0.2
+ >=media-video/mjpegtools-1.6.2-r3
+ >=dev-libs/lzo-1.08
+ >=media-libs/libfame-0.9.1
+ >=media-gfx/imagemagick-5.5.6.0
+ media-libs/netpbm
+ media-libs/libexif
+ X? ( virtual/x11 )
+ avi? ( >=media-video/avifile-0.7.41.20041001 )
+ divx4linux? ( x86? ( >=media-libs/divx4linux-20030428 ) )
+ mpeg? ( media-libs/libmpeg3 )
+ encode? ( >=media-sound/lame-3.93 )
+ sdl? ( media-libs/libsdl )
+ quicktime? ( >=media-libs/libquicktime-0.9.3 )
+ oggvorbis? ( media-libs/libvorbis
+ media-libs/libogg )
+ theora? ( media-libs/libtheora )"
+# pvm? ( >=sys-cluster/pvm-3.4 )
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ epatch ${FILESDIR}/${PF}-bitstream.patch
+}
+
+src_compile() {
+ filter-flags -maltivec -mabi=altivec
+
+ # fix invalid paths in .la files of plugins
+ elibtoolize
+
+ local myconf="--with-dvdread --enable-mjpegtools --with-mjpegtools \
+ --enable-imagemagick --enable-lzo --enable-a52 --enable-libfame"
+
+ use quicktime && myconf="${myconf} --enable-libquicktime"
+
+# use pvm \
+# && myconf="${myconf} --enable-pvm3 \
+# --with-pvm3-lib=${PVM_ROOT}/lib/LINUX \
+# --with-pvm3-include=${PVM_ROOT}/include"
+
+ # Use the MPlayer libpostproc if present
+ [ -f ${ROOT}/usr/lib/libpostproc.a ] && \
+ [ -f ${ROOT}/usr/include/postproc/postprocess.h ] && \
+ myconf="${myconf} --with-libpostproc-builddir=${ROOT}/usr/lib"
+
+ append-flags -DDCT_YUV_PRECISION=1
+ econf \
+ $(use_enable sse) \
+ $(use_enable mmx) \
+ $(use_enable 3dnow) \
+ $(use_enable altivec) \
+ $(use_enable avi avifile) \
+ $(use_enable encode lame) \
+ $(use_enable mpeg libmpeg3) \
+ $(use_enable oggvorbis ogg) \
+ $(use_enable oggvorbis vorbis) \
+ $(use_enable theora) \
+ $(use_enable X x) \
+ ${myconf} \
+ || die
+
+ emake -j1 all || die
+
+# if use pvm; then
+# sed -i -e "s:\${exec_prefix}/bin/pvmgs:\$(DESTDIR)/\${exec_prefix}/bin/pvmgs:" ${S}/pvm3/Makefile || die
+# fi
+}
+
+src_install () {
+ make \
+ DESTDIR=${D} \
+ install || die
+
+ dodoc AUTHORS COPYING ChangeLog README TODO
+}