summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-08-28 22:27:50 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-08-28 22:27:50 +0000
commit16fda998675c1017d56a06e0bad61fc6e66af663 (patch)
treecb00540c29f6f3fb1dd2eb70e13c956413b6ec8d /media-video/transcode
parentopenhbci-0.9.13 (diff)
downloadhistorical-16fda998675c1017d56a06e0bad61fc6e66af663.tar.gz
historical-16fda998675c1017d56a06e0bad61fc6e66af663.tar.bz2
historical-16fda998675c1017d56a06e0bad61fc6e66af663.zip
Version bumped.
Diffstat (limited to 'media-video/transcode')
-rw-r--r--media-video/transcode/ChangeLog9
-rw-r--r--media-video/transcode/Manifest15
-rw-r--r--media-video/transcode/files/digest-transcode-0.6.91
-rw-r--r--media-video/transcode/files/transcode-0.6.9-makefile.patch23
-rw-r--r--media-video/transcode/transcode-0.6.9.ebuild138
5 files changed, 179 insertions, 7 deletions
diff --git a/media-video/transcode/ChangeLog b/media-video/transcode/ChangeLog
index 0728488232c8..ee2eb32a2306 100644
--- a/media-video/transcode/ChangeLog
+++ b/media-video/transcode/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for media-video/transcode
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.46 2003/08/04 21:33:17 mholzer Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.47 2003/08/28 22:27:50 mholzer Exp $
+
+*transcode-0.6.9 (29 Aug 2003)
+
+ 29 Aug 2003; Martin Holzer <mholzer@gentoo.org> transcode-0.6.9.ebuild,
+ files/transcode-0.6.9-makefile.patch:
+ Version bumped. Ebuild submitted by José Romildo Malaquias
+ <romildo@uber.com.br> in #26462.
05 Aug 2003; Martin Holzer <mholzer@gentoo.org> transcode-0.6.3.ebuild,
transcode-0.6.6.ebuild, transcode-0.6.7.ebuild, transcode-0.6.8.ebuild:
diff --git a/media-video/transcode/Manifest b/media-video/transcode/Manifest
index 7140c07c7a55..28ca47de41d2 100644
--- a/media-video/transcode/Manifest
+++ b/media-video/transcode/Manifest
@@ -1,10 +1,13 @@
-MD5 225a843999c440c3060e96b9fe6fca35 files/digest-transcode-0.6.3 68
+MD5 77f1fe50a3ac63877526a6bed39709b4 ChangeLog 9595
+MD5 69c6128a6516cde2ca02cadf237b99f1 transcode-0.6.9.ebuild 3702
+MD5 bb9e8233673a4e656ba6661791aa17b2 transcode-0.6.3.ebuild 3048
+MD5 697f9b144ad79e9f0d59a7a1fa772649 transcode-0.6.6.ebuild 3279
+MD5 52325063b0cdbccffbdc7ad946112b65 transcode-0.6.7.ebuild 3377
+MD5 79df70c9fb70fb67edaf56fa10497a10 transcode-0.6.8.ebuild 3332
MD5 40f99c39a21fb09fb3218e2956d758be files/digest-transcode-0.6.8 68
+MD5 2b19613dfc575babca14ae8f3878cf9f files/digest-transcode-0.6.9 68
+MD5 225a843999c440c3060e96b9fe6fca35 files/digest-transcode-0.6.3 68
MD5 2e179af41bdf16c1de0a976eb914a141 files/digest-transcode-0.6.6 68
MD5 4a954714299d666fbf12472d96760bed files/digest-transcode-0.6.7 68
MD5 14479296c3af00baa49396d77c35d01e files/transcode-0.6.7-clone_close.diff 597
-MD5 bb9e8233673a4e656ba6661791aa17b2 transcode-0.6.3.ebuild 3048
-MD5 79df70c9fb70fb67edaf56fa10497a10 transcode-0.6.8.ebuild 3332
-MD5 697f9b144ad79e9f0d59a7a1fa772649 transcode-0.6.6.ebuild 3279
-MD5 52325063b0cdbccffbdc7ad946112b65 transcode-0.6.7.ebuild 3377
-MD5 9a13551a16d5d8bb00f154eac9cdca76 ChangeLog 9352
+MD5 32c936c145faf596052a5cdbc95376cf files/transcode-0.6.9-makefile.patch 969
diff --git a/media-video/transcode/files/digest-transcode-0.6.9 b/media-video/transcode/files/digest-transcode-0.6.9
new file mode 100644
index 000000000000..7b327fd3cd32
--- /dev/null
+++ b/media-video/transcode/files/digest-transcode-0.6.9
@@ -0,0 +1 @@
+MD5 34158c90f6e4efbd45c2efb5703af23a transcode-0.6.9.tar.gz 2980047
diff --git a/media-video/transcode/files/transcode-0.6.9-makefile.patch b/media-video/transcode/files/transcode-0.6.9-makefile.patch
new file mode 100644
index 000000000000..c3563fd46a09
--- /dev/null
+++ b/media-video/transcode/files/transcode-0.6.9-makefile.patch
@@ -0,0 +1,23 @@
+--- transcode-0.6.9/export/Makefile.am.orig 2003-08-04 17:21:42.000000000 -0300
++++ transcode-0.6.9/export/Makefile.am 2003-08-26 11:43:22.000000000 -0300
+@@ -239,5 +239,5 @@
+
+
+ install-exec-hook:
+- @rm -f $(MOD_PATH)/export_xvid.so
+- @$(LN_S) export_$(XVID_DEFAULT).so $(MOD_PATH)/export_xvid.so
++ #@rm -f $(MOD_PATH)/export_xvid.so
++ @$(LN_S) export_$(XVID_DEFAULT).so $(DESTDIR)$(MOD_PATH)/export_xvid.so
+--- transcode-0.6.9/export/Makefile.in.orig 2003-08-04 17:21:42.000000000 -0300
++++ transcode-0.6.9/export/Makefile.in 2003-08-26 12:04:55.000000000 -0300
+@@ -1114,8 +1114,8 @@
+
+
+ install-exec-hook:
+- @rm -f $(MOD_PATH)/export_xvid.so
+- @$(LN_S) export_$(XVID_DEFAULT).so $(MOD_PATH)/export_xvid.so
++ #@rm -f $(MOD_PATH)/export_xvid.so
++ @$(LN_S) export_$(XVID_DEFAULT).so $(DESTDIR)$(MOD_PATH)/export_xvid.so
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/media-video/transcode/transcode-0.6.9.ebuild b/media-video/transcode/transcode-0.6.9.ebuild
new file mode 100644
index 000000000000..e774e1fff1e1
--- /dev/null
+++ b/media-video/transcode/transcode-0.6.9.ebuild
@@ -0,0 +1,138 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/transcode-0.6.9.ebuild,v 1.1 2003/08/28 22:27:50 mholzer Exp $
+
+inherit libtool flag-o-matic eutils
+
+# Don't build with -mfpmath=sse || -fPic or it will break. (Bug #14920)
+filter-mfpmath sse
+filter-flags -fPIC
+filter-flags -maltivec -mabi=altivec
+
+MY_P="${P/_pre/.}"
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="video stream processing tool"
+HOMEPAGE="http://zebra.fh-weingarten.de/~transcode/"
+SRC_URI="http://www.zebra.fh-weingarten.de/~transcode/pre/${MY_P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86 ~ppc"
+IUSE="sdl mmx mpeg sse encode X quicktime avi altivec"
+
+DEPEND=">=media-libs/a52dec-0.7.3
+ >=media-libs/libdv-0.99
+ x86? ( >=dev-lang/nasm-0.98.34 )
+ >=media-libs/libdvdread-0.9.0
+ >=media-video/ffmpeg-0.4.6
+ >=media-libs/xvid-0.9.1
+ >=media-video/mjpegtools-1.6.0
+ >=dev-libs/lzo-1.08
+ >=media-libs/libfame-0.9.0
+ >=media-gfx/imagemagick-5.4.9.0
+ media-libs/netpbm
+ X? ( virtual/x11 )
+ avi? ( >=media-video/avifile-0.7.25 )
+ avi? ( x86? ( >=media-libs/divx4linux-20030428 ) )
+ mpeg? ( media-libs/libmpeg3 )
+ encode? ( >=media-sound/lame-3.89 )
+ sdl? ( media-libs/libsdl )
+ quicktime? ( virtual/quicktime media-libs/openquicktime )"
+
+src_unpack() {
+ unpack ${A}
+
+ # does not remove installed xvidcore export filter
+ patch -p0 <${FILESDIR}/${P}-makefile.patch || die
+
+ if has_version '>=media-libs/netpbm-9.13'
+ then
+ einfo "New netbpm (>9.12)..."
+ cp ${S}/contrib/subrip/Makefile ${S}/contrib/subrip/Makefile.orig
+ sed -e 's:-lppm:-lnetpbm:' \
+ ${S}/contrib/subrip/Makefile.orig > ${S}/contrib/subrip/Makefile
+ else
+ einfo "Old netbpm (<=9.12)..."
+ fi
+}
+
+src_compile() {
+ # fix invalid paths in .la files of plugins
+ elibtoolize
+
+ local myconf=
+ myconf="--with-dvdread"
+
+ use mmx \
+ && myconf="${myconf} --enable-mmx"
+ use mmx || ( use 3dnow || use sse ) \
+ || myconf="${myconf} --disable-mmx"
+ # Dont disable mmx if 3dnow or sse are requested.
+
+ use sse \
+ && myconf="${myconf} --enable-sse" \
+ || myconf="${myconf} --disable-sse"
+
+ use altivec \
+ && myconf="${myconf} --enable-altivec" \
+ || myconf="${myconf} --disable-altivec"
+
+ use avi \
+ && myconf="${myconf} --with-avifile-mods --enable-avifile6" \
+ || myconf="${myconf} --without-avifile-mods --disable-avifile6"
+
+ use encode \
+ && myconf="${myconf} --with-lame" \
+ || myconf="${myconf} --without-lame"
+
+ use mpeg \
+ && myconf="${myconf} --with-libmpeg3" \
+ || myconf="${myconf} --without-libmpeg3"
+
+ use quicktime \
+ && myconf="${myconf} --with-qt --with-openqt" \
+ || myconf="${myconf} --without-qt --without-openqt"
+
+ use X \
+ && myconf="${myconf} --enable-x" \
+ || myconf="${myconf} --disable-x"
+
+ # 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"
+
+ econf ${myconf} CFLAGS="${CFLAGS} -DDCT_YUV_PRECISION=1" || die
+
+ # Do not use emake !!
+ # export CFLAGS="${CFLAGS} -DDCT_YUV_PRECISION=1"
+
+ # workaround for including avifile haders, which are expected
+ # in an directory named "avifile"
+ use avi \
+ && avi_inc=$(avifile-config --cflags | sed -e "s|^-I||") \
+ && [ -d "$avi_inc" ] \
+ && [ "$(basename "$avi_inc")" != "avifile" ] \
+ && ln -s "$avi_inc" avifile
+
+ make all || die
+
+ # subrip stuff
+ cd contrib/subrip
+ make || die
+}
+
+src_install () {
+ make \
+ DESTDIR=${D} \
+ install || die
+
+ dodoc AUTHORS COPYING ChangeLog README TODO
+
+ # subrip stuff
+ cd contrib/subrip
+ dobin pgm2txt srttool subtitle2pgm subtitle2vobsub
+ einfo ""
+ einfo "This ebuild uses subtitles !!!"
+ einfo ""
+}