summaryrefslogtreecommitdiff
blob: ab1ca3c6b3833bf9e002030afda970bef545e2b8 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/bmp-infopipe/bmp-infopipe-1.3.ebuild,v 1.9 2005/09/15 11:33:47 agriffis Exp $

inherit eutils
IUSE=""

MY_P=${P/bmp-/xmms-}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Publish information about currently playing song in BMP to a temp file"
SRC_URI="http://www.beastwithin.org/users/wwwwolf/code/xmms/${MY_P}.tar.gz http://www.beastwithin.org/users/wwwwolf/code/xmms/${MY_P}-for-beepmp.patch.gz"
HOMEPAGE="http://www.beastwithin.org/users/wwwwolf/code/xmms/infopipe.html"

SLOT="0"
LICENSE="GPL-2"
KEYWORDS="alpha ~amd64 ~ppc ppc64 x86"

DEPEND="media-sound/beep-media-player"

src_unpack() {
	unpack ${A}
	cd ${S}

	epatch ${WORKDIR}/${MY_P}-for-beepmp.patch
	epatch ${FILESDIR}/${PV}-includes.patch

	ebegin "Rebuilding configure script (this will take a while)"
	WANT_AUTOMAKE=1.6 WANT_AUTOCONF=2.5 autoreconf -i -f
	eend
}

src_install () {
	exeinto `beep-config --general-plugin-dir`
	doexe ${S}/src/.libs/libinfopipe.so
	dodoc AUTHORS ChangeLog NEWS README
}