summaryrefslogtreecommitdiff
blob: 85e2ea4783cf98ee634d023ad0306640b10426f5 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/mythgallery/mythgallery-0.17.ebuild,v 1.1 2005/02/11 15:59:16 cardoe Exp $

inherit myth

DESCRIPTION="Gallery and slideshow module for MythTV."
HOMEPAGE="http://www.mythtv.org/"
SRC_URI="http://www.mythtv.org/mc/${P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="opengl"

DEPEND=">=sys-apps/sed-4
	opengl? ( virtual/opengl )
	media-libs/tiff
	|| ( ~media-tv/mythtv-${PV} ~media-tv/mythfrontend-${PV} )"

setup_pro() {
	return 0
}

src_compile() {
	econf `use_enable opengl` || die "enabling opengl failed"

	myth_src_compile || die "compile failed"
}