summaryrefslogtreecommitdiff
blob: 3d6f323a320403c4f728c3d531db84730c97ea83 (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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-musepack/xmms-musepack-1.1_alpha9.ebuild,v 1.1 2004/09/24 10:14:06 eradicator Exp $

IUSE=""

MY_P="${P/_alpha/-alpha}"
S="${WORKDIR}/${MY_P}"

DESCRIPTION="XMMS plugin to play audio files encoded with Andree Buschmann's encoder Musepack (mpc, mp+, mpp)"
HOMEPAGE="http://www.musepack.net"
SRC_URI="http://www.musepack.net/downloads/linux/plugins/${MY_P}.tar.bz2"

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

DEPEND="media-sound/xmms
	media-libs/libmusepack"

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

	sed -i 's:-O2 -march=i686 -pipe:${CFLAGS}:g' Makefile
}

src_compile() {
	emake || die "make failed"
}

src_install() {
	exeinto `xmms-config --input-plugin-dir`
	doexe libmpc.so
	dodoc README
}