summaryrefslogtreecommitdiff
blob: 0cb7bf82fd232aad536574269f24c458801eb772 (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
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/media-plugins/xmms-oss/xmms-oss-1.2.10.ebuild,v 1.2 2005/02/28 10:42:53 eradicator Exp $

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

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

PLUGIN_PATH="Output/OSS"

M4_VER="1.0"

inherit xmms-plugin

src_compile() {
	if [ -e /dev/sound ]; then
		myconf="--with-dev-dsp=/dev/sound/dsp \
		        --with-dev-mixer=/dev/sound/mixer"
	fi

	myconf="${myconf} --enable-oss"
	xmms-plugin_src_compile
}