summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Chvatal <scarabeus@gentoo.org>2012-05-17 08:42:49 +0000
committerTomas Chvatal <scarabeus@gentoo.org>2012-05-17 08:42:49 +0000
commitf37a0b9d99abbcc51e78bbc8a323c0e61151be0f (patch)
tree484e0706f708d67bc4cfcdd3f8185ca33be1b255 /media-video/transcode
parentmarked x86 per bug 396329 (diff)
downloadgentoo-2-f37a0b9d99abbcc51e78bbc8a323c0e61151be0f.tar.gz
gentoo-2-f37a0b9d99abbcc51e78bbc8a323c0e61151be0f.tar.bz2
gentoo-2-f37a0b9d99abbcc51e78bbc8a323c0e61151be0f.zip
Stable on sparc as the 1.1.5 is not buildable at all. So worst case is that state wont change for them. Bug#395729.
(Portage version: 2.2.0_alpha107/cvs/Linux x86_64)
Diffstat (limited to 'media-video/transcode')
-rw-r--r--media-video/transcode/ChangeLog7
-rw-r--r--media-video/transcode/transcode-1.1.5-r2.ebuild144
-rw-r--r--media-video/transcode/transcode-1.1.7.ebuild4
3 files changed, 8 insertions, 147 deletions
diff --git a/media-video/transcode/ChangeLog b/media-video/transcode/ChangeLog
index 8b6d15bd96b1..e7a349797363 100644
--- a/media-video/transcode/ChangeLog
+++ b/media-video/transcode/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for media-video/transcode
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.301 2012/05/05 08:58:57 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/ChangeLog,v 1.302 2012/05/17 08:42:48 scarabeus Exp $
+
+ 17 May 2012; Tomáš Chvátal <scarabeus@gentoo.org> -transcode-1.1.5-r2.ebuild,
+ transcode-1.1.7.ebuild:
+ Stable on sparc as the 1.1.5 is not buildable at all. So worst case is that
+ state wont change for them. Bug#395729.
05 May 2012; Jeff Horelick <jdhore@gentoo.org> transcode-1.1.5-r2.ebuild,
transcode-1.1.7.ebuild:
diff --git a/media-video/transcode/transcode-1.1.5-r2.ebuild b/media-video/transcode/transcode-1.1.5-r2.ebuild
deleted file mode 100644
index e5c6e1bd0ee0..000000000000
--- a/media-video/transcode/transcode-1.1.5-r2.ebuild
+++ /dev/null
@@ -1,144 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/transcode-1.1.5-r2.ebuild,v 1.13 2012/05/05 08:58:57 jdhore Exp $
-
-EAPI=2
-
-WANT_AUTOCONF="2.5"
-WANT_AUTOMAKE="1.10"
-
-inherit libtool flag-o-matic eutils multilib autotools
-
-MY_P=${P/_}
-S="${WORKDIR}/${MY_P}"
-DESCRIPTION="video stream processing tool"
-HOMEPAGE="http://tcforge.berlios.de/"
-SRC_URI="mirror://berlios/tcforge/${MY_P}.tar.bz2"
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
-IUSE="X 3dnow a52 aac alsa altivec dv dvd iconv imagemagick jpeg lzo mjpeg mp3 mpeg mmx nuv ogg oss postproc quicktime sdl sse sse2 theora truetype v4l vorbis x264 xml xvid"
-
-RDEPEND="aac? ( media-libs/faac )
- a52? ( media-libs/a52dec )
- alsa? ( media-libs/alsa-lib )
- dv? ( media-libs/libdv )
- dvd? ( media-libs/libdvdread )
- mjpeg? ( media-video/mjpegtools )
- lzo? ( >=dev-libs/lzo-2 )
- imagemagick? ( media-gfx/imagemagick )
- mp3? ( media-sound/lame )
- sdl? ( >=media-libs/libsdl-1.2.5[X] )
- quicktime? ( >=media-libs/libquicktime-1.0.0 )
- vorbis? ( media-libs/libvorbis )
- ogg? ( media-libs/libogg )
- theora? ( media-libs/libtheora )
- jpeg? ( virtual/jpeg )
- truetype? ( >=media-libs/freetype-2 )
- virtual/ffmpeg
- virtual/libiconv
- postproc? ( media-video/ffmpeg )
- mpeg? ( media-libs/libmpeg2 )
- x264? ( media-libs/x264 )
- xml? ( dev-libs/libxml2 )
- xvid? ( media-libs/xvid )
- X? ( x11-libs/libXpm
- x11-libs/libXaw
- x11-libs/libXv )"
-
-DEPEND="${RDEPEND}
- virtual/pkgconfig
- v4l? ( >=sys-kernel/linux-headers-2.6.11 )"
-
-# Notify the user that some useflag have been forced on
-tc_use_force() {
- use $1 && use !$2 && ewarn "USE=$1 requires $2, $2 will be enabled."
-}
-
-# Use when $2 depends strictly on $3
-# if use $1 then enable $2 and $3, otherwise disable $2
-tc_use_enable_force() {
- if use $1 ; then
- echo "--enable-$2 --enable-$3"
- else
- echo "--disable-$2"
- fi
-}
-
-pkg_setup() {
- tc_use_force sse mmx
- tc_use_force 3dnow mmx
- tc_use_force sse2 mmx
- tc_use_force sse2 sse
-}
-
-src_prepare() {
- sed -i -e "s:\$(datadir)/doc/transcode:\$(datadir)/doc/${PF}:" \
- "${S}"/Makefile.am "${S}"/docs/Makefile.am "${S}"/docs/html/Makefile.am \
- "${S}"/docs/pvm3/Makefile.am "${S}"/docs/tech/html/Makefile.am \
- "${S}"/docs/tech/Makefile.am
-
- epatch "${FILESDIR}"/${P}-jpeg-7.patch
- epatch "${FILESDIR}"/${P}-mpa.patch
- epatch "${FILESDIR}"/${P}-ffmpeg.patch
-
- eautoreconf
-}
-
-src_configure() {
- # NuppelVideo is supported only on x86 platform yet
- # TODO: mask nuv useflag for all other arches
- # TODO: watch tcrequant for change. It's currently enabled with --enable-deprecated.
- use x86 && myconf="${myconf} $(use_enable nuv)"
- myconf="${myconf} \
- $(use_enable mmx) \
- $(use_enable 3dnow) \
- $(use_enable sse) \
- $(use_enable sse2) \
- $(use_enable altivec) \
- $(use_enable v4l) \
- $(use_enable alsa) \
- $(use_enable oss) \
- $(use_enable truetype freetype2) \
- $(use_enable mp3 lame) \
- $(use_enable x264) \
- $(use_enable xvid) \
- $(use_enable ogg) \
- $(use_enable vorbis) \
- $(use_enable theora) \
- $(use_enable dvd libdvdread) \
- $(use_enable dv libdv) \
- $(use_enable quicktime libquicktime) \
- $(use_enable imagemagick) \
- $(use_enable postproc libpostproc) \
- $(use_enable lzo) \
- $(use_enable a52) \
- $(use_enable aac faac) \
- $(use_enable xml libxml2) \
- $(use_enable mpeg libmpeg2) \
- $(use_enable mpeg libmpeg2convert) \
- $(use_enable mjpeg mjpegtools) \
- $(use_enable sdl) \
- $(use_enable jpeg libjpeg) \
- $(use_enable iconv) \
- $(use_with X x) \
- --enable-deprecated \
- --enable-experimental \
- --with-mod-path=/usr/$(get_libdir)/transcode \
- $(tc_use_enable_force sse sse mmx) \
- $(tc_use_enable_force 3dnow 3dnow mmx) \
- $(tc_use_enable_force sse2 sse2 mmx) \
- $(tc_use_enable_force sse2 sse2 sse) \
- "
-
- econf ${myconf} || die "econf failed"
-}
-
-src_install () {
- make DESTDIR="${D}" install || die "make install failed"
- rm -fr "${D}/usr/share/doc/transcode"
-
- dodoc AUTHORS ChangeLog README TODO STYLE
- dodoc docs/*
- dohtml docs/html/*
-}
diff --git a/media-video/transcode/transcode-1.1.7.ebuild b/media-video/transcode/transcode-1.1.7.ebuild
index 9a49494447c2..1e86f3635f04 100644
--- a/media-video/transcode/transcode-1.1.7.ebuild
+++ b/media-video/transcode/transcode-1.1.7.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/transcode-1.1.7.ebuild,v 1.10 2012/05/05 08:58:57 jdhore Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-video/transcode/transcode-1.1.7.ebuild,v 1.11 2012/05/17 08:42:48 scarabeus Exp $
EAPI=4
inherit eutils libtool multilib
@@ -11,7 +11,7 @@ SRC_URI="mirror://bitbucket/france/${PN}-tcforge/downloads/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="alpha amd64 ppc ppc64 ~sparc x86"
+KEYWORDS="alpha amd64 ppc ppc64 sparc x86"
IUSE="3dnow a52 aac alsa altivec dv dvd +iconv imagemagick jpeg lzo mjpeg mmx mp3 mpeg nuv ogg oss pic postproc quicktime sdl sse sse2 theora truetype v4l vorbis X x264 xml xvid"
RDEPEND="