summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2008-07-26 10:09:10 +0000
committerAlexis Ballier <aballier@gentoo.org>2008-07-26 10:09:10 +0000
commit1e5306ba6cf76992cfa38132f11ffabcce493117 (patch)
treeb28113ef37065f056cd87af6942c8b634473bdf2 /media-video/transcode
parentNo longer install old not existant docs, Bug #232972. Removed broken ebuild. (diff)
downloadgentoo-2-1e5306ba6cf76992cfa38132f11ffabcce493117.tar.gz
gentoo-2-1e5306ba6cf76992cfa38132f11ffabcce493117.tar.bz2
gentoo-2-1e5306ba6cf76992cfa38132f11ffabcce493117.zip
version bump
(Portage version: 2.2_rc3/cvs/Linux 2.6.25.7 x86_64)
Diffstat (limited to 'media-video/transcode')
-rw-r--r--media-video/transcode/ChangeLog8
-rw-r--r--media-video/transcode/files/transcode-1.0.6-imagemagick.patch13
-rw-r--r--media-video/transcode/transcode-1.0.6.ebuild133
3 files changed, 153 insertions, 1 deletions
diff --git a/media-video/transcode/ChangeLog b/media-video/transcode/ChangeLog
index 1ebaf2fdd61f..0b898d25a042 100644
--- a/media-video/transcode/ChangeLog
+++ b/media-video/transcode/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for media-video/transcode
# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.222 2008/07/22 07:38:07 aballier Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.223 2008/07/26 10:09:09 aballier Exp $
+
+*transcode-1.0.6 (26 Jul 2008)
+
+ 26 Jul 2008; Alexis Ballier <aballier@gentoo.org>
+ +files/transcode-1.0.6-imagemagick.patch, +transcode-1.0.6.ebuild:
+ version bump
22 Jul 2008; Alexis Ballier <aballier@gentoo.org>
-transcode-1.0.6_rc2-r1.ebuild:
diff --git a/media-video/transcode/files/transcode-1.0.6-imagemagick.patch b/media-video/transcode/files/transcode-1.0.6-imagemagick.patch
new file mode 100644
index 000000000000..3e0c0198afa9
--- /dev/null
+++ b/media-video/transcode/files/transcode-1.0.6-imagemagick.patch
@@ -0,0 +1,13 @@
+Index: transcode-1.0.6/configure.in
+===================================================================
+--- transcode-1.0.6.orig/configure.in
++++ transcode-1.0.6/configure.in
+@@ -1247,7 +1247,7 @@ dnl
+ IMAGEMAGICK_EXTRA_LIBS="$IMAGEMAGICK_EXTRA_LIBS -lz -lm"
+ dnl MagickWand libraries/headers always (?) are a superset of MagickCore ones.
+ TC_PKG_CHECK(imagemagick, no, IMAGEMAGICK, Wand-config, [magick/api.h],
+- Magick, InitializeMagick, Wand, [http://www.imagemagick.org/])
++ MagickWand, InitializeMagick, Wand, [http://www.imagemagick.org/])
+ TC_PKG_HAVE(imagemagick, IMAGEMAGICK)
+ if test x"$have_imagemagick" = x"yes" ; then
+ AC_CHECK_HEADER([wand/magick-wand.h],
diff --git a/media-video/transcode/transcode-1.0.6.ebuild b/media-video/transcode/transcode-1.0.6.ebuild
new file mode 100644
index 000000000000..bb16f426d899
--- /dev/null
+++ b/media-video/transcode/transcode-1.0.6.ebuild
@@ -0,0 +1,133 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/transcode-1.0.6.ebuild,v 1.1 2008/07/26 10:09:09 aballier Exp $
+
+WANT_AUTOMAKE="1.8"
+
+inherit libtool flag-o-matic eutils multilib autotools
+
+MY_P="${P/_rc/rc}"
+S="${WORKDIR}/${MY_P}"
+
+DESCRIPTION="Utilities for transcoding video, audio and container formats."
+HOMEPAGE="http://www.transcoding.org/cgi-bin/transcode"
+SRC_URI="http://fromani.exit1.org/${MY_P}.tar.bz2"
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86"
+IUSE="X 3dnow a52 altivec dv dvdread extrafilters mp3 fame truetype iconv
+imagemagick jpeg lzo mjpeg mpeg mmx network nuv ogg oss 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-6.4.0.6 )
+ mpeg? ( media-libs/libmpeg3 )
+ mp3? ( >=media-sound/lame-3.93 )
+ sdl? ( media-libs/libsdl )
+ quicktime? ( >=media-libs/libquicktime-0.9.8 )
+ vorbis? ( media-libs/libvorbis )
+ ogg? ( media-libs/libogg )
+ nuv? ( =dev-libs/lzo-2* )
+ theora? ( media-libs/libtheora )
+ jpeg? ( media-libs/jpeg )
+ 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 )"
+
+DEPEND="${RDEPEND}
+ dev-util/pkgconfig
+ v4l2? ( >=sys-kernel/linux-headers-2.6.11 )"
+
+pkg_setup() {
+ if use sdl && use X && ! built_with_use media-libs/libsdl X; then
+ eerror "media-libs/libsdl must be built with the X use flag."
+ die "fix use flags"
+ 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}-imagemagick.patch"
+ eautoreconf
+}
+
+src_compile() {
+
+ strip-flags
+ local myconf
+
+ if use ppc || use ppc64 ; then
+ append-flags -U__ALTIVEC__
+ fi
+
+ append-flags -DDCT_YUV_PRECISION=1
+
+ use xvid && myconf="${myconf} --with-default-xvid=xvid4"
+ # Follow upstreams suggestion about a52, libac3 is deprecated
+ use a52 && myconf="${myconf} --enable-a52 --enable-a52-default-decoder"
+ myconf="${myconf} \
+ $(use_enable mmx) \
+ $(use_enable sse) \
+ $(use_enable sse2) \
+ $(use_enable 3dnow) \
+ $(use_enable altivec) \
+ $(use_enable network netstream) \
+ $(use_enable truetype freetype2) \
+ $(use_enable v4l2 v4l) \
+ $(use_enable mp3 lame) \
+ $(use_enable nuv) \
+ $(use_enable ogg) \
+ $(use_enable oss) \
+ $(use_enable vorbis) \
+ $(use_enable theora) \
+ $(use_enable dvdread libdvdread) \
+ $(use_enable dv libdv) \
+ $(use_enable quicktime libquicktime) \
+ $(use_enable lzo) \
+ $(use_enable iconv) \
+ $(use_enable mpeg libmpeg3) \
+ $(use_enable xml libxml2) \
+ $(use_enable mjpeg mjpegtools) \
+ $(use_enable sdl) \
+ $(use_enable fame libfame) \
+ $(use_enable imagemagick) \
+ $(use_enable jpeg libjpeg) \
+ $(use_with X x) \
+ --with-mod-path=/usr/$(get_libdir)/transcode \
+ --with-libpostproc-prefix=/usr/$(get_libdir) \
+ --disable-avifile \
+ --disable-xio"
+ econf ${myconf} || die "econf died"
+
+ emake all || die "emake failed"
+}
+
+src_install () {
+ emake DESTDIR="${D}" install || die "emake install died"
+
+ #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 README-1.0.1
+ dodoc docs/*.txt docs/README.* docs/OPTIMIZERS docs/faq
+ dohtml docs/html/*
+ doman docs/man/*.1
+}