summaryrefslogtreecommitdiff
blob: e0eb26168bdf1846e9fe926d5630af557338a874 (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
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-wma/xmms-wma-1.0.3.ebuild,v 1.4 2004/07/11 04:03:16 eradicator Exp $

IUSE=""

inherit eutils

DESCRIPTION="XMMS plugin to play wma"
HOMEPAGE="http://mcmcc.bat.ru/xmms-wma/"
SRC_URI="http://mcmcc.bat.ru/xmms-wma/${P}.tar.bz2"

SLOT="0"
LICENSE="GPL-2"

#~amd64: 1.0.3: Plays a little staticy, x86 is clear... both with 
#               media-video/ffmpeg-0.4.8.20040322-r1

KEYWORDS="~x86 ~amd64"

DEPEND="media-sound/xmms
	>=media-video/ffmpeg-0.4.8.20040322-r1"

src_unpack() {
	unpack ${A}
	cd ${S}
	epatch ${FILESDIR}/${P}-ffmpeg.patch
}

src_compile () {
	emake || die
}

src_install () {
	exeinto `xmms-config --input-plugin-dir`
	doexe libwma.so
	dodoc readme.rus readme.eng
}