summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2006-08-21 17:51:09 +0000
committerSteve Dibb <beandog@gentoo.org>2006-08-21 17:51:09 +0000
commitefd0e18ab187f5736bf7eb6457b76536b9263b68 (patch)
tree7ec8fd56e97734ff35e445adbd1b1e476eaea7fb /media-video/transcode
parentDon't depend on app-emacs/w3; Resolves Bug #144616. (diff)
downloadgentoo-2-efd0e18ab187f5736bf7eb6457b76536b9263b68.tar.gz
gentoo-2-efd0e18ab187f5736bf7eb6457b76536b9263b68.tar.bz2
gentoo-2-efd0e18ab187f5736bf7eb6457b76536b9263b68.zip
Remove dependency for libexif, see bug 136739
(Portage version: 2.1-r2)
Diffstat (limited to 'media-video/transcode')
-rw-r--r--media-video/transcode/ChangeLog7
-rw-r--r--media-video/transcode/files/digest-transcode-1.0.2-r36
-rw-r--r--media-video/transcode/transcode-1.0.2-r3.ebuild139
3 files changed, 151 insertions, 1 deletions
diff --git a/media-video/transcode/ChangeLog b/media-video/transcode/ChangeLog
index 84d3f6b02c2a..6e8550da6643 100644
--- a/media-video/transcode/ChangeLog
+++ b/media-video/transcode/ChangeLog
@@ -1,6 +1,11 @@
# 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.149 2006/07/09 20:12:41 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.150 2006/08/21 17:51:09 beandog Exp $
+
+*transcode-1.0.2-r3 (21 Aug 2006)
+
+ 21 Aug 2006; Steve Dibb <beandog@gentoo.org> +transcode-1.0.2-r3.ebuild:
+ Remove dependency for libexif, see bug 136739
09 Jul 2006; Diego Pettenò <flameeyes@gentoo.org>
transcode-1.0.2-r2.ebuild:
diff --git a/media-video/transcode/files/digest-transcode-1.0.2-r3 b/media-video/transcode/files/digest-transcode-1.0.2-r3
new file mode 100644
index 000000000000..2d26e8b234da
--- /dev/null
+++ b/media-video/transcode/files/digest-transcode-1.0.2-r3
@@ -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/transcode-1.0.2-r3.ebuild b/media-video/transcode/transcode-1.0.2-r3.ebuild
new file mode 100644
index 000000000000..f76658f2e3fe
--- /dev/null
+++ b/media-video/transcode/transcode-1.0.2-r3.ebuild
@@ -0,0 +1,139 @@
+# Copyright 1999-2006 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-r3.ebuild,v 1.1 2006/08/21 17:51:09 beandog Exp $
+
+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 )
+ <virtual/x11-7 ) )
+"
+
+DEPEND="${RDEPEND}
+ v4l2? ( >=sys-kernel/linux-headers-2.6.11 )
+ X? ( || ( x11-proto/xextproto <virtual/x11-7 ) )"
+
+pkg_setup() {
+ if use X && has_version '<x11-base/xorg-x11-7.0' && ! built_with_use x11-base/xorg-x11 xv; then
+ die "You need xorg-x11 emerged with xv support to compile transcode."
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+
+ sed -i -e "s:\$(datadir)/doc/transcode:\$(datadir)/doc/${PF}:" \
+ ${S}/Makefile.am ${S}/docs/Makefile.am ${S}/docs/html/Makefile.am \
+ ${S}/docs/release-notes/Makefile.am
+
+ epatch "${FILESDIR}/${P}-bigdir.patch"
+ epatch "${FILESDIR}/${P}-lzo2.patch"
+ epatch "${DISTDIR}/${PN}-types.patch.bz2"
+ epatch "${FILESDIR}/${P}-autoconf259d.patch"
+
+ eautoreconf
+}
+
+src_compile() {
+ filter-flags -maltivec -mabi=altivec -momit-leaf-frame-pointer
+ 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-3dnow \
+ --enable-sse --enable-sse2"
+ elif use x86; then
+ myconf="${myconf} $(use_enable mmx) \
+ $(use_enable 3dnow) \
+ $(use_enable sse) \
+ $(use_enable sse2)"
+ fi
+
+ 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
+}