summaryrefslogtreecommitdiff
blob: b8ef6f469f9883015ba03f9faad15fca588192ad (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/xmms-cdread/xmms-cdread-0.14a-r2.ebuild,v 1.4 2005/09/14 05:45:23 agriffis Exp $

IUSE=""

inherit gnuconfig eutils

DESCRIPTION="XMMS plugin to read audio cdroms as data"
HOMEPAGE="ftp://mud.stack.nl/pub/OuterSpace/willem/"
SRC_URI="ftp://mud.stack.nl/pub/OuterSpace/willem/${P}.tar.gz"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="alpha amd64 ia64 ppc ppc64 sparc x86"

DEPEND=">=media-sound/xmms-1.2.8"

src_unpack () {
	unpack ${A} && cd ${S} || die

	# Patch to make this plugin compatible with xmms-1.2.8
	epatch ${FILESDIR}/${P}-xmms-1.2.8.patch

	# The following patch is particularly for ppc but should apply
	# cleanly for all arches (it's #ifdef'd inside the patch)
	epatch ${FILESDIR}/endian.patch

	# Recognize newer arches
	gnuconfig_update || die
}

src_install () {
	exeinto `xmms-config --input-plugin-dir`
	doexe .libs/libcdread.so || die
	dodoc AUTHORS README ChangeLog NEWS TODO
}