# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ inherit eutils DESCRIPTION="Video conversion and DVD authoring tools" HOMEPAGE="http://tovid.org/" SRC_URI="mirror://sourceforge/tovid/${P}.tar.gz" IUSE="" DEPEND="" RDEPEND="media-video/mplayer media-video/mjpegtools media-video/ffmpeg media-video/transcode media-sound/normalize media-gfx/imagemagick media-sound/sox media-video/dvdauthor media-video/vcdimager media-video/lsdvd virtual/cdrtools >=dev-python/wxpython-2.6 app-cdr/dvd+rw-tools app-cdr/cdrdao" KEYWORDS="~x86 ~amd64" LICENSE="GPL-2" RESTRICT="nomirror" SLOT="0" pkg_setup() { if !(built_with_use media-video/mplayer encode); then eerror "Please merge mplayer with useflag 'encode'." die fi } src_compile() { econf || die } src_install() { make DESTDIR=${D} install || die } pkg_postinst() { einfo "" einfo "List of suite components:" einfo " dvrequant: Shrinks and re-authors titles from existing DVDs" einfo " idvid: Identifies video format, resolution, and length" einfo " makemenu: Creates (S)VCD/DVD menus" einfo " makeslides: Creates mpeg still slides for (S)VCD" einfo " makexml: Creates XML specification for an (S)VCD or DVD navigation hierarchy" einfo " makedvd: Creates the DVD structure and/or iso image" einfo " postproc: Adjusts A/V sync and does shrinking of encoded video" einfo " tovid: Converts video to (S)VCD or DVD mpeg format" einfo " tovidgui: The tovid GUI" einfo " pytovid: The new (experimental) python based tovid script" einfo " todisc: Create a DVD with animated menus" einfo " todiscgui: Experimental gui for todisc" einfo "" einfo "Please check out the tovid documentation on the web:" einfo " http://tovid.org" einfo "" }