summaryrefslogtreecommitdiff
blob: f6da8b06e2df50a8ae30d887c7883c676abb45a2 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-esd/xmms-esd-1.2.10-r1.ebuild,v 1.6 2005/03/19 19:40:52 kloeri Exp $

SLOT="0"
KEYWORDS="alpha amd64 arm hppa ia64 ~mips ~ppc ~ppc64 sparc x86"
IUSE="oss"

DEPEND=">=media-sound/xmms-1.2.10
	>=media-sound/esound-0.2.22"

PATCH_VER="2.2.2"

PLUGIN_PATH="Output/esd"

M4_VER="1.1"

inherit xmms-plugin

src_unpack() {
	xmms-plugin_src_unpack

	cd ${S}/${PLUGIN_PATH}
	cp ../OSS/soundcard.h .

	sed -i 's:<Output/OSS/soundcard.h>:"soundcard.h":' *.{h,c}
}

src_compile() {
	myconf="--enable-esd $(use_enable oss)"
	xmms-plugin_src_compile
}