summaryrefslogtreecommitdiff
blob: 6d3bb63dec0923087e713192b16d8cc94952bd82 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythvideo/mythvideo-0.19.ebuild,v 1.6 2006/10/26 16:13:08 beandog Exp $

inherit eutils mythtv-plugins

DESCRIPTION="Video player module for MythTV."
IUSE="mplayer xine"
KEYWORDS="~amd64 ppc ~x86"

RDEPEND="dev-perl/libwww-perl
	dev-perl/HTML-Parser
	dev-perl/URI
	dev-perl/XML-Simple
	mplayer? ( media-video/mplayer )
	xine? ( media-video/xine-ui )"
DEPEND="${RDEPEND}"

src_unpack() {
	mythtv-plugins_src_unpack
	epatch "${FILESDIR}"/${P}-gcc41.patch
}

pkg_postinst() {
	einfo "MythVideo can use any media player to playback files, since"
	einfo "it's a setting in the setup menu."
	einfo
	einfo "MythTv also has an 'Internal' player you can use, though"
	einfo "it will not support as many formats.  If you want to use it,"
	einfo "set the player to 'Internal' (note spelling)."
}