diff options
author | Markus Rothe <corsair@gentoo.org> | 2006-01-27 22:21:25 +0000 |
---|---|---|
committer | Markus Rothe <corsair@gentoo.org> | 2006-01-27 22:21:25 +0000 |
commit | c47a02a5c9f847c9e0713c807d5662a2942d086d (patch) | |
tree | 8b50640b2f65bffb7b94f2fa4e0c303a1ef700ba /media-video | |
parent | stable on amd64 wrt bug 117494 (diff) | |
download | gentoo-2-c47a02a5c9f847c9e0713c807d5662a2942d086d.tar.gz gentoo-2-c47a02a5c9f847c9e0713c807d5662a2942d086d.tar.bz2 gentoo-2-c47a02a5c9f847c9e0713c807d5662a2942d086d.zip |
Added patch for ppc64 support. Removing other arches, as this is no trivial change. (bug #93797)
(Portage version: 2.0.54)
Diffstat (limited to 'media-video')
-rw-r--r-- | media-video/transcode/ChangeLog | 8 | ||||
-rw-r--r-- | media-video/transcode/Manifest | 14 | ||||
-rw-r--r-- | media-video/transcode/files/digest-transcode-1.0.2-r2 | 2 | ||||
-rw-r--r-- | media-video/transcode/transcode-1.0.2-r2.ebuild | 141 |
4 files changed, 153 insertions, 12 deletions
diff --git a/media-video/transcode/ChangeLog b/media-video/transcode/ChangeLog index 6fad3f3867c0..81b081850283 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.133 2006/01/19 15:52:22 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.134 2006/01/27 22:21:25 corsair Exp $ + +*transcode-1.0.2-r2 (27 Jan 2006) + + 27 Jan 2006; Markus Rothe <corsair@gentoo.org> +transcode-1.0.2-r2.ebuild: + Added patch for ppc64 support. Removing other arches, as this is no trivial + change. (bug #93797) 19 Jan 2006; Gustavo Zacarias <gustavoz@gentoo.org> transcode-0.6.14-r3.ebuild: diff --git a/media-video/transcode/Manifest b/media-video/transcode/Manifest index 29c50a0f8121..866d4a43ab83 100644 --- a/media-video/transcode/Manifest +++ b/media-video/transcode/Manifest @@ -1,20 +1,12 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 114d4f14c8fd98129a568e8fe68470c7 ChangeLog 24737 +MD5 e508de01eb6de3b177708f11f690828b ChangeLog 24951 MD5 8e1251c76b508dfdfe0e4f0c0b166540 files/digest-transcode-0.6.14-r2 144 MD5 03b7d892f34025e0c5854e0977b5fb49 files/digest-transcode-0.6.14-r3 144 MD5 2ee1936ab9b228cc4350881352426bd8 files/digest-transcode-1.0.2-r1 68 +MD5 9c8ef7a1b3cb0f04ff6e37e1bc6e05e7 files/digest-transcode-1.0.2-r2 136 MD5 09d908064da685a17f52adb57e0c8075 files/transcode-1.0.2-bigdir.patch 10634 MD5 07f7315638c5e4058ed39d914aed0d0f files/transcode-1.0.2-lzo2.patch 2922 MD5 7300a7b361fa9f48e37722c6952bd432 metadata.xml 158 MD5 78dd013b06017dffa629d94d27c361fb transcode-0.6.14-r2.ebuild 3995 MD5 13d0c52e74628292c83986d79e87223d transcode-0.6.14-r3.ebuild 3569 MD5 b15cb6b73f828461bd418ff5faf8194c transcode-1.0.2-r1.ebuild 3789 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux) - -iD8DBQFDz7XHKRy60XGEcJIRAnjpAKCJuAGZDqL0kq8NntP+Pf5uysKqbQCfZ/eH -EiLg/j9JnNNdfTRPBOtkQf4= -=nOQ6 ------END PGP SIGNATURE----- +MD5 826ec52e3200ff2d9b92da08a23f802e transcode-1.0.2-r2.ebuild 3878 diff --git a/media-video/transcode/files/digest-transcode-1.0.2-r2 b/media-video/transcode/files/digest-transcode-1.0.2-r2 new file mode 100644 index 000000000000..f39cc7a9d0aa --- /dev/null +++ b/media-video/transcode/files/digest-transcode-1.0.2-r2 @@ -0,0 +1,2 @@ +MD5 e353c0ab7e927a8672528e05a9ae960b transcode-1.0.2.tar.gz 2347861 +MD5 ece32a8f6bce5bd9d06841bec8cc263e transcode-types.patch.bz2 5021 diff --git a/media-video/transcode/transcode-1.0.2-r2.ebuild b/media-video/transcode/transcode-1.0.2-r2.ebuild new file mode 100644 index 000000000000..8b26fcf10c57 --- /dev/null +++ b/media-video/transcode/transcode-1.0.2-r2.ebuild @@ -0,0 +1,141 @@ +# 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-r2.ebuild,v 1.1 2006/01/27 22:21:25 corsair 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://transcode-types.patch.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~ppc64" +IUSE="X 3dnow a52 altivec dv dvdread mp3 fame truetype gtk imagemagick jpeg +lzo mjpeg mpeg mmx network ogg vorbis quicktime sdl sse sse2 theora v4l2 +xvid xml2 ffmpeg" + +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 ) + media-libs/libexif + 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 ) + ffmpeg? ( >=media-video/ffmpeg-0.4.9_p20050226-r3 ) + || ( sys-libs/glibc dev-libs/libiconv ) + >=media-libs/libmpeg2-0.4.0b + xml2? ( dev-libs/libxml2 ) + X? ( || ( ( + x11-libs/libXaw + x11-libs/libXv ) + virtual/x11 ) ) +" + +DEPEND="${RDEPEND} + v4l2? ( >=sys-kernel/linux-headers-2.6.11 ) + X? ( || ( ( x11-base/xorg-server + x11-libs/libXaw + x11-libs/libXv + x11-proto/xextproto ) + virtual/x11 ) ) + sys-devel/autoconf + sys-devel/automake + sys-devel/libtool" + +pkg_setup() { + if 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" + + eautoreconf + elibtoolize +} + +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 xml2 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) \ + $(use_with ffmpeg libpostproc-builddir "${ROOT}/usr/$(get_libdir)") \ + ${myconf} \ + --with-lzo-includes=/usr/include/lzo \ + --disable-avifile \ + || die + + emake all || die +} + +src_install () { + make DESTDIR=${D} install || die + + dodoc AUTHORS ChangeLog README TODO +} |