summaryrefslogtreecommitdiff
blob: d4c7e2adc372ebc528e81aaeabaeab97e52e6b51 (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
46
47
48
49
50
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-imms/xmms-imms-1.2a.ebuild,v 1.1 2004/09/13 02:41:56 eradicator Exp $

IUSE="oggvorbis"

inherit eutils

MY_P=${P/xmms-/}

DESCRIPTION="intelligent XMMS playlist plug-in that tracks your listening patterns and dynamically adapts to your taste"
HOMEPAGE="http://www.luminal.org/phpwiki/index.php/IMMS"
SRC_URI="mirror://sourceforge/imms/${MY_P}.tar.bz2"

LICENSE="GPL-2"
SLOT="0"
# ~ppc ~sparc: Need to add sqlite-3* to ~arch first...
KEYWORDS="~x86 ~amd64"

RDEPEND="=dev-db/sqlite-3*
 	media-sound/xmms
	>=media-libs/taglib-1.1
	>=dev-libs/libpcre-4.3
	=dev-libs/fftw-3*
	media-sound/sox"

DEPEND="${RDEPEND}
	>=sys-devel/autoconf-2.5
	>=sys-apps/sed-4.0.7"

S=${WORKDIR}/${MY_P}

src_unpack() {
	unpack ${A}

	cd ${S}

	export WANT_AUTOCONF=2.5
	autoheader || die
	autoconf || die
}

src_install () {
	dobin build/immsremote || die
	dobin build/immstool || die
	dobin build/analyzer || die
	exeinto "`xmms-config --general-plugin-dir`"
	doexe build/libimms.so || die
	dodoc INSTALL LICENSE README
}