summaryrefslogtreecommitdiff
blob: 1fb148ded66b2e143b547ff9f4b05906a5914bf8 (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
# Copyright 1999-2004 Gentoo Foundation
# 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.7 2004/06/24 23:41:50 agriffis 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 xinerama"
KEYWORDS="x86 amd64 ~ppc ~sparc"

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"

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
}