summaryrefslogtreecommitdiff
blob: 9afcb3c0973227a9ef4e1127fd602667e25cc2db (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
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/banshee-mirage/banshee-mirage-0.5.0.ebuild,v 1.3 2009/10/03 09:38:07 maekke Exp $

EAPI=2

inherit mono

MY_PN="mirage"
MY_P="${MY_PN}-${PV}"

DESCRIPTION="Automatic Playlist Generation Extension for Banshee"
HOMEPAGE="http://hop.at/mirage/"
SRC_URI="http://hop.at/${MY_PN}/download/${MY_P}.tar.gz"

LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE=""

RDEPEND=">=media-sound/banshee-1.4
	sci-libs/fftw:3.0
	dev-db/sqlite:3
	dev-libs/glib:2
	media-libs/libsamplerate
	>=dev-dotnet/gtk-sharp-2.10"
DEPEND="${RDEPEND}
	dev-util/pkgconfig
	!media-gfx/mirage"

S=${WORKDIR}/${MY_P}

src_configure() {
	econf --disable-static
}

src_install() {
	emake DESTDIR="${D}" install || die "installation failed"
	dodoc ChangeLog README || die
	find "${D}" -name '*.la' -exec rm -rf '{}' '+' || die "la removal failed"
}