summaryrefslogtreecommitdiff
blob: fd58c303ae5731c1be790f77192351b09e67ad20 (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
44
45
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-kde/xmms-kde-3.1_beta1.ebuild,v 1.4 2004/03/31 17:43:33 eradicator Exp $

inherit kde-base eutils

DESCRIPTION="xmms-kde is a MP3 player integrated into the KDE panel. It can also be used to control XMMS and Noatun from the panel."
HOMEPAGE="http://xmms-kde.sourceforge.net/"
IUSE="xmms sdl"
KEYWORDS="x86 ~amd64 ~ppc ~sparc ~amd64"

MY_P=${P/_/}
S=${WORKDIR}/${MY_P}
SRC_URI="mirror://sourceforge/xmms-kde/${MY_P}.tar.gz"
RESTRICT="nomirror"
LICENSE="GPL-2"

DEPEND="xmms? >=media-sound/xmms-1.2.7-r23
	sdl? >=media-libs/smpeg-0.4.4-r4
	sys-devel/autoconf"
#RDEPEND=""

need-kde 3.1

# I don't think we need to slot this...
# SLOT="${KDEMAJORVER}.${KDEMINORVER}"

src_unpack() {
	kde_src_unpack
	epatch ${FILESDIR}/${P}-libsuffix-fix.patch
	aclocal
	autoconf
}

src_compile() {
	myconf="--enable-final --disable-libsuffix --disable-gtk-test `use_enable xinerama`"

	kde_src_compile
}

src_install() {
	kde_src_install

	dodoc MISSING VERSION
}