# Copyright 1999-2005 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.wikia.com/" SRC_URI="mirror://sourceforge/tovid/${P}.tar.gz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~x86 ~amd64" RESTRICT="nomirror" IUSE="" DEPEND="app-text/txt2tags" 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 dev-python/imaging" pkg_setup(){ if !(built_with_use media-video/mplayer encode); then eerror "Please emerge mplayer with useflag 'encode' enabled." die fi } src_unpack(){ unpack ${A} cd ${S} epatch "${FILESDIR}/${PN}-${PV}-configure.patch" } src_compile(){ econf --prefix=/usr/local } src_install() { einfo "${D}" make DESTDIR="${D}" install || die #make install || die } pkg_postinst() { einfo "" einfo "List of suite components:" 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 " pymakexml: Creates XML specification for an (S)VCD or DVD navigation hierarchy. Implemented in Python" einfo " makedvd: Creates the DVD structure and/or iso image" einfo " makevcd: Creates the (Super-)VCD 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.wikia.com/" einfo "" einfo "If you want to use the new version todiscgui, you have to make sure you emerged dev-lang/python with USE-Flag 'tk' enabled!" }