# Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 inherit mythtv-plugins flag-o-matic toolchain-funcs eutils DESCRIPTION="Show archive (DVD burning) module for MythTV." HOMEPAGE="http://www.mythtv.org/" # FIX ME: THIS LOCATION DOES NOT CONTAIN MYTHARCHIVE! # (It's not in mythplugins-0.19) SRC_URI="http://www.mythtv.org/mc/mythplugins-${PV}.tar.bz2" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~ppc ~x86" # Does it really need use flags? IUSE="tcrequant" #Requirements as specified on http://www.mythtv.org/wiki/index.php/MythArchive # Python - v2.3.5 or later # mysqldb module for python (dev-python/mysql-python on Gentoo) # imaging (PIL) module for python (dev-python/imaging on Gentoo) # mjpegtools - v 1.6.2 or later # dvdauthor - v 0.6.11 # ffmpeg - v 0.4.9 # dvd+rw-tools - v5.21.4.10.8 # cdrtools - v2.01 # transcode (optional only need for tcrequant) RDEPEND=">=dev-lang/python-2.3.5 >=dev-python/mysql-python-1.2.0 >=dev-python/imaging-1.1.5 >=media-video/mjpegtools-1.8.0 >=media-video/dvdauthor-0.6.11 >=media-video/ffmpeg-0.4.9 >=app-cdr/dvd+rw-tools-5.21.4.10.8 >=app-cdr/cdrtools-2.01 tcrequant? ( >=media-video/transcode-1.0.2 )" DEPEND="${RDEPEND}" src_unpack() { if [[ $(gcc-version) = "3.2" || $(gcc-version) == "3.3" ]]; then replace-cpu-flags pentium4 pentium3 fi mythtv-plugins_src_unpack || die "unpack failed" } MTVCONF="$(use_enable tcrequant)"