summaryrefslogtreecommitdiff
blob: 8f79ae1cb85f5c885a0530f617564768acedf9dc (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
40
41
42
43
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/whaawmp/whaawmp-0.2.10.1.ebuild,v 1.2 2009/02/18 07:21:38 yngwin Exp $

inherit distutils

DESCRIPTION="Whaaw! Media Player is a lightweight audio/video player"
HOMEPAGE="http://gna.org/projects/whaawmp"
SRC_URI="http://download.gna.org/${PN}/${PV}/${P}.tar.bz2"

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

# Upstream requires gst-plugins-good as a minimum
# Depending on the desired video (and audio) playback support, users will need
# to set USE flags for the -meta ebuild, as everything it supports can be used,
# like DVD playback, especially. No support yet for audio CDs, but I'm kinda
# working with upstream to add such features.
RDEPEND=">=dev-lang/python-2.5
	dev-python/gst-python
	dev-python/pyxdg
	media-libs/gst-plugins-good
	media-plugins/gst-plugins-meta
	dbus? ( dev-python/dbus-python )"

DEPEND="dev-util/intltool
	sys-devel/gettext"

distutils_src_unpack() {
	unpack ${A}
	cd "${S}"
	ln -s make.py setup.py
}

pkg_postinst() {
	elog "Depending on the audio/video playback capabilities"
	elog "you want, you'll need to set appropriate USE flags"
	elog "for media-libs/gst-plugins-good and"
	elog "media-plugins/gst-plugins-meta in /etc/portage/package.use"
	elog ""
}