summaryrefslogtreecommitdiff
blob: b75916439d57f211015e2d1cb45aa0bb9d1bf21e (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-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-sound/decibel-audio-player/decibel-audio-player-1.00.ebuild,v 1.6 2009/07/19 15:19:51 nixnut Exp $

DESCRIPTION="A GTK+ audio player which aims at being very straightforward to use."
HOMEPAGE="http://decibel.silent-blade.org"
SRC_URI="http://decibel.silent-blade.org/uploads/Main/${P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc ppc64 ~sparc x86"
IUSE="aac cdaudio gnome-keyring libnotify musepack"

RDEPEND="media-libs/mutagen
		dev-python/dbus-python
		dev-python/gnome-python
		dev-python/gst-python
		>=media-plugins/gst-plugins-meta-0.10-r2
		aac? ( media-plugins/gst-plugins-faad )
		cdaudio? ( || ( media-plugins/gst-plugins-cdio
				media-plugins/gst-plugins-cdparanoia )
					dev-python/cddb-py )
		gnome-keyring? ( dev-python/gnome-keyring-python )
		libnotify? ( dev-python/notify-python )
		musepack? ( media-plugins/gst-plugins-musepack )"

DEPEND="sys-devel/gettext"

src_install() {
	emake DESTDIR="${D}" prefix=/usr \
	install || die "emake install failed"
	dodoc doc/ChangeLog || die "dodoc failed"
}

pkg_postinst() {
	elog "Please read the Decibel guide at"
	elog "http://www.gentoo.org/proj/en/desktop/sound/decibel.xml; it contains"
	elog "information on how to enable various features and audio formats."
}