summaryrefslogtreecommitdiff
blob: b63f29378073da3879f754e3096fd0f7a91c5d55 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-video/kmplayer/kmplayer-0.8.4_rc5.ebuild,v 1.2 2005/01/08 00:57:14 carlo Exp $

inherit kde eutils

MY_P="${P/_rc/-rc}"
S=${WORKDIR}/${MY_P}

DESCRIPTION="MPlayer frontend for KDE"
HOMEPAGE="http://www.xs4all.nl/~jjvrieze/kmplayer.html"
SRC_URI="http://www.xs4all.nl/~jjvrieze/${MY_P}.tar.bz2"

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

# Removed koffice plugin, since compilation fails and its not supported upstream.
DEPEND=">=media-video/mplayer-0.90
	xine? ( >=media-libs/xine-lib-1_beta12 )
	gstreamer? ( >=media-libs/gst-plugins-0.8.7 )"
need-kde 3.1

src_unpack(){
	kde_src_unpack
	epatch ${FILESDIR}/xine.diff
	rm -f $S/configure
}
src_compile(){
	local myconf="$(use_with gstreamer) $(use_with xine)"
	kde_src_compile
}