# 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.8 2006/03/14 23:55:10 flameeyes 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 ) 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 ) >=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 ) ) " DEPEND="${RDEPEND} v4l2? ( >=sys-kernel/linux-headers-2.6.11 ) X? ( || ( x11-proto/xextproto virtual/x11 ) )" pkg_setup() { if use X && has_version '