summaryrefslogtreecommitdiff
blob: 94b9f1eb429120b2c1918deb3759cb5ab50b8df0 (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
32
33
34
35
36
37
38
39
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/gnomeradio/gnomeradio-1.8-r1.ebuild,v 1.5 2011/01/14 21:30:49 ranger Exp $

EAPI=2
GCONF_DEBUG=no
inherit eutils gnome2

DESCRIPTION="A FM-radio tuner for the GNOME desktop"
HOMEPAGE="http://projects.gnome.org/gnomeradio/"
SRC_URI="http://launchpad.net/${PN}/stable/${PV}/+download/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ~sparc x86"
IUSE="lirc"

RDEPEND=">=gnome-extra/gnome-media-2.14
	>=gnome-base/libgnomeui-2.14
	>=gnome-base/gconf-2.12
	>=gnome-base/gnome-vfs-2.12
	=media-libs/gst-plugins-base-0.10*
	lirc? ( app-misc/lirc )"
DEPEND="${RDEPEND}
	dev-util/pkgconfig
	dev-util/intltool
	sys-devel/gettext
	app-text/rarian"

pkg_setup() {
	DOCS="AUTHORS ChangeLog NEWS README* TODO"
}

src_prepare() {
	epatch "${FILESDIR}"/${P}-v4l2.patch \
		"${FILESDIR}"/${P}-crash.patch

	gnome2_src_prepare
}