summaryrefslogtreecommitdiff
blob: 48358f0d02c2bb63c6c355c69f61ed2f35a85eeb (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
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: Exp $

GCONF_DEBUG=no

inherit gnome2

DESCRIPTION="MPlayer GUI for GNOME Desktop Environment"
HOMEPAGE="http://code.google.com/p/gnome-mplayer"
SRC_URI="http://${PN}.googlecode.com/files/${P}.tar.gz"

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

RDEPEND=">=x11-libs/gtk+-2.12
	>=dev-libs/glib-2.14
	dev-libs/dbus-glib
	>=gnome-base/gconf-2
	media-video/mplayer"
DEPEND="${RDEPEND}
	dev-util/pkgconfig
	sys-devel/gettext"

src_install() {
	addpredict "$(unset HOME; echo ~)/.gconf"
	gnome2_src_install
	# Install documentation by hand because it tries to install 0 byte size
	# files, with COPYING and INSTALL.
	rm -rf "${D}"/usr/share/doc/${PN}
	dodoc ChangeLog README DOCS/{.,tech}/*.txt
}